|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Chris Hellyar (chris
ohmark.co.nz)Date: Thu Nov 01 2001 - 04:46:09 CST
I'm setting up a server for collocation, and I want three users to be able to use it as their smtp server, so I've set $mynetworks to be the netblock for the dial-up pool of the ISP, and in main.cf I've got:
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_recipient_restrictions =
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_invalid_hostname,
reject_unauth_pipelining,
allow_mynetworks,
reject_unauth_destination,
check_relay_domains
in /etc/postfix/access I've got
kate
ohmark.co.nz OK
chris
ohmark.co.nz OK
barry
ohmark.co.nz OK
Because the access file only 'blocks' the relay if there is an explicit REJECT it doesn't stop someone using 'bob
anydomain.com' as the from address and relaying off my box.. I only want the server to relay for chris, Barry and kate
ohmark.co.nz in the ISP netblock in $mynetworks.
Is there a way I can effectively link the smtpd_sender_restrictions to the virtual maps?
Cheers, Chris.
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]