Loading ...
Sorry, an error occurred while loading the content.

Unknown mail transport errors...

Expand Messages
  • Michael & Julie Jones
    Had a beautiful system crash, now attempting to rebuild. I’m getting the following output in my log files – bad command startup and unknown mail transport
    Message 1 of 11 , Dec 31, 2005
    • 0 Attachment

      Had a beautiful system crash, now attempting to rebuild. I’m getting the following output in my log files – bad command startup and unknown mail transport errors:

       

      Dec 31 10:31:37 ns1 postfix/master[11349]: warning: process /usr/libexec/postfix/smtp pid 11565 exit status 1

      Dec 31 10:31:37 ns1 postfix/master[11349]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling

      Dec 31 10:31:38 ns1 postfix/smtpd[11557]: connect from unknown[85.216.51.171]

      Dec 31 10:31:38 ns1 postfix/smtpd[11557]: 655FF57295: client=unknown[85.216.51.171]

      Dec 31 10:31:38 ns1 postfix/cleanup[11561]: 655FF57295: message-id=<000001c60e30$0b2c0090$d61ba8c0@parataxis>

      Dec 31 10:31:39 ns1 postfix/nqmgr[11353]: 655FF57295: from=<scilldunn@...>, size=6303, nrcpt=1 (queue active)

      Dec 31 10:31:39 ns1 postfix/nqmgr[11353]: 655FF57295: to=<conley@...>, relay=none, delay=1, status=deferred (unknown mail transport error)

       

      Here is the output of postconf –n

       

      [root@ns1 root]# postconf -n

      alias_database = hash:/etc/postfix/aliases

      alias_maps = hash:/etc/postfix/aliases

      biff = no

      command_directory = /usr/sbin

      config_directory = /etc/postfix

      daemon_directory = /usr/libexec/postfix

      debug_peer_level = 2

      inet_interfaces = all

      local_recipient_maps =

      local_transport = no local mail delivery

      mail_owner = postfix

      mailq_path = /usr/bin/mailq.postfix

      manpage_directory = /usr/share/man

      message_size_limit = 1000000000

      mydestination = telespectra.com, azxconnect.com

      myhostname = ns1.telespectra.com

      mynetworks = 68.228.227.128/25, 69.45.65.0/24, 69.45.90.0/24, 69.45.92.0/25, 69.45.93.0/24, 64.192.95.0/24

      newaliases_path = /usr/bin/newaliases.postfix

      queue_directory = /var/spool/postfix

      readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES

      sample_directory = /usr/share/doc/postfix-2.0.16/samples

      sendmail_path = /usr/sbin/sendmail.postfix

      setgid_group = postdrop

      smtpd_banner = ns1.telespectra.com

      strict_rfc821_envelopes = no

      transport_maps = hash:/etc/postfix/transport

      unknown_local_recipient_reject_code = 450

      [root@ns1 root]#

       


      --
      No virus found in this outgoing message.
      Checked by AVG Free Edition.
      Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 12/30/2005

    • Ralf Hildebrandt
      ... And the error before that? Show more logs. ... This is wrong. local_transport = error:no local mail delivery ... This is not good. Use: smtpd_banner =
      Message 2 of 11 , Dec 31, 2005
      • 0 Attachment
        * Michael & Julie Jones <julemik@...>:
        > Had a beautiful system crash, now attempting to rebuild. I?m getting the
        > following output in my log files ? bad command startup and unknown mail
        > transport errors:
        >
        > Dec 31 10:31:37 ns1 postfix/master[11349]: warning: process
        > /usr/libexec/postfix/smtp pid 11565 exit status 1

        And the error before that?
        Show more logs.

        > local_transport = no local mail delivery
        This is wrong.

        local_transport = error:no local mail delivery

        > smtpd_banner = ns1.telespectra.com
        This is not good. Use:
        smtpd_banner = ns1.telespectra.com ESMTP

        > strict_rfc821_envelopes = no
        Why?

        > unknown_local_recipient_reject_code = 450

        Why?

        --
        Ralf Hildebrandt (Ralf.Hildebrandt@...) spamtrap@...
        Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
        http://www.postfix-buch.com
        Your eyes are weary from staring at the CRT. You feel sleepy. Notice
        how restful it is to watch the cursor blink. Close your eyes. The
        opinions stated above are yours. You cannot imagine why you ever felt
        otherwise.
      • Michael & Julie Jones
        Here s a full minute of transactions: Dec 31 15:46:14 ns1 postfix/smtpd[12034]: connect from unknown[220.176.112.53] Dec 31 15:46:15 ns1 postfix/smtpd[12034]:
        Message 3 of 11 , Dec 31, 2005
        • 0 Attachment
          Here's a full minute of transactions:

          Dec 31 15:46:14 ns1 postfix/smtpd[12034]: connect from
          unknown[220.176.112.53]
          Dec 31 15:46:15 ns1 postfix/smtpd[12034]: 04F905730E:
          client=unknown[220.176.112
          .53]
          Dec 31 15:46:26 ns1 postfix/cleanup[12035]: 04F905730E:
          message-id=<5C28279D.D84
          BA42@...>
          Dec 31 15:46:26 ns1 postfix/nqmgr[11353]: 04F905730E:
          from=<losbereter@...
          gan.net>, size=1340, nrcpt=7 (queue active)
          Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service:
          smtp/tcp
          Dec 31 15:46:27 ns1 postfix/smtpd[12034]: disconnect from
          unknown[220.176.112.53
          ]
          Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: premature
          end-of-input on pri
          vate/smtp socket while reading input attribute name
          Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: private/smtp socket:
          malforme d
          response
          Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: transport smtp
          failure -- see
          a previous warning/fatal/panic logfile record for the problem
          description
          Dec 31 15:46:27 ns1 postfix/master[11349]: warning: process
          /usr/libexec/postfix
          /smtp pid 12037 exit status 1
          Dec 31 15:46:27 ns1 postfix/master[11349]: warning:
          /usr/libexec/postfix/smtp: b
          ad command startup -- throttling
          Dec 31 15:46:30 ns1 postfix/smtpd[12034]: connect from
          unknown[220.176.112.53]
          Dec 31 15:46:30 ns1 postfix/smtpd[12038]: connect from
          unknown[220.176.112.53]
          Dec 31 15:46:32 ns1 postfix/smtpd[12034]: E8D835730F:
          client=unknown[220.176.112
          .53]
          Dec 31 15:46:32 ns1 postfix/smtpd[12038]: EB03C57310:
          client=unknown[220.176.112
          .53]
          Dec 31 15:46:37 ns1 postfix/cleanup[12035]: E8D835730F:
          message-id=<E5D11011.2CB
          C733@...>
          Dec 31 15:46:37 ns1 postfix/nqmgr[11353]: E8D835730F:
          from=<ghislain@...
          y1.net>, size=1362, nrcpt=4 (queue active)
          Dec 31 15:46:37 ns1 postfix/nqmgr[11353]: E8D835730F:
          to=<boucher@...
          m>, relay=none, delay=5, status=deferred (unknown mail transport error)
          Dec 31 15:46:37 ns1 postfix/nqmgr[11353]: E8D835730F:
          to=<lozano@...
          >, relay=none, delay=5, status=deferred (unknown mail transport error)
          Dec 31 15:46:37 ns1 postfix/nqmgr[11353]: E8D835730F:
          to=<mccormick@telespectra.
          com>, relay=none, delay=5, status=deferred (unknown mail transport
          error)
          Dec 31 15:46:37 ns1 postfix/nqmgr[11353]: E8D835730F:
          to=<stephenson@telespectra
          .com>, relay=none, delay=5, status=deferred (unknown mail transport
          error)
          Dec 31 15:46:39 ns1 postfix/cleanup[12039]: EB03C57310:
          message-id=<ecdf01c60dfc$d4ac7730$a55165cd@bianca>
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          from=<bianca@...>, size=1860, nrcpt=8 (queue active)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<fernandez@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<fields@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<medina@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<minor@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<nolan@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<poole@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<ramos@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:39 ns1 postfix/nqmgr[11353]: EB03C57310:
          to=<torres@...>, relay=none, delay=7, status=deferred
          (unknown mail transport error)
          Dec 31 15:46:40 ns1 postfix/smtpd[12038]: disconnect from
          unknown[220.176.112.53]
          Dec 31 15:46:44 ns1 postfix/smtpd[12034]: disconnect from
          unknown[220.176.112.53]
          Dec 31 15:46:56 ns1 postfix/smtpd[12038]: connect from
          unknown[220.176.112.53]
          Dec 31 15:46:56 ns1 postfix/smtpd[12038]: D222657311:
          client=unknown[220.176.112.53]
          Dec 31 15:46:58 ns1 postfix/cleanup[12035]: D222657311:
          message-id=<5FFED3AE.1258A62@...>
          Dec 31 15:46:58 ns1 postfix/nqmgr[11353]: D222657311:
          from=<claude@...>, size=1773, nrcpt=1 (queue active)
          Dec 31 15:46:58 ns1 postfix/nqmgr[11353]: D222657311:
          to=<wang@...>, relay=none, delay=2, status=deferred (unknown
          mail transport error)

          -----Original Message-----
          From: owner-postfix-users@...
          [mailto:owner-postfix-users@...] On Behalf Of Ralf Hildebrandt
          Sent: Saturday, December 31, 2005 10:45 AM
          To: postfix-users@...
          Subject: Re: Unknown mail transport errors...

          * Michael & Julie Jones <julemik@...>:
          > Had a beautiful system crash, now attempting to rebuild. I?m getting
          the
          > following output in my log files ? bad command startup and unknown
          mail
          > transport errors:
          >
          > Dec 31 10:31:37 ns1 postfix/master[11349]: warning: process
          > /usr/libexec/postfix/smtp pid 11565 exit status 1

          And the error before that?
          Show more logs.

          > local_transport = no local mail delivery
          This is wrong.

          local_transport = error:no local mail delivery

          > smtpd_banner = ns1.telespectra.com
          This is not good. Use:
          smtpd_banner = ns1.telespectra.com ESMTP

          > strict_rfc821_envelopes = no
          Why?

          > unknown_local_recipient_reject_code = 450

          Why?

          --
          Ralf Hildebrandt (Ralf.Hildebrandt@...)
          spamtrap@...
          Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450
          570-155
          http://www.postfix-buch.com
          Your eyes are weary from staring at the CRT. You feel sleepy. Notice
          how restful it is to watch the cursor blink. Close your eyes. The
          opinions stated above are yours. You cannot imagine why you ever felt
          otherwise.

          --
          No virus found in this incoming message.
          Checked by AVG Free Edition.
          Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date:
          12/30/2005


          --
          No virus found in this outgoing message.
          Checked by AVG Free Edition.
          Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date:
          12/30/2005
        • Wietse Venema
          ... See: http://www.postfix.org/DEBUG_README.html#no_chroot The example in that document is for receiving SMTP mail. You need to update the entry for the
          Message 4 of 11 , Dec 31, 2005
          • 0 Attachment
            Michael & Julie Jones:
            > Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service:
            > smtp/tcp

            See: http://www.postfix.org/DEBUG_README.html#no_chroot

            The example in that document is for receiving SMTP mail.

            You need to update the entry for the sending SMTP mail:

            smtp inet n - n - - smtpd

            Wietse
          • Wietse Venema
            ... Damn! :-) This is the one for sending mail: smtp unix - - n - - smtp Wietse
            Message 5 of 11 , Dec 31, 2005
            • 0 Attachment
              Wietse Venema:
              > Michael & Julie Jones:
              > > Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service:
              > > smtp/tcp
              >
              > See: http://www.postfix.org/DEBUG_README.html#no_chroot
              >
              > The example in that document is for receiving SMTP mail.
              >
              > You need to update the entry for the sending SMTP mail:
              >
              > smtp inet n - n - - smtpd

              Damn! :-) This is the one for sending mail:

              smtp unix - - n - - smtp

              Wietse
            • Ralf Hildebrandt
              ... /etc/services missing in the chroot jail? What does postfix check report? -- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) spamtrap@charite.de
              Message 6 of 11 , Dec 31, 2005
              • 0 Attachment
                * Michael & Julie Jones <julemik@...>:

                > Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service: smtp/tcp

                /etc/services missing in the chroot jail?
                What does "postfix check" report?

                --
                Ralf Hildebrandt (Ralf.Hildebrandt@...) spamtrap@...
                Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
                http://www.postfix-buch.com
                Hardware /nm./: the part of the computer that you can kick.
              • Michael & Julie Jones
                Wietse and Ralf, I went ahead and modified the master.cf as you mentioned, but it did not help - still getting the errors. I ve attached these errors, and my
                Message 7 of 11 , Jan 1, 2006
                • 0 Attachment
                  Wietse and Ralf, I went ahead and modified the master.cf as you
                  mentioned, but it did not help - still getting the errors. I've attached
                  these errors, and my master.cf. Running the command "postfix check"
                  returns nothing. Would rather not chroot if it's going to be this much
                  of a pain in the a.

                  Here's my master.cf:

                  #
                  ========================================================================
                  ==
                  # service type private unpriv chroot wakeup maxproc command + args
                  # (yes) (yes) (yes) (never) (100)
                  #
                  ========================================================================
                  ==
                  smtp unix - - n - - smtp
                  pickup fifo n - y 60 1 pickup
                  cleanup unix n - y - 0 cleanup
                  qmgr fifo n - y 300 1 nqmgr
                  rewrite unix - - y - - trivial-rewrite
                  bounce unix - - y - 0 bounce
                  defer unix - - y - 0 bounce
                  flush unix n - y 1000? 0 flush
                  proxymap unix - - n - - proxymap
                  smtp unix - - y - - smtp
                  relay unix - - y - - smtp
                  showq unix n - y - - showq
                  error unix - - y - - error
                  local unix - n n - - local
                  virtual unix - n n - - virtual
                  lmtp unix - - y - - lmtp
                  smtp-amavis unix - - y - 2 smtp
                  -o smtp_data_done_timeout=1200
                  -o disable_dns_lookups=yes

                  127.0.0.1:10025 inet n - y - - smtpd
                  -o content_filter=
                  -o local_recipient_maps=
                  -o relay_recipient_maps=
                  -o smtpd_restriction_classes=
                  -o smtpd_helo_restrictions=
                  -o smtpd_sender_restrictions=
                  -o smtpd_recipient_restrictions=permit_mynetworks,reject
                  -o mynetworks=127.0.0.0/8
                  -o strict_rfc821_envelopes=yes
                  maildrop unix - n n - - pipe
                  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
                  old-cyrus unix - n n - - pipe
                  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
                  cyrus unix - n n - - pipe
                  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension}
                  ${user}
                  uucp unix - n n - - pipe
                  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
                  ($recipient)
                  ifmail unix - n n - - pipe
                  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
                  bsmtp unix - n n - - pipe
                  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
                  $recipient

                  Here's the errors:


                  Dec 31 15:46:14 ns1 postfix/smtpd[12034]: connect from
                  unknown[220.176.112.53]
                  Dec 31 15:46:15 ns1 postfix/smtpd[12034]: 04F905730E:
                  client=unknown[220.176.112
                  .53]
                  Dec 31 15:46:26 ns1 postfix/cleanup[12035]: 04F905730E:
                  message-id=<5C28279D.D84
                  BA42@...>
                  Dec 31 15:46:26 ns1 postfix/nqmgr[11353]: 04F905730E:
                  from=<losbereter@...
                  gan.net>, size=1340, nrcpt=7 (queue active)
                  Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service:
                  smtp/tcp
                  Dec 31 15:46:27 ns1 postfix/smtpd[12034]: disconnect from
                  unknown[220.176.112.53
                  ]
                  Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: premature
                  end-of-input on pri
                  vate/smtp socket while reading input attribute name
                  Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: private/smtp socket:
                  malforme d
                  response
                  Dec 31 15:46:27 ns1 postfix/nqmgr[11353]: warning: transport smtp
                  failure -- see
                  a previous warning/fatal/panic logfile record for the problem
                  description
                  Dec 31 15:46:27 ns1 postfix/master[11349]: warning: process
                  /usr/libexec/postfix
                  /smtp pid 12037 exit status 1
                  Dec 31 15:46:27 ns1 postfix/master[11349]: warning:
                  /usr/libexec/postfix/smtp: b
                  ad command startup -- throttling
                  Dec 31 15:46:30 ns1 postfix/smtpd[12034]: connect from
                  unknown[220.176.112.53]
                  Dec 31 15:46:30 ns1 postfix/smtpd[12038]: connect from
                  unknown[220.176.112.53]
                  Dec 31 15:46:32 ns1 postfix/smtpd[12034]: E8D835730F:
                  client=unknown[220.176.112
                  .53]
                  Dec 31 15:46:32 ns1 postfix/smtpd[12038]: EB03C57310:
                  client=unknown[220.176.112
                  .53]

                  --
                  No virus found in this outgoing message.
                  Checked by AVG Free Edition.
                  Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date:
                  12/30/2005
                • Victor Duchovni
                  ... Notice anything interesting? -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. To
                  Message 8 of 11 , Jan 1, 2006
                  • 0 Attachment
                    On Sun, Jan 01, 2006 at 08:09:07AM -0700, Michael & Julie Jones wrote:

                    > Here's my master.cf:
                    >
                    > #
                    > ========================================================================
                    > ==
                    > # service type private unpriv chroot wakeup maxproc command + args
                    > # (yes) (yes) (yes) (never) (100)
                    > #
                    > ========================================================================
                    > ==
                    > smtp unix - - n - - smtp
                    > ...
                    > smtp unix - - y - - smtp
                    > relay unix - - y - - smtp
                    > ...
                    > smtp-amavis unix - - y - 2 smtp
                    > -o smtp_data_done_timeout=1200
                    > -o disable_dns_lookups=yes

                    Notice anything interesting?

                    --
                    Viktor.

                    Disclaimer: off-list followups get on-list replies or get ignored.
                    Please do not ignore the "Reply-To" header.

                    To unsubscribe from the postfix-users list, visit
                    http://www.postfix.org/lists.html or click the link below:
                    <mailto:majordomo@...?body=unsubscribe%20postfix-users>

                    If my response solves your problem, the best way to thank me is to not
                    send an "it worked, thanks" follow-up. If you must respond, please put
                    "It worked, thanks" in the "Subject" so I can delete these quickly.
                  • mouss
                    ... disable chrooting and test. once you get something that works, you can try to chroot.
                    Message 9 of 11 , Jan 1, 2006
                    • 0 Attachment
                      Michael & Julie Jones a écrit :
                      > Wietse and Ralf, I went ahead and modified the master.cf as you
                      > mentioned, but it did not help - still getting the errors. I've attached
                      > these errors, and my master.cf. Running the command "postfix check"
                      > returns nothing. Would rather not chroot if it's going to be this much
                      > of a pain in the a.

                      disable chrooting and test. once you get something that works, you can
                      try to chroot.
                    • Wietse Venema
                      Contrary to what distributors and vendors may appear to suggest, DO NOT enable the chroot features until Postfix works. Wietse
                      Message 10 of 11 , Jan 1, 2006
                      • 0 Attachment
                        Contrary to what distributors and vendors may appear to suggest,
                        DO NOT enable the chroot features until Postfix works.

                        Wietse
                      • Michael & Julie Jones
                        Okay, it s fixed. I went through master.cf and changed the chroot attribute for all others as well. Also, the client I was testing with wasn t using port 25 to
                        Message 11 of 11 , Jan 2, 2006
                        • 0 Attachment
                          Okay, it's fixed. I went through master.cf and changed the chroot
                          attribute for all others as well. Also, the client I was testing with
                          wasn't using port 25 to send. Arghhh. Thanks very much.

                          -----Original Message-----
                          From: owner-postfix-users@...
                          [mailto:owner-postfix-users@...] On Behalf Of Ralf Hildebrandt
                          Sent: Saturday, December 31, 2005 7:17 PM
                          To: postfix-users@...
                          Subject: Re: Unknown mail transport errors...

                          * Michael & Julie Jones <julemik@...>:

                          > Dec 31 15:46:26 ns1 postfix/smtp[12037]: fatal: unknown service:
                          smtp/tcp

                          /etc/services missing in the chroot jail?
                          What does "postfix check" report?

                          --
                          Ralf Hildebrandt (Ralf.Hildebrandt@...)
                          spamtrap@...
                          Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450
                          570-155
                          http://www.postfix-buch.com
                          Hardware /nm./: the part of the computer that you can kick.

                          --
                          No virus found in this incoming message.
                          Checked by AVG Free Edition.
                          Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date:
                          12/30/2005


                          --
                          No virus found in this outgoing message.
                          Checked by AVG Free Edition.
                          Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date:
                          12/30/2005
                        Your message has been successfully submitted and would be delivered to recipients shortly.