Re: [exim] Q: Block Incoming mail to root@xxxx

Top Page
Delete this message
Reply to this message
Author: John Burnham
Date:  
To: exim-users
Subject: Re: [exim] Q: Block Incoming mail to root@xxxx

> > I am getting spam coming to root on my mail server. I can't
> > figure out how to configure Exim to block mail coming in from
> > the Internet addressed to root, but allow my server to send
> > internal messages to root.
> >
> > Any ideas?
> >
>
> deny local_parts = root
>      message = We don't accept mail to root@wherever

>
> somewhere early on in your smtp_rcpt acl ?


Argh... but of course after you've accepted mail from your local machine. That's
usually taken care of with the

accept hosts = :

which accepts mail over local smtp (not over tcp/ip).

J