Le 12/10/2010 01:45, John Swift a écrit :
Hello,

For my Postfix web server, I was able to get the example working that was at the bottom 
of the web page here: http://www.postfix.org/RESTRICTION_CLASS_README.html#external. In 
that section of the web page, it says "It is left as an exercise for the reader to 
change this into a scheme where only some users have permission to send mail to off-site 
destinations, and where most users are restricted." I've tried many many different 
things  but have been unable to change the scheme where some users have permission to 
send mail offsite and most users are restricted. Can I get a little help with this? I'm 
guessing this is a small config change that I'm completely missing.

can you explain your need clearly?


with the following:

smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/access_sender

== access_sender
j...@example            OK
j...@example.com    OK
example.com                reject_unauth_destination
.example.com                reject_unauth_destination


joe and jim can send "offsite", while other *example.com can only send to "managed" domains (mydestination, relay domains, virtual mailbox domains, virtual alias domains).

Reply via email to