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

Re: Duplicate Emails Sent RESTATED

Expand Messages
  • Ed
    Thanks Noel, I am going to set up a defined test and look into sendmail/procmail thoughts Ed ... Thanks Noel, I am going to set up a defined test and look into
    Message 1 of 12 , Mar 19, 2013
    • 0 Attachment
      Thanks Noel,

      I am going to set up a defined test and look into sendmail/procmail thoughts

      Ed



      From: Noel Jones <njones@...>
      To: postfix-users@...
      Sent: Tuesday, March 19, 2013 12:41 PM
      Subject: Re: Duplicate Emails Sent RESTATED

      On 3/19/2013 10:50 AM, Ed wrote:
      > Hi All.
      >
      > I am experiencing an issue with the following:
      >
      > The scenario:

      > From: aaaa@... <mailto:aaaa@...>
      > To:      bbbb@... <mailto:bbbb@...>
      > CC:    me@... <mailto:me@...>

      > After receiving the email CC at site 3, site 3 is sending out emails
      > to everyone on the original,
      > basically a duplicate email arrives to the sender and everyone in
      > the headers.

      The are basically two ways mail can be resent to header addresses.
      Either you're sending to a content_filter that feeds the mail into
      "sendmail -t"  (very bad! don't do that), or the recipient has a
      procmail or similar delivery filter that is resending the mail.


      It's not clear from the logs you've posted what is happening, but
      it's sure to be one of these.



        -- Noel Jones


    • Ed
      Thanks for the insight  Larry. I think that some work nee3ds to be done on the filter at 100026 Ed ... Thanks for the insight Larry. I think that some work
      Message 2 of 12 , Mar 20, 2013
      • 0 Attachment
        Thanks for the insight  Larry.

        I think that some work nee3ds to be done on the filter at 100026

        Ed


        From: Larry Stone <lstone19@...>
        To: "postfix-users@... Users" <postfix-users@...>
        Sent: Tuesday, March 19, 2013 1:10 PM
        Subject: Re: Duplicate Emails Sent RESTATED

        On Tue, 19 Mar 2013, Ed wrote:

        > Hi All.
        >
        > I am experiencing an issue with the following:
        >
        > The scenario:
        >  
        > From: aaaa@...
        > To:      bbbb@...
        > CC:    me@...
        >  
        > After receiving the email CC at site 3, site 3 is sending out emails to
        > everyone on the original,
        > basically a duplicate email arrives to the sender and everyone in the
        > headers.

        You then include logs but it's hard to figure out what corresponds to site1, site2, and site3.

        The logs appear to indicate that there are one or more content filters at play. Noel pointed out what can happen if they're poorly designed.

        Postfix

        > Site 3 logs and postconf follows
        > Logs
        > ----------------------
        > Mar 14 10:27:41 mail postfix/cleanup[5265]: 10E7BE1C0A:message-id=<E72852EF80963148B21E9046E0C9BDC82863FEC1@...
        > al>
        > Mar 14 10:27:41 mail postfix/smtpd[5269]: disconnect from
        > localhost[127.0.0.1]
        > Mar 14 10:27:41 mail postfix/smtp[5266]: 44D90E014D:
        > to=<edlang@...>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.5,
        > delays=1.7/0.02/0/4.7, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=03066-15,
        > from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 10E7BE1C0A)

        What's this. We see the queue ID reported by the recieving SMTP server in our own logs. Is this just being handed off to our same Postfix instance on another port?

        > Mar 14 10:27:41 mail postfix/qmgr[2179]: 44D90E014D: removed
        > Mar 14 10:27:41 mail postfix/smtp[5270]: 10E7BE1C0A:
        > to=<edlang@...>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.05,
        > delays=0.03/0.02/0/0, dsn=2.0.0, status=sent (250 Ok)

        Handed off to a content filter at port 10026.

        > Mar 14 10:27:41 mail postfix/qmgr[2179]: 10E7BE1C0A: removed

        > Mar 14 10:27:41 mail postfix/smtpd[5272]: connect from localhost[127.0.0.1]
        > Mar 14 10:27:41 mail postfix/smtpd[5272]: 4B9A3E1C0A:
        > client=localhost[127.0.0.1]
        > Mar 14 10:27:41 mail postfix/cleanup[5265]: 4B9A3E1C0A:message-id=<E72852EF80963148B21E9046E0C9BDC82863FEC1@...
        > al>
        > Mar 14 10:27:41 mail postfix/qmgr[2179]: 4B9A3E1C0A:
        > from=<avery.robert@...>, size=7049, nrcpt=3 (queue active)

        And comes back from a content filter with 3 recipients.

        Seeing your master.cf might help too. But it's most likely the content filter listening to port 10026.

        -- Larry Stone
          lstone19@...

      Your message has been successfully submitted and would be delivered to recipients shortly.