logs archiveIRC Archive / Freenode / #exim / 2010 / March / 5 / 1
horstbox
hi, i fetch mails with fetchmail to my local network. on the server i deliver them to the users. works great. mails in my localnetwork to mydomain.com get deliverd on the server. now i have an external user who wants his emails on my providers webmail system. so i want that someuser@mydomain.com wont get delivered local. exim should deliver it through smarthost. is this possible?
zoRcx
hello, i have just a quick question: i have an exim server on debian configured to work with spamassasin. i have also a transport, named: 30_exim4-config_spamdelete. now i dont want all the spam to be deleted, but moved to another inbox. can you give me a hint, on where to find a transport, that will achieve that for me?
petemc
sounds more like a job for a router
zoRcx
ok,
phx
cisco or freebsd router?
petemc
juniper
so thats freebsd, isnt it?
phx
mostly, yes
i like freebsd
zoRcx
ok, and where can i find a router template for sa
phx
let me help ya
i've got SA scoring the mails, and instead of rejecting them, i'm using fakereject, after this i'm putting highscore ones to Junk, else goes to inbox
zoRcx, http://pastebin.ca/index.php
it's kinda trivial
         

horstbox
how to route some email when there is no local user to smarthost?
petemc
put the smarthost router after the local user router
horstbox
ok, but i think in debian this would bring some troubles
mastamind
hi. are the "files" in */scan/* symbolic links?
zoRcx
phx, there's nothing in your pastebin
phx
oh sh*t
it hasn't redirected
http://pastebin.ca/1823669
check this
sorry, some pastebins don't redirect automaticly to the made post
zoRcx
if i have a splitt setup, than the firs one is
phx: that looks very promising, gonna give it a try ...
phx
the first one is the first one - http://xkcd.com/703/
zoRcx
directory = /var/mail/virtual/${lc:$domain}/${lc:$local_part}/Maildir/.Junk/ --> will the directory be created automatically?
phx
yup
zoRcx
cool
phx
that's just how me sorting mails for virtual users
i mean, the domain/localpart part
zoRcx
yes, i understand. in my case, all the exim users are real users on the system (via ldap ...) but their mail folders have the path: /srv/mail/$domain/Maildir/$localpart
phx
it's just a matter of disk organization
and i think the real/virtual user definition is just a matter of authentication source in case of exim
zoRcx
yes, i try to administer a system i didn't install.
phx
exim is quite easy, just read the docs a few times and you'll be OK with it
it's like a swiss army knife for MTAs
zoRcx
ok
mastamind
i wrote a patch for exim and clamav. where should i send it?
phx
cool i got my SFP for the356G :)
3560G
petemc_
mastamind: theres an exim-dev list
         

zoRcx
so just to be sure: in my split setup, the first lines of your paste go to conf.d/acl/something_acl_data right?
mastamind
petemc_: ok. thx
phx
zoRcx, i've got everything in /usr/local/etc/exim/configure
zoRcx, and it's a data ACL, right
zoRcx, but you might already have the SA rules, check for them
zoRcx
yes, i have some, at the and of my acl_sate there is an "accept"
${if >{$spam_score_int}{35}{1}{0}} what's that?
condition = ${if >{$spam_score_int}{35}{1}{0}}
i mean
phx
if $spam_score_int > 35 then 1 else 0
read that as 3.5
zoRcx
ok,
so i have to change the score there, when i want to tune the setup?
or can i just make it Spam Yes|No and tweak in spamassasin?
i also found a transport spamdelete:
spamdelete:
driver = appendfile
file = /dev/null
should i remove that phx?
and who is user mailnull?
is it the user, exim runs as?
phx
mailnull is my mail storage UID/GID
zoRcx
?
i dont understand
phx
i don't have real users, all the mails are stored with a general UID
zoRcx
ok
so in my case it's vmail
?
phx
can be, dunno your setup
zoRcx
phx, it does not workhe did not add Spam Headers, can i pastebin you my acl_data?
phx
you can, but i've got a bit of work to do
zoRcx
ok
phx
and it's 3 o clock, in 90m it'll be 6pm (pub o'clock)
zoRcx
http://pastebin.ca/1823742
phx
i don't know what does "deamon" mean for spam=
henk
username to scan as iirc
phx
well, fell free to check the docs :)
zoRcx
the deny, does it mean, that the mail ends here, and will not be passed on to the routers and transports?
henk
nah, gotta do a network diagram... due to the lack of alternatives with xfig or dia it seems...
phx
yup, deny terminates
zoRcx, read the docs
zoRcx
ok, sorry and thx alot phx, i'll read it
phx
zoRcx, no offense, exim has better than excellent docs
zoRcx, got it?
zoRcx
it takes time ;-)
a question regarding the config syntax:
condition = ${if > {$spam_score_int}{28}{1}{0}} --> means if $spam_score_int > 28 return 1; else return 0; ?
can anyon give me a condition string for: the Header:X-Spam-Status: Yes ?
rvh
I use exim4.conf.template in debian - have many domains - how to include dc_other_hostnames file
and can I do the same in update-exim4.conf.conf
zoRcx
co exit
rvh
actuall I meant domainlist cyrus_domains in the exim4.conf.template file
zoRcx
ok, time to finish my exim-spammassasin-friday. thx again phx !
rvh
Oops, never mind - just asked the wrong question in google