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
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 !