|
|
Port 25 listening and master.cf
I believe that Apple's configuration (i.e. to listen to port 25) is correct, and that what your procedure is doing is disabling that feature (in master.cf), only to re-enable it again another way.
While Apple's default configuration listens to port 25, it only accepts connections from localhost! That behavior is exactly what would be desired to only allow local outgoing mail through the SMTP server, and it is set toward the end of main.cf with this line:
So it looks to me that Apple has Postfix properly configured and all that you need to do is configure launchd to call Postfix whenever a local connection to Port 25 is attempted. Your procedure should be able to be reduced to just that; everything else seems to be unnecessary (e.g. changes to /etc/postfix/master.cf and /etc/hostconfig). And that configuration should be made easier by using I didn't test this out, however, because my application is for Postfix to run as a deamon to constantly accept connections from the outside world (this is how i learned that Apple disabled external connections by their $inet_interfaces setting). For my application, i had to disable this by commenting out Apple's setting, and also set the variables $myhostname, $mydomain and $mydestination.
Important note for those running Postifx daemons: When changing the setting of $inet_interfaces, issuing a
Port 25 listening and master.cf
Hi, |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.37 seconds |
|