Tuesday, June 28, 2011

The savemail panic


The savemail panic message is noted when sending mails.


Below messages are found in syslog.


(sunstation1:/)# tail /var/log/syslog
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 577507 mail.debug] tid= 1: serverAddr=45.222.28.206:20389
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 939703 mail.debug] tid= 1: AuthType=1
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 142272 mail.debug] tid= 1: TlsType=0
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 537450 mail.debug] tid= 1: SaslMech=0
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 625532 mail.debug] tid= 1: SaslOpt=0
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 639905 mail.debug] tid= 1: userID=cn=proxyagent,ou=profile,dc=dev,dc=mobile,dc=belgacom,dc=be
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 801593 mail.info] p588K1BN001067: p588K1BO001067: return to sender: aliasing/forwarding loop broken
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 801593 mail.notice] p588K1BO001067: setsender: : invalid or unparsable, received from localhost
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 801593 mail.alert] p588K1BN001067: Losing ./qfp588K1BN001067: savemail panic
Jun  8 10:20:01 sunstation1 sendmail[1067]: [ID 801593 mail.crit] p588K1BN001067: SYSERR(root): savemail: cannot save rejected email anywhere

(sunstation1:/)# mailx -s "Test" aaron@domain.com
EOT
(sunstation1:/)# Jun  8 10:33:35 sunstation1 sendmail[15981]: [ID 801593 mail.alert] p588XZAI015981: Losing ./qfp588XZAI015981: savemail panic



Can be rectified by removing the ldap datasource from nsswitch.conf file.

(sunstation1:/)# cat /etc/nsswitch.conf | grep ali
aliases:    files ldap
(sunstation1:/)#


automount:  files ldap
aliases:    files
"/etc/nsswitch.conf" 49 lines, 1416 characters
(sunstation1:/)#



Restart sendmail services

(sunstation1:/)# svcs -a | grep sendmail
online         Mar_28   svc:/network/smtp:sendmail
online         Mar_28   svc:/network/sendmail-client:default
(sunstation1:/)#

(sunstation1:/)# svcadm restart svc:/network/smtp:sendmail
(sunstation1:/)# svcadm restart svc:/network/sendmail-client:default

(sunstation1:/)# mailx -s "Test" aaron@domain.com
EOT
(sunstation1:/)#

No comments:

Post a Comment