Hello Postfix Support,

 

We would like to configure our Postfix server to meet the following
requirements:

 

1.      Allow incoming emails from all external domains to all internal
users.
2.      Restrict outgoing emails for all users so they can only send to a
list of allowed domains.
3.      Allow specific privileged users to bypass this restriction and send
emails to any external domain.

 

Below is our current configuration:

 

smtpd_recipient_restrictions = 

    check_recipient_access hash:/etc/postfix/recipient_access  

    check_sender_access hash:/etc/postfix/check_sender_access  

    permit_mynetworks 

    permit_sasl_authenticated  

    reject_unauth_destination 

    check_policy_service unix:private/policyd-spf

    permit

 

smtpd_relay_restrictions = 

    permit_mynetworks 

    permit_sasl_authenticated 

    defer_unauth_destination 

    reject_unauth_destination

 

 

However, this configuration is not working as expected, and unprivileged
users are still able to send to unauthorized domains.

 

Could you please review this and advise on the correct configuration?

 

 

Srinivasa Gowd S

IT Manager

 

Confidentiality Notice : This message, and any files or previous messages
attached to it, may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or a person
responsible for delivering it to the intended recipient(s), you are hereby
notified that any disclosure, distribution, copying or use of any of the
information contained in or attached to this message is strictly prohibited.
If you have received this message in error, please immediately notify us by
replying to this message and destroy the original transmission and its
attachments without reading or downloading them.

 

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to