[exim] Mail from localhost

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Mordur Ingolfsson
Datum:  
To: exim póstisti
Betreff: [exim] Mail from localhost
Hi,

Is there any way to route mail from localhost differently than mail from
other hosts?

I have Exim 4.63 running on Debian. The machine is primarily used as
mailing list server. The lists are in several "virtual domains", so to
have the server accept mail for the lists I add the domains to a
"local_domains" domain list in Exim.

This creates a problem. If a member of a mailing list has an address in
one of the local_domains, Exim considers the domain to be a local one
and tries to deliver it locally.

I therefore need "outgoing" mail (from localhost) to be sent by a router
to a remote_smtp transport, even if the address is in a domain that Exim
considers to be a local domain.

How can I do this?


Thanks,

Mordur Ingolfsson