Exim
From CLUG Wiki
Contents |
Gotchas
Always remember to turn off ident callouts, as they have no place in the modern world
rfc1413_query_timeout = 0s
In debian, this is located in /etc/exim4/conf.d/main/02_exim4-config_options
Anti-SPAM
Anti-Virus
Debian
sh# mkdir /etc/exim4/local.d/
sh# cat > /etc/exim4/local.d/clamav
# Unpack MIME containers and reject file extensions
# used by worms. Note that the extension list may be
# incomplete.
deny message = $found_extension files are not accepted here. They tend to be dodgy...
demime = com:vbs:bat:pif:scr
# Reject messages that have serious MIME errors.
# This calls the demime condition again, but it
# will return cached results.
deny message = Serious MIME defect detected ($demime_reason). I won't accept that sort of message...
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
# Reject messages containing malware.
deny message = This message contains malware ($malware_name). We don't do that kind of stuff...
demime = *
malware = *
- Set
CHECK_DATA_LOCAL_ACL_FILEto/etc/exim4/local.d/clamavinconf.d/main/05_clamav
How to get the vacation driver to work
vacation:
driver = accept check_local_user require_files = $home/.vacation.msg transport = vacation_transport unseen
vacation_transport:
driver = autoreply
file = $home/.vacation.msg
file_expand
from = $local_part@$domain
to = $sender_address
subject = Re: Out of office auto-reply [$local_part@$domain]
