This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Different behaviour with v6 and v7: duplicate emails

There's a company that used V6 until now and just changed to V7. Everything else works quite well, except that some mails get duplicated now. This happens with messages that are sent BOTH to the user (firstname.lastname@domain.tld) AND to an alias user belongs to (listname@domain.tld). Before the change, no duplicate mails were generated. We cannot figure out the reason and difference other than switching from V6 to V7. Any idea if this is configurable via some option?


This thread was automatically locked due to age.
Parents
  • That sounds like normal behavior to me.  Are you sure they weren't getting duplicates before?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Thanks for your reply. Yes, there were no duplicate mails before the change. Here are some headers

    --- Single mail with V6 ---

    From - Sun Dec 14 19:55:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (daemon@mailgate.domain2.com [1.2.3.4])
    by mail.domain1.com (8.12.9/8.12.9) with ESMTP id mBB7suEi006833
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
    Thu, 11 Dec 2008 09:54:56 +0200
    Received-SPF: none (mailgate.domain2.com: 9.8.7.6 is neither permitted nor denied by domain of localhost.localdomain) client-ip=9.8.7.6; envelope-from=apache@localhost.localdomain; helo=localhost.localdomain;
    Received: from [9.8.7.6] (helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.43)
    id 1LAgG1-0008FC-4I; Thu, 11 Dec 2008 09:46:49 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBB7knlg015431;
    Thu, 11 Dec 2008 09:46:49 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBB7kn7E015430;
    Thu, 11 Dec 2008 09:46:49 +0200
    Date: Thu, 11 Dec 2008 09:46:49 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 234567

    --- Single mail with V6 ---


    --- First mail with V7 ---

    From - Mon Dec 15 17:32:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (mailgate.domain2.com [1.2.3.4])
    by mail.tradebridge.com (8.12.9/8.12.9) with ESMTP id mBFFXWEi029444
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
    for ; Mon, 15 Dec 2008 17:33:32 +0200
    Received: from [9.8.7.6] (port=37051 helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.69)
    (envelope-from )
    id 1LCFJB-0007bI-0R; Mon, 15 Dec 2008 17:24:33 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBFFONrR025165;
    Mon, 15 Dec 2008 17:24:23 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBFFON8r025164;
    Mon, 15 Dec 2008 17:24:23 +0200
    X-CTCH-RefID: str=0001.0A0B0202.494676B1.00D5,ss=1,fgs=0
    Date: Mon, 15 Dec 2008 17:24:23 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 1234567

    --- First mail with V7 ---


    --- Second mail with V7 ---

    From - Mon Dec 15 17:32:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (mailgate.domain2.com [1.2.3.4])
    by mail.tradebridge.com (8.12.9/8.12.9) with ESMTP id mBFFXaEi029454
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
    for ; Mon, 15 Dec 2008 17:33:36 +0200
    Received: from [9.8.7.6] (port=37051 helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.69)
    (envelope-from )
    id 1LCFJB-0007bI-0R; Mon, 15 Dec 2008 17:24:33 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBFFONrR025165;
    Mon, 15 Dec 2008 17:24:23 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBFFON8r025164;
    Mon, 15 Dec 2008 17:24:23 +0200
    X-CTCH-RefID: str=0001.0A0B0202.494676B1.00D5,ss=1,fgs=0
    Date: Mon, 15 Dec 2008 17:24:23 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 1234567

    --- Second mail with V7 ---


    You can see that in the single mail (V6), there is no "for" information, but in the duplicate mails (V7), the "for" is the alias (mailing list) and the personal address. Nothing else (sender, actual mail server) has changed.

    We tried using without callouts, but it didn't help. I would understand it is some kind of envelope/header issue?
