Re: exim reject most of a domain
On Mon, Oct 28, 2002 at 07:44:52PM +0000, Alan Chandler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 28 October 2002 7:21 pm, Michael West wrote:
> > How would I configure exim to reject most of a domain?
> >
> > I have read the exim spec on host_reject, sender_reject,
> > host_reject_recipients etc, but am not sure.
> >
> > If I want to reject all mail from aol except for mail from one
> > account I think it might be:
> >
> > sender_reject ! niceperson@aol.com : aol.com
> >
> > Does this look right? How do I test it?
>
> ?
>
> exim -bt -f niceperson@aol.com
This appears to be the right way to test it.
But I cannot get exim to reject anyone, even with:
sender_reject = *
and host_reject does not offer localpart control. I have been through
the manpage and the exim spec and can figure this out.
More help would be helpful.
Thanks,
Michael
Reply to: