Re: [Exim] Save all for domain

Top Page
Delete this message
Reply to this message
Author: Greg Ward
Date:  
To: Herman Cremer
CC: Exim
Subject: Re: [Exim] Save all for domain
On 04 October 2001, Herman Cremer said:
> I am trying to save all emails, for any user
> in 3 domains into 1 mailbox.
> The user does not need to exist.


You should be able to do this with the smartuser director. Maybe
something like this:

[in transports section]
save_mail_transport:
driver = appendfile
file = /var/mail/whatever
delivery_date_add
envelope_to_add
return_path_add

[in directors section]
save_mail:
driver = smartuser
domains = domain1.org:domain2.net:domain3.foo
transport = save_mail_transport

This is COMPLETELY untested and off the top of my head. I didn't even
check the manual. That's your job. ;-)

        Greg
-- 
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org