Re: [exim] Restricting SMTP access

2006-02-17 Thread Phil Pennock
On 2006-02-15 at 11:49 -, Edward Kay wrote: I want to stop any hosts that I don't explicitly allow from accessing my SMTP server. Move the problem out of the Exim configuration logic to keep things simple. If there is no legitimate reason for any server to directly contact your host (and

[exim] Restricting SMTP access

2006-02-15 Thread Edward Kay
AIM: I want to stop any hosts that I don't explicitly allow from accessing my SMTP server. BACKGROUND: --- The MX records for my domains point to an external screening/filtering service. This then relays the mail to my Exim server that contains the mailboxes. I also receive local

Re: [exim] Restricting SMTP access

2006-02-15 Thread Tim Jackson
Edward Kay wrote: I want to stop any hosts that I don't explicitly allow from accessing my SMTP server. [...] 1. I considered adding deny hosts = !+relay_hosts This is good. at the top of the check_recipient ACL (after accept hosts = : and require verify = sender). From what I can see

RE: [exim] Restricting SMTP access

2006-02-15 Thread Edward Kay
Fair enough. Can't you put the deny hosts = !+relay_hosts after these checks? I'm afraid this wouldn't help as the message would have already been accepted by accept domains = +local_domains. (The problem is spammers connect and set both the sender and recipient addresses to be in a local