Re: [Exim] Relaying on SMTP Headers

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Nigel Metheringham
Fecha:  
A: Felix Kronlage
Cc: David Harrigan, exim-users
Asunto: Re: [Exim] Relaying on SMTP Headers
On Mon, Oct 09, 2000 at 10:10:05AM +0100, David Harrigan wrote:
> Can Exim relay messages based on the contents of an SMTP header?


felix@??? said:
> You can set
> relay_domains = "some-domain.tld"
> in the config-file. But be aware, that envenlope-from can be forged
> (as someone else already stated.)


That makes exim accept messages addressed *to* anyone@???
and relay them on.

To allow relaying based on the sender address, you want
`sender_address_relay' and you may also want to set
`relay_match_host_or_sender'.

However you *really* don't want to accept messages for relay based on
sender address - if you can't use a static hostname/ip then you should
be using SMTP authentication.

You need to look at the "Verification of Incoming Mail" and "Other
policy controls on incoming mail" sections in the spec document - see
http://www.exim.org/exim-html-3.10/doc/html/spec_42.html
http://www.exim.org/exim-html-3.10/doc/html/spec_43.html

    Nigel.
-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]