Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
Date: Wed Mar 11 2009 - 11:37:43 CDT
I have Postfix 2.3.3 with amavis-new, spamassassin and clamav and am
trying to block a group of users from sending to two internal maillists
called staff and pupils.
I have two files, restricted_maillists which is in the format:
and user_permissions in the form:
I've hashed these, put them in a folder called rules in /etc/postfix and
added them to main.cf as:
smtpd_recipient_restrictions = check_recipient_access
smtpd_restriction_classes = restricted_mail_lists
restricted_mail_lists = check_sender_access
Without the last reject line entries, it complains about not having a
legitimate entry in the restrictions list and with it, users in the banned
list can send mail to the lists. Can anyone give me a poke in the right
direction please as I've been going at this all day.