|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: check_sender_access
Subject: Re: check_sender_access
From: Alex (cynikal
cyril.vrx.net)
Date: Mon Dec 06 1999 - 10:36:14 CST
- Next message: Wietse Venema: "Re: check_sender_access"
- Previous message: Jeff Wolfe: "Re: Log file reads: "unknown service: smtp/tcp""
- In reply to: Wietse Venema: "Re: check_sender_access"
- Reply: Wietse Venema: "Re: check_sender_access"
- Reply: Ralf Hildebrandt: "Re: check_sender_access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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..
=<root
jade>=[/etc/postfix] # cat access
cynikal
cynikal.net OK
cynikal
OK
cynikal.net OK
=<root
jade>=[/etc/postfix] # postmap access
=<root
jade>=[/etc/postfix] # postfix reload
postfix-script: refreshing the Postfix mail system
=<root
jade>=[/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 =
=<root
jade>=[/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
- Next message: Wietse Venema: "Re: check_sender_access"
- Previous message: Jeff Wolfe: "Re: Log file reads: "unknown service: smtp/tcp""
- In reply to: Wietse Venema: "Re: check_sender_access"
- Reply: Wietse Venema: "Re: check_sender_access"
- Reply: Ralf Hildebrandt: "Re: check_sender_access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Mon Dec 06 1999 - 14:06:15 CST