Monday, February 22, 2010

Postfix restricting users to send mails to certain domains or their own domain

Follow the steps suggested in postfix wiki will be able to restrict a list of users for sending emails to limited domains.

To add on on the wiki , we can replace the ip address with the user email address. For example :

Instead of

#Add the list of IP addresses which cannot send emails outside local_only local_only

change it to

#/etc/postfix/restricted_clients local_only local_only

The rest is the same , just try to restrict by user account instead of ip address.

Zimbra is using postfix as it smtp daemon , so these two guides might help us to have better understanding :


No comments:

Post a Comment

Feel free to leave your question or comment here, we will reply you as soon as possible.