Reply
  • Thanks for your reply. Yes, there were no duplicate mails before the change. Here are some headers

    --- Single mail with V6 ---

    From - Sun Dec 14 19:55:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (daemon@mailgate.domain2.com [1.2.3.4])
    by mail.domain1.com (8.12.9/8.12.9) with ESMTP id mBB7suEi006833
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
    Thu, 11 Dec 2008 09:54:56 +0200
    Received-SPF: none (mailgate.domain2.com: 9.8.7.6 is neither permitted nor denied by domain of localhost.localdomain) client-ip=9.8.7.6; envelope-from=apache@localhost.localdomain; helo=localhost.localdomain;
    Received: from [9.8.7.6] (helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.43)
    id 1LAgG1-0008FC-4I; Thu, 11 Dec 2008 09:46:49 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBB7knlg015431;
    Thu, 11 Dec 2008 09:46:49 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBB7kn7E015430;
    Thu, 11 Dec 2008 09:46:49 +0200
    Date: Thu, 11 Dec 2008 09:46:49 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 234567

    --- Single mail with V6 ---


    --- First mail with V7 ---

    From - Mon Dec 15 17:32:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (mailgate.domain2.com [1.2.3.4])
    by mail.tradebridge.com (8.12.9/8.12.9) with ESMTP id mBFFXWEi029444
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
    for ; Mon, 15 Dec 2008 17:33:32 +0200
    Received: from [9.8.7.6] (port=37051 helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.69)
    (envelope-from )
    id 1LCFJB-0007bI-0R; Mon, 15 Dec 2008 17:24:33 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBFFONrR025165;
    Mon, 15 Dec 2008 17:24:23 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBFFON8r025164;
    Mon, 15 Dec 2008 17:24:23 +0200
    X-CTCH-RefID: str=0001.0A0B0202.494676B1.00D5,ss=1,fgs=0
    Date: Mon, 15 Dec 2008 17:24:23 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 1234567

    --- First mail with V7 ---


    --- Second mail with V7 ---

    From - Mon Dec 15 17:32:25 2008
    Return-Path: 
    Received: from mailgate.domain2.com (mailgate.domain2.com [1.2.3.4])
    by mail.tradebridge.com (8.12.9/8.12.9) with ESMTP id mBFFXaEi029454
    (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
    for ; Mon, 15 Dec 2008 17:33:36 +0200
    Received: from [9.8.7.6] (port=37051 helo=localhost.localdomain)
    by mailgate.domain2.com with esmtps (TLSv1:AES256-SHA:256)
    (Exim 4.69)
    (envelope-from )
    id 1LCFJB-0007bI-0R; Mon, 15 Dec 2008 17:24:33 +0200
    Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
    by localhost.localdomain (8.13.1/8.13.1) with ESMTP id mBFFONrR025165;
    Mon, 15 Dec 2008 17:24:23 +0200
    Received: (from apache@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id mBFFON8r025164;
    Mon, 15 Dec 2008 17:24:23 +0200
    X-CTCH-RefID: str=0001.0A0B0202.494676B1.00D5,ss=1,fgs=0
    Date: Mon, 15 Dec 2008 17:24:23 +0200
    Message-Id: 
    To: support@domain.tldfirstname.lastname@domain.tld
    Subject: Ticket 1234567

    --- Second mail with V7 ---


    You can see that in the single mail (V6), there is no "for" information, but in the duplicate mails (V7), the "for" is the alias (mailing list) and the personal address. Nothing else (sender, actual mail server) has changed.

    We tried using without callouts, but it didn't help. I would understand it is some kind of envelope/header issue?
Children
  • Interesting catch, MagicMike!  This does seem like a feature of the new SMTP proxy in V7.3.

    The new proxy allows individual whitelists that the enduser can manage through the End User Portal.  Apparently, the Astaro now splits the original single message into two so that it can process them separately for specific endusers.  If you feel strongly that this is something that should be changed, you might mention it in the Feature Requests forum.

    If you have Active Directory, I made a cheat sheet to set it up with the User Portal.  My email is in my profile; email me if you would like to try it.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA