Back to Blog
Mamp pro postfix gmail6/5/2023 ![]() The next step is to edit the main configuration file for postfix. $ sudo vim /System/Library/LaunchDaemons/ We need to edit the file (as a super user) to match the following content: The basic Apple setup is fine, but may need a little tweaking (in my case, the file had a couple of tags which prevented postfix from being started.) The file located at /System/Library/LaunchDaemons/ is used to start or stop the postfix program on demand, as and when any email is submitted to the mail system for processing. The new configuration also allows postfix to be launched when network activity happens on the local SMTP port 25. Update Dec 21, 2013 : While this setup still works, you might want to also see an alternate configuration of postfix’s launchd setup, which I have documented in a follow-up article. While not complicated, it is definitely not for faint of the heart (though much easier than configuring sendmail). Note that configuration of postfix does require dropping down to the command-line, and fiddling with system files. While postfix can be used as a full-fledged SMTP server that connects directly to the mail-servers on the Internet, for the use cases above, it is usually better to redirect (i.e., relay) the emails via an authenticated and known server (such as Gmail), as this helps avoid a lot of constraints around open-relays, which are mostly blocked these days to prevent email spam. ![]()
0 Comments
Read More
Leave a Reply. |