logs archiveIRC Archive / Freenode / #exim / 2010 / May / 3 / 1
emk
Hi all. I've installed exim-sa-exim port on FreeBSD and configured the /usr/local/etc/exim/configure file (sa-exim.conf is in the same directory)... Now, how do I enable spam checking on local_scan??
henk
you change your config of course :)
check the docs for details...
emk
Which docs? I've read through http://marc.merlins.org/linux/exim/files/sa-exim.conf and the example exim4.conf... there is no mention of enabling it... Do I just add standard exim configure rules to the sa-exim.conf and rename to configure?
that should have been rename the file to "configure"... in FreeBSD exims conf file is /usr/local/etc/configure (not exim.conf etc).
henk
emk: the ones on exim.org
phx
emk, i suggest not using the local_scan feature (sa-exim), because exim has sa-spamd support builtin anyway
emk, if you'd like to, i can pastebin the relevant parts of my config for this
emk
phx: please do... that would be a great help.
phx
a moment
http://pastebin.com/qccnwCWJ
and i later route the message differently based on spamscore
if it's higher than the one in the acl, i move it to the .Junk folder, otherwise it gets delivered to the inbox
so the spammer gets rejectes if it's a spam, and because it's a fakereject, the message will be also available in the .Junk folder
emk
phx: Thanks...
phx
yw
oh and it's SMTP-time scanning
         

emk
phx: so is doing it on the acl_check_data different from doing sa-exim on local_scan?
phx
emk, yes, somewhat. doing it this way doesn't require the sa-exim patch
in my opinion sa-exim was a workaround for this from the time when exim didn't have this feature built in
emk
phx: big problem I added that to my configure with the change of sock -> vim /usr/local/etc/exim/configure
phx: sorry.. I changed sock to /var/run/spamd/spamd.pid
phx: I'm following reject.log and Now it seems even legitimate mail is being rejeted.
phx
no sh*t
it's a PEBKAC
just check what you did and try a bit of thinking
HINT: it expects a socket(UDS) for spamd, and you gave it the pidfile, a regular file
emk
phx: got it... thanks for the help. I'll actually think through the problem this time.
phx
i've got a mail quarantined by amavis, and i need the attachment of it. how can i extract that in commandline?
solved it
henk
phx: how? if it's not too long to explain :)
phx
it was base64 encoded
i copy-pasted the b64 attachment to a filed, and base64 -d solved it
henk
thanks
nze
hi, i'm trying to use exim4 together with the dovecot-antispam plugin. my users are virtual users on a local ldap, thus they don't have (system-)valid uids. dovecot seems to call exim with the uid that it gets from imap authentication (eg 5001) which causes the exim error "Failed to get user name for uid 5001"
how can i keep exim from trying to look up that uid?
btw, i get the same error msg if i run sth like "sudo -u \#5001 sendmail ham"
next »