The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim 4 and Forwarders

Discussion in 'General Discussion' started by Marty, Jul 8, 2003.

  1. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    Anybody else seeing that Exim 4 duplicates all mail that is sent through a forwarder, i.e. if I forward mail@mydomain.com to mail@myisp.com, then mail@myisp.com gets two copies of every email that comes to mail@mydomain.com?

    I am just wondering if this is systematic, or something in the config of my systems only.

    cPanel.net Support Ticket Number:
     
  2. Curious Too

    Curious Too Well-Known Member

    Joined:
    Aug 31, 2001
    Messages:
    427
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Yes, I have lots of people complaining that they are receiving duplicate copies of forwarded email.

    cPanel.net Support Ticket Number:
     
  3. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    No duplicates here.. I'm now at 7.1.0-E44 WHM/7.1.8-E44 Cpanel.

    Brenden

    cPanel.net Support Ticket Number:
     
  4. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    mmm, odd, I rolled my production boxes back to the latest Stable build and exim 3, however I have a test box running R45 (the latest release and exim 4) and all forwards are forwarded in duplicate. Note that this is forwards to another account where the forwarded address is also a pop account. I get one copy in the forwarded addresses pop account and two copies at the address to which it is forwarded. Example:

    POP Account: me@myemail.com

    Forwarder: me@myemail.com => me@myisp.com

    The pop account gets one copy, and me@myisp.com gets two.

    cPanel.net Support Ticket Number:
     
  5. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Ah..

    Set to both forwarding and pop3? Gee.

    I get it now.

    cPanel.net Support Ticket Number:
     
  6. EcpHosting

    EcpHosting Well-Known Member

    Joined:
    Dec 16, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    It's happening here as well... odd part here is that if you send the email to a another local address, a second email is sent... if an email is forwareded to a remote email address, no duplicate email.

    Here's the kicker... if there is a third hand redirect (it forwards to a local address and then again to another) there is 3 emails in the destination email box.

    :confused: Things that make you go hmmm.

    Again, this only happens with a local forward.

    cPanel.net Support Ticket Number:
     
  7. Faldran

    Faldran Well-Known Member

    Joined:
    May 28, 2002
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    That is how it is supposed to work, if you don't want to keep a copy at me@myemail.com you should delete that account and only have a forward.

    I know that I have been using cpanel for year and a half or longer, and this is how it was always setup.

    cPanel.net Support Ticket Number:
     
  8. KingmanMe

    KingmanMe Active Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    I can confirm that the exact same problem that Marty and EcpHosting are having is happening here too.

    cPanel 7.1.0-R20

    There must be some confusion somewhere. None of the cPanel servers I've worked with do things the way you describe.

    cPanel.net Support Ticket Number:
     
  9. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    This does not happen here.
    I added a forwarder to already added pop account.

    I only got one in the pop and one forwarded.

    Cpanel:
    7.1.8-RELEASE 45

    cPanel.net Support Ticket Number:
     
  10. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Marty, do you perhaps have SpamAssissin enabled as well?

    I don't have conclusive results yet, but it would seem like it happens when you have 1) a POP mail account, 2) the same address as a forwarder and 3) SpamAsssissin enabled. :confused:

    cPanel.net Support Ticket Number:
     
  11. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    Give me a break. Read my message again. The problem is not that one stays with me@myemail.com, but that two copies end up at me@myisp.com.

    My wife assists me in my business, so I use our main email address via pop access. So I get one copy of every email. I then forward the main email address to my wifes email address, and she gets two copies of everything in her inbox. Don't tell me that that is the way it is supposed to work. It never worked that way before Exim 4. I got one copy and my wife got one copy - That is the way it is supposed to work.

    I do have spamassassin enabled, and it is a local forwarder that I am having trouble with, not one that sends off network.

    cPanel.net Support Ticket Number:
     
  12. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    Marty, I get exactly the same. It's the forwarder that's duplicated. Only one message in the mailbox on the server, but two forwarded messages in my ISP mailbox.

    cPanel.net Support Ticket Number:
     
  13. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Does your wife still get a duplicate email when you disable spamassassin?

    cPanel.net Support Ticket Number:
     
  14. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I don't know. I downgraded that server back to the lastest stable cpanel build with exim3, so I will have to run some tests on my test server, which I haven't had a chance to do.

    cPanel.net Support Ticket Number:
     
  15. EcpHosting

    EcpHosting Well-Known Member

    Joined:
    Dec 16, 2002
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    We are considering to just downgrade back to Exim3 as this seems to only be happening with Exim4.

    This is also not how the forwarder is suppose to work.

    For example, the forwarder currently work like this (all local forwards):

    1 forwarder
    -> bob@domain.com -> susan@domain.com (susan gets 2 emails)

    2 forwards (odd, but we tested it)
    -> bob -> susan -> jeff@domain.com (jeff gets 3 emails)

    1 forwarder (to remote address)
    -> bob@domain.com -> amy@offserverdomain.com (amy only gets one email... as it should be)

    cPanel.net Support Ticket Number:
     
  16. KingmanMe

    KingmanMe Active Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    I have a feeling it could be something like spam assasin.

    Everything is working fine for one account I have access to in order to test things (the company email system). However, another account on the same server is having these problems.

    The difference: the customer account had spam assassin installed and the company emails/account do not.

    NOTE: I'm still waiting to hear back from the customer so I don't know if it's fixed yet. I'll update here when I know.

    cPanel.net Support Ticket Number:
     
  17. KingmanMe

    KingmanMe Active Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    btw, I know it's a bit late in the day but has anyone put in a ticket / bug report to cpanel.net?

    cPanel.net Support Ticket Number:
     
  18. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    I don't see why y'all having problems.

    I have info@......com forwarded to brenden@..... and it works fine, one email each. This is the local forwarding.

    I also have info@ forwarding to 3 local accounts, no problems either.

    Weird..

    For stats purposes, what y'all running? :)

    cPanel.net Support Ticket Number:
     
  19. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    Do you have spamassassin enabled on that account?

    cPanel.net Support Ticket Number:
     
  20. Karl

    Karl Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    84
    Likes Received:
    1
    Trophy Points:
    8
    We have the same problem. Any user with a forwarder gets two copies of the email sent to the forwarded account. From the mail log:

    Code:
    2003-07-11 14:19:54 19aykc-0004II-Cq <= [email]kdaweb@wolverine.usa.assimilatedservers.net[/email] U=kdaweb P=local S=678
    2003-07-11 14:19:54 19aykc-0004IM-L8 <= [email]example@wolverine.usa.assimilatedservers.net[/email] U=example P=local-bsmtp S=1047 id=E19aykc-0004II-Cq@wolverine.usa.assimilatedservers.net
    2003-07-11 14:19:55 19aykc-0004IM-L8 => some.body <some.body@example.org> R=virtual_user T=virtual_userdelivery
    2003-07-11 14:19:56 19aykc-0004IM-L8 => [email]some.body@ntlworld.com[/email] <some.body@example.org> R=lookuphost T=remote_smtp H=smtp.ntlworld.com [62.253.162.40]
    2003-07-11 14:19:56 19aykc-0004IM-L8 Completed
    2003-07-11 14:19:56 19aykc-0004II-Cq => some.body <some.body@example.org> R=virtual_sa_user T=virtual_sa_userdelivery
    2003-07-11 14:20:01 19aykc-0004II-Cq => [email]some.body@ntlworld.com[/email] <some.body@example.org> R=lookuphost T=remote_smtp H=smtp.ntlworld.com [62.253.162.40]
    2003-07-11 14:20:01 19aykc-0004II-Cq Completed
    
    As you can see, the single message coming in is triggering virtual_userdelivery and virtual_sa_userdelivery, so they get two copies of all emails.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page