Re: [exim] Is it possible to deliver locally and relay a mai…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tom Bombadil
Ημερομηνία:  
Προς: David Hartburn
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Is it possible to deliver locally and relay a mail?


David Hartburn wrote:
> Can I have all mail for one domain delivered into a single local mailbox
> and also forward that same mail onto a remote SMTP server, specified by
> IP address? Another option would be to relay the mail to two SMTP
> servers. Basically I need the mail delivering twice.


Yup.

Check 'unseen' option in the router:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html

This will fork off the message: one get processed by the current router,
and the other one goes to next router.

There's bunch of gotchas when using 'unseen' with headers_add,
headers_remove, etc... So, read the manual carefully.

Cheers,
g.