Re: [Exim] transport filters in mail gateway

Top Page
Delete this message
Reply to this message
Author: bhoc
Date:  
To: Tamas TEVESZ
CC: exim-users
Subject: Re: [Exim] transport filters in mail gateway
> set up two transports, one having transport_filter, the other not,
> otherwise being the same ?


...dang! Why has this to be soo simple? I was probably looking far too
far...sendmail heritage...

for other people's reference, here's the extract from exim.conf:

(...)
# Transports

# outgoing mail:
remote_smtp:
driver = smtp

# incoming mail
local_smtp:
driver = smtp
transport_filter = "/usr/sbin/renattach -g -s"

(...)

# Routers

localdomains:
driver = domainlist
transport = local_smtp
route_list = mydomain.org;mydomain.net 192.168.1.12 byname

lookuphost:
driver = lookuphost
transport = remote_smtp

(...)

Thanks, Ben

PS: renattach can be found in http://www.pc-tools.net/linux/. It renames
mail attachments - simple but effective.