Re: [exim] Relaying by email address

Página Inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
Para: 'Exim-users'
Assunto: Re: [exim] Relaying by email address
Gareth.Segree@??? wrote:

> My internet domain is mail1.com and I want incoming mail to specific email
> addresses from mail1.com to be relayed to mail2.com


begin routers

mail2:
driver = manualroute
transport = remote_smtp
domains = mail1.com
local_parts = /path/to/users/for/mail2
route_data = mailserver.mail2.com

assuming that all "specific email addresses" are @mail2.com. If they are
not, you have to use a condition with lsearch $local_part@$domain.

> and the headers rewritten to say mail2.com


http://exim.org/exim-html-4.50/doc/html/spec_31.html