Re: [Exim] E-mail forwarding confusion

Top Page
Delete this message
Reply to this message
Author: Tor Slettnes
Date:  
To: Odhiambo G. Washington
CC: exim-users
Subject: Re: [Exim] E-mail forwarding confusion
On Jun 3, 2004, at 07:31, Odhiambo G. Washington wrote:

> deny  message        = Suspected spoofed the sender address. Please
> use \
>                        smtp authentication to send e-mail.
>       !hosts         = +relay_from_hosts
>       !authenticated = *
>       sender_domains = wananchi.com : [62.8.64.4] : [212.49.74.4]

>
>
> I suspect I am wrong here, but I don't like the idea of e-mails having
> @wananchi.com coming from servers other than 62.8.64.4 or 212.49.74.4
> as I have received those severally.


The above will block unauthenticated deliveries with sender domains
'wananchi.com' or '[62.8.64.4]' or '[212.49.74.4]' from anywhere,
except +relay_from_hosts.

What you _probably_ want is something along the lines of:

   deny message        = Suspected sender address spoofing. \
                         Please use SMTP authentication to send mail.
        !hosts         = +relay_from_hosts : 62.8.64.4 : 62.8.64.2 :
212.49.74.4
        !authenticated = *
        sender_domains = wananchi.com



Note that I added one IP address to your list; that of your secondary
MX.

-tor