October 14, 2012 - 1:09pm - by admin
Actually it is no so easy to restart Postfix in Mac OS X 10.8 Mountain Lion like in Linux :-)
However you can restart Postfix by plist unload / reload:
sudo launchctl unload /System/Library/LaunchDaemons/org.postfix.master.plist
sudo launchctl load System/Library/LaunchDaemons/org.postfix.master.plist
By the way, if you have a problem with Postfix, look at this article:
Cannot send mail in Mac OS X 10.8 Mountain Lion
August 12, 2012 - 4:21pm - by admin
There is an error while sending mail in Mac OS X Mountain Lion 10.8:
send-mail: fatal: chdir /Library/Server/Mail/Data/spool: No such file or directory
To fix just run in terminal:
sudo mkdir -p /Library/Server/Mail/Data/spool
sudo /usr/sbin/postfix set-permissions
sudo /usr/sbin/postfix start
The solution also fixes an error in 10.8 where the fax service has stopped sending emails after the 10.8 upgrade.
Another Postfix Mac OS X issue solution can be found here:
Mac OS, MySQL: No such file or directory (trying to connect via unix:///var/mysql/mysql.sock)
November 24, 2011 - 8:17am - by admin
Error:
Fatal error: Uncaught exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. ' in /.........../Zend/Zend/Mail/Transport/Sendmail.php:137
Postfix is running, PHP can connect to Postfix.
We have got In Apache error_log:
postdrop: warning: uid=48: File too large
FIX:
The default max message size for Postfix is 10240000 bytes. Thus we do:
% /usr/sbin/postconf -e message_size_limit=XXXXXXXXXXX
where XXXXXXXXXX is the new limit.
And then restart Postfix.
FYI: Related issues:
The the default value for a mailbox size according to Postfix is 51200000 bytes. It may be changed like this:
% postconf -e mailbox_size_limit=0
And then restart Postfix.
The settings for all the size related parameters (in main.cf) can be listed like this:
# postconf -d | grep size
Sample output:
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
mailbox_size_limit = 51200000
message_size_limit = 10240000
Voila !