Re: [exim] Forcing incoming mail to be from a particular hos…

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Jim Archer
CC: exim-users
Temat: Re: [exim] Forcing incoming mail to be from a particular host on a domain name basis
On Tue, 19 Jul 2005, Jim Archer wrote:
>
> This works if the email is coming from a server other than itself. I tried
> adding 127.0.0.1, but that didn't help. If I send email to myself from my
> mail client, it gives me the error and says it won't accept email from me at
> my laptop's IP address. Anyone else who uses this machine as their outbound
> email relay will have the same trouble. I could clear a bunch of IP ranges,
> but that would leave all the SMPT AUTH users unable to send me email and
> expose these domains to SPAM and viruses from other users.


Configure your ACL to accept email from your relay_from_hosts and
authenticated users before doing MX-style accepts of your local domains.
(The default configuration file needs to be changed to do this.)

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}