Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Sven Juergensen (s.juergensenkielnet.de)
Date: Thu Apr 05 2007 - 07:16:30 CDT
for some reason my idea doesn't appear to be working.
I'm trying to seperate access to the mailserver
by defining two IP blocks as seen in sender_access.
If client 220.127.116.11 connects to the mailserver, the
'restrictive' class is supposed to kick in and
check the 'from:' in the MAIL FROM envelope part
of the smtp dialogue. If it's any user from domain.tld
then permit and exit successfully; not following
any other statements of the list.
Now, if the 'from:' yields anything else, it
*should* generate a reject_warning in the logs.
Well, it doesn't ;) What am i missing here?
Thanks in advance,
smtpd_restriction_classes = restrictive, permissive
Martin Schmitt wrote:
> Sven Juergensen schrieb:
>> Can anyone toss me a bone?
> Here you go: http://www.postfix.org/RESTRICTION_CLASS_README.html