-   Linux - Server (
-   -   Questions about limiting client access to a postfix server. (

mysteron 08-30-2012 05:11 AM

Questions about limiting client access to a postfix server.

I'm moving from sendmail to postfix, but as I am unfamiliar with postfix, I'd like to know if it is possible to do this sendmail scenario in postfix somehow:

In sendmail's /etc/mail/relay-domains I've specified which IP addresses that have the right to send mail through the server.

In postfix I cannot figure out how to achieve the same. I know how to limit it to not allow email for domains not handled by postfix. Though, this mean that anyone can open up a contact to my mailserver with any email client software (for example Thunderbird) and send an email to any of the domains postfix handles. I've come to understand this is default behaviour for Postfix, but surely it has to be possible to limit this function somehow.

The server is running Centos 6.3 with postfix-2.6.6-2.2.el6_1.

I'd really appreciate some help in sorting this out :)


Berhanie 08-31-2012 06:56 AM

a default configuration should allow any ip address listed in mynetworks to relay mail. you probably know about smtp auth, and how it's safer, etc., but if you trust that ip address, adding it to mynetworks is faster and easier.

All times are GMT -5. The time now is 06:57 AM.