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

duplicate SMTP ID?

Expand Messages
  • Andrew Noonan
    Hi all, I seem to have a duplicate SMTP ID on two messages sent from the same machine. I didn t think that was likely (or really possible), but this happened
    Message 1 of 4 , Aug 1, 2007
    • 0 Attachment
      Hi all,

      I seem to have a duplicate SMTP ID on two messages sent from the same machine. I didn't think that was likely (or really possible), but this happened the first day we put postfix into Production rotation. Is there something I'm missing? We depend on ID uniqueness to match status of messages we send since the to, from, and message-ID are in different log lines. Here are the log lines:

      Aug 1 04:38:38 web6 postfix/smtpd[10839]: E00D03D417C: client=web10.example.com[10.1.1.20]
      Aug 1 04:38:38 web6 postfix/cleanup[17562]: E00D03D417C: message-id=<6738886.1185961118923.SendAlerts.tomcat@web10>
      Aug 1 04:38:38 web6 postfix/qmgr[11784]: E00D03D417C: from=<alert@...>, size=6025, nrcpt=1 (queue active)
      Aug 1 04:38:39 web6 postfix/smtp[17069]: E00D03D417C: to=<BBBBBBB@...>, relay=gmail-smtp-in.l.google.com[209.85.163.27], delay=1, status=sent (250 2.0.0 OK 1185961119 i27si733438elf)
      Aug 1 04:38:39 web6 postfix/qmgr[11784]: E00D03D417C: removed
      Aug 1 05:11:46 web6 postfix/smtpd[10839]: E00D03D417C: client=web10.example.com[10.1.1.20]
      Aug 1 05:11:46 web6 postfix/cleanup[18545]: E00D03D417C: message-id=<7035988.1185963106924.SendAlerts.tomcat@web10>
      Aug 1 05:11:46 web6 postfix/qmgr[11784]: E00D03D417C: from=<alert@...>, size=3977, nrcpt=1 (queue active)
      Aug 1 05:11:47 web6 postfix/smtp[18354]: E00D03D417C: to=<BBBBBBB@...>, relay=mx3.hotmail.com[65.54.244.200], delay=1, status=sent (250 <7035988.1185963106924.SendAlerts.tomcat@web10> Queued mail for delivery)
      Aug 1 05:11:47 web6 postfix/qmgr[11784]: E00D03D417C: removed

      Is this as strange as I think it is, and is there any way to make sure this stays unique?

      Thanks,
      Andrew
    • Mike Kenny
      If you mean 7035988.1185963106924.SendAlerts.tomcat@web10, these are not duplicates. These are the same message. Once in the cleanup queue and 1 second later
      Message 2 of 4 , Aug 1, 2007
      • 0 Attachment
        If you mean 7035988.1185963106924.SendAler
        ts.tomcat@web10, these are not duplicates. These are the same message. Once in the cleanup queue and 1 second later   in the smtp queue.

        mike


        On 8/1/07, Andrew Noonan <anoonan@...> wrote:
        Hi all,

        I seem to have a duplicate SMTP ID on two messages sent from the same machine.  I didn't think that was likely (or really possible), but this happened the first day we put postfix into Production rotation.  Is there something I'm missing?  We depend on ID uniqueness to match status of messages we send since the to, from, and message-ID are in different log lines.  Here are the log lines:

        Aug  1 04:38:38 web6 postfix/smtpd[10839]: E00D03D417C: client=web10.example.com[10.1.1.20]
        Aug  1 04:38:38 web6 postfix/cleanup[17562]: E00D03D417C: message-id=<6738886.1185961118923.SendAlerts.tomcat@web10 >
        Aug  1 04:38:38 web6 postfix/qmgr[11784]: E00D03D417C: from=<alert@...>, size=6025, nrcpt=1 (queue active)
        Aug  1 04:38:39 web6 postfix/smtp[17069]: E00D03D417C: to=< BBBBBBB@...>, relay=gmail-smtp-in.l.google.com[209.85.163.27], delay=1, status=sent (250 2.0.0 OK 1185961119 i27si733438elf)
        Aug  1 04:38:39 web6 postfix/qmgr[11784]: E00D03D417C: removed
        Aug  1 05:11:46 web6 postfix/smtpd[10839]: E00D03D417C: client=web10.example.com[10.1.1.20]
        Aug  1 05:11:46 web6 postfix/cleanup[18545]: E00D03D417C: message-id=<7035988.1185963106924.SendAlerts.tomcat@web10 >
        Aug  1 05:11:46 web6 postfix/qmgr[11784]: E00D03D417C: from=<alert@...>, size=3977, nrcpt=1 (queue active)
        Aug  1 05:11:47 web6 postfix/smtp[18354]: E00D03D417C: to=< BBBBBBB@...>, relay=mx3.hotmail.com[65.54.244.200], delay=1, status=sent (250  <7035988.1185963106924.SendAlerts.tomcat@web10> Queued mail for delivery)
        Aug  1 05:11:47 web6 postfix/qmgr[11784]: E00D03D417C: removed

        Is this as strange as I think it is, and is there any way to make sure this stays unique?

        Thanks,
        Andrew


      • Andrew Noonan
        ... No, I m talking about the E00D03D417C SMTP ID. These are two different messages, one to a gmail account and one to a hotmail account. We have scripts
        Message 3 of 4 , Aug 1, 2007
        • 0 Attachment
          On Wed, August 1, 2007 1:41 pm, Mike Kenny <inzanix@...> said:

          > If you mean 7035988.1185963106924.SendAlerts.tomcat@web10, these are not
          > duplicates. These are the same message. Once in the cleanup queue and 1
          > second later in the smtp queue.
          >
          > mike
          >
          >
          > On 8/1/07, Andrew Noonan <anoonan@...> wrote:
          >>
          >> Hi all,
          >>
          >> I seem to have a duplicate SMTP ID on two messages sent from the same
          >> machine. I didn't think that was likely (or really possible), but this
          >> happened the first day we put postfix into Production rotation. Is there
          >> something I'm missing? We depend on ID uniqueness to match status of
          >> messages we send since the to, from, and message-ID are in different log
          >> lines. Here are the log lines:
          >>
          >> Aug 1 04:38:38 web6 postfix/smtpd[10839]: E00D03D417C: client=
          >> web10.example.com[10.1.1.20]
          >> Aug 1 04:38:38 web6 postfix/cleanup[17562]: E00D03D417C: message-id=<
          >> 6738886.1185961118923.SendAlerts.tomcat@web10>
          >> Aug 1 04:38:38 web6 postfix/qmgr[11784]: E00D03D417C: from=<
          >> alert@...>, size=6025, nrcpt=1 (queue active)
          >> Aug 1 04:38:39 web6 postfix/smtp[17069]: E00D03D417C: to=<
          >> BBBBBBB@...>, relay=gmail-smtp-in.l.google.com[209.85.163.27],
          >> delay=1, status=sent (250 2.0.0 OK 1185961119 i27si733438elf)
          >> Aug 1 04:38:39 web6 postfix/qmgr[11784]: E00D03D417C: removed
          >> Aug 1 05:11:46 web6 postfix/smtpd[10839]: E00D03D417C: client=
          >> web10.example.com[10.1.1.20]
          >> Aug 1 05:11:46 web6 postfix/cleanup[18545]: E00D03D417C: message-id=<
          >> 7035988.1185963106924.SendAlerts.tomcat@web10>
          >> Aug 1 05:11:46 web6 postfix/qmgr[11784]: E00D03D417C: from=<
          >> alert@...>, size=3977, nrcpt=1 (queue active)
          >> Aug 1 05:11:47 web6 postfix/smtp[18354]: E00D03D417C: to=<
          >> BBBBBBB@...>, relay=mx3.hotmail.com[65.54.244.200], delay=1,
          >> status=sent (250 <7035988.1185963106924.SendAlerts.tomcat@web10> Queued
          >> mail for delivery)
          >> Aug 1 05:11:47 web6 postfix/qmgr[11784]: E00D03D417C: removed
          >>
          >> Is this as strange as I think it is, and is there any way to make sure
          >> this stays unique?
          >>
          >> Thanks,
          >> Andrew
          >>
          >>
          >

          No, I'm talking about the E00D03D417C SMTP ID. These are two different messages, one to a gmail account and one to a hotmail account. We have scripts that basically parse this data to map the message-ids: 6738886.1185961118923.SendAlerts.tomcat@web10 and 7035988.1185963106924.SendAlerts.tomcat@web10 to their "to" addresses and status:
          BBBBBBB@.../Sent and BBBBBBB@.../Sent. It's a little more sophisticated then that, but it uses the SMTP ID to build the hash that associates these individual lines into detailed information about each email transaction that comes from our application.

          Andrew
        • Victor Duchovni
          ... These are not supposed to be globally unique. They are only unique within the second of message creation and for the lifetime of the message in the queue.
          Message 4 of 4 , Aug 1, 2007
          • 0 Attachment
            On Wed, Aug 01, 2007 at 01:55:03PM -0500, Andrew Noonan wrote:

            > No, I'm talking about the E00D03D417C SMTP ID.

            These are not supposed to be globally unique. They are only unique within
            the second of message creation and for the lifetime of the message in
            the queue. Once the message leaves the queue, the queue id is available
            for re-use if the clock seconds value has changed.

            --
            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.
          Your message has been successfully submitted and would be delivered to recipients shortly.