kpa said:Remove the file you created because it's most likely now owned by root and the process that tries to write to the file is running as a non-privileged user. The file should be recreated when you restart the mailer daemon.
kill -HUP `cat /var/run/syslog.pid` # tail /var/log/maillog # tail -100 /var/log/maillog # tail -X /var/log/maillog # tail -f /var/log/maillog # tail -100[b]f[/b] /var/log/maillogFeb 13 20:38:32 mail postfix/master[64595]: warning: process /usr/local/libexec/postfix/smtpd pid 99785 killed by signal 11
Feb 13 20:50:06 mail postfix/master[64595]: warning: process /usr/local/libexec/postfix/smtpd pid 3525 killed by signal 11
Feb 13 20:58:52 mail postfix/master[64595]: warning: process /usr/local/libexec/postfix/smtpd pid 5478 killed by signal 11
Feb 13 21:13:54 mail postfix/master[5828]: warning: process /usr/local/libexec/postfix/smtpd pid 10118 killed by signal 11
Feb 13 21:27:11 mail postfix/master[5828]: warning: process /usr/local/libexec/postfix/smtpd pid 14008 killed by signal 11
Feb 13 21:28:37 mail postfix/master[5828]: warning: process /usr/local/libexec/postfix/smtpd pid 14469 killed by signal 11
mail postfix/master[5828]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
# postalias /path/to/aliases # postmap /path/to/any/hash/map/filesphoenix said:Nope, those would be from screwing up the Postfix config.
Look at your main.cf to make sure everything is set correctly. Do a restart of postfix and check the logs right away for messages. Confider re-mapping your database files:
# postalias /path/to/aliases
# postmap /path/to/any/hash/map/files
postalias /etc/aliases postmap /etc/aliasesmaillog:Feb 14 08:34:49 mail postfix/postmap[86101]: warning: /etc/aliases, line 79: record is in "key: value" format; is this an alias file?
Actually I think there's a totally different lesson to be learned here, one which we all already know but which most of us often ignore:xy16644 said:Thanks all, the log file is working again and I learnt a valuable lesson...don't useeeon a live logfile but usemorerather!!
$ tee /var/log/maillog
tee: /var/log/maillog: Permission denied
sudo but that day I was logged in with root (naughty naughty).mxslcpool74.ebay.com
outmail034.prn2.facebook.com
...
outmail040.prn2.facebook.com
Feb 15 05:12:40 mail postfix/smtpd[40147]: connect from mxslcpool74.ebay.com[66.135.215.176]
Feb 15 05:12:41 mail postfix/master[88477]: warning: process /usr/local/libexec/postfix/smtpd pid 40147 killed by signal 11
Feb 15 05:12:41 mail postfix/master[88477]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
mickey said:Did you try rebuilding a fresh postfix from ports? In no event (at least none I could think of) should an MTA crash with segmentation fault while receiving an E-Mail, even given the possibility that something might be slightly misconfigured.