1 2 Previous Next 20 Replies Latest reply: Oct 23, 2012 10:02 AM by Ml Starkey-Oracle RSS

    Savemail panic in sendmail

    949664
      Hello everyone


      Since last week I have been getting the following sendmail error again and again:


      q6GEA0ib022095: Losing ./qfq6GEA0ib022095: savemail panic
      q6GEA0ib022095: SYSERR(root): savemail: cannot save rejected email anywhere


      I have no mails in my queue and on my system there is no hosts.allow file under /etc in order to add the line "sendmail: ALL (or LOCAL)". I have also checked my aliases file and it contains the lines:


      MAILER-DAEMON: postmaster
      postmaster: root


      Any ideas on what is going on here?

      I am running: Solaris 10 10/09 s10x_u8wos_08a X86


      Thanks in advance,
      Dimitra
        • 1. Re: Savemail panic in sendmail
          929328
          "savemail panics" occur when sendmail is unable to deliver a bounced message to the postmaster alias. After being unable to deliver a message for 5 days (by default), sendmail will bounce email to the postmaster alias.
          See http://www.brandonhutchinson.com/savemail_panic_in_Sendmail.html for more info.
          Kirill Babeyev
          • 2. Re: Savemail panic in sendmail
            949664
            Hello again and thanks for the reply

            I also tried rebuilding the database but the problem still remains... :(
            • 3. Re: Savemail panic in sendmail
              Nik
              Hi.

              show results of commands:

              grep qfq6GEA0ib022095 /var/log/syslog


              Where - qfq6GEA0ib022095 - Message_ID of loosing message.

              It can see what happens with this messages, reasons, etc...


              Regards.
              • 4. Re: Savemail panic in sendmail
                Cindys-Oracle
                Hi--

                I've never seen this message and generally don't know sendmail issues, but a google search of
                your error messages also show this issue:

                http://compgroups.net/comp.unix.solaris/sendmail-on-solaris-10-broken/336045

                in solaris 10, sendmail is tcp-wrapped, so on this machine,
                /etc/hosts.allow exists, but don't contains a line as:
                sendmail: ALL (or LOCAL)
                so i added this line and every thing is ok now

                I hope this helps...

                Cindy
                • 5. Re: Savemail panic in sendmail
                  949664
                  @Nik:
                  Here is the grep result:

                  # grep 25435 /var/log/syslog
                  Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: from=root, size=283, class=0, nrcpts=1, msgid=<201207180836.q6I8a0pW025435@XXXX>, relay=root@localhost
                  Jul 18 11:36:00 sendmail[25435]: [ID 702911 mail.info] STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
                  Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30283, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
                  Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: q6I8a0pX025435: DSN: User unknown
                  Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pX025435: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31307, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
                  Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pX025435: q6I8a0pY025435: return to sender: User unknown
                  Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.info] q6I8a0pY025435: to=postmaster, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=32331, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
                  Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.alert] q6I8a0pX025435: Losing ./qfq6I8a0pX025435: savemail panic
                  Jul 18 11:36:01 sendmail[25435]: [ID 801593 mail.crit] q6I8a0pX025435: SYSERR(root): savemail: cannot save rejected email anywhere

                  @Cindy: It was one of the first things I came upon too, but there is no /etc/hosts.allow file on my system.
                  • 6. Re: Savemail panic in sendmail
                    Nik
                    Hi.

                    What we can see:
                    Mail from root , using local SMTP server relay=[127.0.0.1]
                    ===
                    ul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: from=root, size=283, class=0, nrcpts=1, msgid=<201207180836.q6I8a0pW025435@XXXX>, relay=root@localhost
                    Jul 18 11:36:00 sendmail[25435]: [ID 702911 mail.info] STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128
                    ===


                    This mail to user root, but system say that this user not present on system stat=User unknown
                    ===
                    Jul 18 11:36:00 sendmail[25435]: [ID 801593 mail.info] q6I8a0pW025435: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30283, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
                    ===


                    After this system can' delivery mail to original recepitient and send back to original author. So this mail dropped ( cannot save rejected email anywhere )

                    You need found why system think that user root not present on system.
                    Check /etc/mail/aliases


                    After make changes - don't forged run newaliases


                    Regards.
                    • 7. Re: Savemail panic in sendmail
                      949664
                      Hi Nik

                      Once again thanks for your reply.

                      I know that the system is trying to send the e-mail to user "root" but seems to think it's not there. The thing is, that I have checked the system (it's there), I have checked /etc/mail/aliases (it's there), I have run "newaliases" and /etc/mail/aliases.db seems to be updated. Everything seems to be normal, except that I keep getting this error :(
                      • 8. Re: Savemail panic in sendmail
                        Nik
                        Hi.
                        Please show result of:


                        grep root /etc/passwd
                        grep root /etc/mail/aliases


                        Regards.
                        • 9. Re: Savemail panic in sendmail
                          949664
                          Here they are:

                          # grep root /etc/passwd
                          root:x:0:0:Super-User:/:/bin/bash


                          # grep root /etc/mail/aliases
                          postmaster: root
                          bin: root
                          daemon: root
                          system: root
                          toor: root
                          uucp: root
                          manager: root
                          dumper: root
                          operator: root
                          decode: root
                          • 10. Re: Savemail panic in sendmail
                            Cindys-Oracle
                            @Cindy: It was one of the first things I came upon too, but there is no /etc/hosts.allow file on my system.

                            Yes, I know, but I think its worth testing to see if this problem goes away if you create the /etc/hosts.allow
                            with this content:

                            sendmail: LOCAL
                            • 11. Re: Savemail panic in sendmail
                              949664
                              Bumping up this thread as I have still found no solution to the savemail panic error message.

                              Any ideas would be most welcomed as I have tried ALLl of the above, but still getting the error message.
                              • 12. Re: Savemail panic in sendmail
                                Ml Starkey-Oracle
                                Are you using the default submit.cf file, or did you modify it?

                                I'd suggest checking that out. If you have edited submit.cf (NOT recommended for 99% of cases),
                                find the original one, make that active and restart sendmail.
                                • 13. Re: Savemail panic in sendmail
                                  bobthesungeek76036
                                  Let's see if "root" is valid. Run "/usr/lib/sendmail -bt" and at the ">" prompt type "0 root" as shown below:

                                  <pre>
                                  $ /usr/lib/sendmail -bt
                                  ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
                                  Enter <ruleset> <address>
                                  &#62; 0 root
                                  parse input: root
                                  Parse0 input: root
                                  Parse0 returns: root
                                  ParseLocal input: root
                                  ParseLocal returns: root
                                  Parse1 input: root
                                  Parse1 returns: $# local $: root
                                  parse returns: $# local $: root
                                  &#62;
                                  </pre>
                                  <i>Ctrl-D to exit</i>
                                  • 14. Re: Savemail panic in sendmail
                                    949664
                                    Seems valid. Here is the output:

                                    # /usr/lib/sendmail -bt
                                    ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
                                    Enter <ruleset> <address>
                                    0 root
                                    parse input: root
                                    Parse0 input: root
                                    Parse0 returns: root
                                    ParseLocal input: root
                                    ParseLocal returns: root
                                    Parse1 input: root
                                    Parse1 returns: $# local $: root
                                    parse returns: $# local $: root

                                    Edited by: 946661 on Aug 27, 2012 3:21 AM

                                    Edited by: 946661 on Aug 27, 2012 3:22 AM
                                    1 2 Previous Next