From: Chris Hellyar (no email)
Date: Thu Nov 01 2001 - 05:46:09 EST
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
OK
OK
OK
Because the access file only 'blocks' the relay if there is an explicit REJECT it doesn't stop someone using '' as the from address and relaying off my box.. I only want the server to relay for chris, Barry and 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 with content
(not subject): unsubscribe postfix-users
|
|
|