OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: check_sender_access

Re: check_sender_access


Subject: Re: check_sender_access
From: Alex (cynikalcyril.vrx.net)
Date: Mon Dec 06 1999 - 10:36:14 CST


> Put the check_sender_access in the recipients restriction list, like:
>
> smtpd_recipient_restrictions =
> check_sender_access hash:/file/name
> permit_auth_destinations
> reject_unauth_destination
>
> and get rid of the other smtpd_whatever_restrictions.
>

okay i did what you said..

=<rootjade>=[/etc/postfix] # cat access
cynikalcynikal.net OK
cynikal OK
cynikal.net OK
=<rootjade>=[/etc/postfix] # postmap access
=<rootjade>=[/etc/postfix] # postfix reload
postfix-script: refreshing the Postfix mail system
=<rootjade>=[/etc/postfix] # postconf|grep restriction
smtpd_client_restrictions =
smtpd_etrn_restrictions =
smtpd_helo_restrictions =
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/access permit_auth_destinations reject_unauth_destination
smtpd_sender_restrictions =
=<rootjade>=[/etc/postfix] #

but now it's an open relay where ANYONE can relay.. not just the user in /etc/postfix/access

(this is one of the problems i originally had)..

-Alex



This archive was generated by hypermail 2b27 : Mon Dec 06 1999 - 14:06:15 CST