Deny only a few local users

Jason Balicki kodak at FRONTIERHOMEMORTGAGE.COM
Wed Sep 24 16:24:40 IST 2003


>
>Anyone has an idea for postfix?

There should be a sample access file included in your
/etc/postfix directory (incoming postfix, of course,
whatever you've named it.  I used /etc/postfix.in,
so I'll use that for example).

In /etc/postfix.in/access add:

user at domain.tld REJECT 550: some reason here

then run: postmap /etc/postfix.in/access

And you'll start rejecting mail to user at domain.tld.

You can use this for IP, or domain.  Do "man 5 access" for
more information.

--J(K)



More information about the MailScanner mailing list