Page 2 of 5
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 2:47 pm
by aap
Hi,
I already replied with the ouput of the commands, please see earlier posts also.
I have re-ran and the results are in bold below:
cat /etc/postfix/main.cf | grep mailbox_size - blank
cat /etc/postfix/main.cf | grep message_size - blank
cat /etc/postfix/main.cf | grep virtual_mail
# the $virtual_mailbox_maps files.
# - destinations that match $virtual_mailbox_domains.
/etc/init.d/postfix reload
Reloading postfix: [ OK ]
I have successfully reloaded postfix but still the problem persists.
I will really appreciate any help. This is seriously really impacting our production environment.
Thanks.
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:00 pm
by sreinhardt
We will probably double post here... what is returned with the following commands?
ll /var/mail/
ll /var/spool/mail
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:03 pm
by abrist
How large is the mail queue?
Have you tried flushing the queue to retry delivery?
You could also look at
http://www.postfix.org/postsuper.1.html - Is your mail on hold?
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:14 pm
by aap
Hi,
The outputs are below in order...
total 50012
-rw-rw----. 1 nagios mail 4644 Jul 3 2012 nagios
-rw------- 1 root mail 51199656 Apr 8 21:05 root
-rw-rw---- 1 rpc mail 0 May 29 2012 rpc
-rw-rw---- 1 snmptt mail 0 Feb 26 2012 snmptt
total 50012
-rw-rw----. 1 nagios mail 4644 Jul 3 2012 nagios
-rw------- 1 root mail 51199656 Apr 8 21:10 root
-rw-rw---- 1 rpc mail 0 May 29 2012 rpc
-rw-rw---- 1 snmptt mail 0 Feb 26 2012 snmptt
Mail queue is empty
postfix: invalid option -- 'f'
postfix: fatal: usage: postfix [-c config_dir] [-Dv] command
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:20 pm
by aap
Hi,
In answer to your last question, I do not believe mail is on hold. Is there a way I can check. There has been another report of the same incident by someone else that installed 2102R1.7 on this thread.
I appreciate your assistance.
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:30 pm
by abrist
Are you still receiving the following error (file too large . . . .)?
Code: Select all
Apr 5 08:25:02 linapp20prdv postfix/local[2802]: 0770D22EBD: to=<[email protected]>, orig_to=<root>, relay=local, delay=0.33, delays=0.27/0.01/0/0.04, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/root for user root. error writing message: File too large)
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:33 pm
by aap
Hi,
Yes I am still receiving the message....
See below just now:
Apr 8 21:30:02 linapp20prdv postfix/qmgr[14925]: 3ABA523012: from=<>, size=4704, nrcpt=1 (queue active)
Apr 8 21:30:02 linapp20prdv postfix/bounce[18062]: 1ED1623011: sender non-delivery notification: 3ABA523012
Apr 8 21:30:02 linapp20prdv postfix/qmgr[14925]: 1ED1623011: removed
Apr 8 21:30:02 linapp20prdv postfix/local[18030]: 3ABA523012: to=<
[email protected]>, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=5.2.2, status=bounced (cannot update mailbox /var/mail/root for user root. error writing message: File too large)
Apr 8 21:30:02 linapp20prdv postfix/qmgr[14925]: 3ABA523012: removed
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:43 pm
by abrist
Looks like the root mailbox is full. postfix defaults to around 50Mb. Try setting it to a larger value:
Code: Select all
postconf -e mailbox_size_limit=512000000
Or just edit the file:
And add:
Restart postfix for good measure. If the mail is still not being sent, post another tail from the maillog here.
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:55 pm
by aap
Hi,
Done but still no emails. See tail of log below:
Apr 8 21:50:02 linapp20prdv postfix/pickup[25799]: 4FA3B242BF: uid=0 from=<root>
Apr 8 21:50:02 linapp20prdv postfix/cleanup[29178]: 4FA3B242BF: message-id=<
[email protected]>
Apr 8 21:50:02 linapp20prdv postfix/qmgr[25798]: 4FA3B242BF: from=<
[email protected]>, size=2712, nrcpt=1 (queue active)
Apr 8 21:50:02 linapp20prdv postfix/local[29183]: 4FA3B242BF: to=<
[email protected]>, orig_to=<root>, relay=local, delay=0.33, delays=0.31/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Apr 8 21:50:02 linapp20prdv postfix/qmgr[25798]: 4FA3B242BF: removed
Re: Upgrade to 2012 1.7 stops all email notifications
Posted: Mon Apr 08, 2013 3:58 pm
by abrist
Is the hostname: linapp20prdv.xxxxxxxx your XI box?