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 custom hostname headers

Discussion in 'General Discussion' started by GetWiredNet, Apr 20, 2004.

  1. GetWiredNet

    GetWiredNet Member

    Joined:
    Oct 24, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I share a server with a partner but we have serious problems with Exim and the email headers. We need to allow ourselves and our resellers to have their own mail servers listed in their clients email headers. Listed below is what we need to be able to do by IP or anyway that works.

    primary_hostname = companyA companyB ???

    Company A Headers:

    Received: from [0.0.0.0] (helo=blah)
    by (mail.companya.com) with esmtp (Exim 4.24)
    id 10000Q-00000-Ed
    for blah@blah.com; Tue, 20 Apr 2004 12:50:38 -0700
    Date: Tue, 20 Apr 2004 12:34:09 -0700


    Company B Headers:

    Received: from [0.0.0.0] (helo=blah)
    by (mail.companyb.com) with esmtp (Exim 4.24)
    id 10000Q-00000-Ed
    for blah@blah.com; Tue, 20 Apr 2004 12:50:38 -0700
    Date: Tue, 20 Apr 2004 12:34:09 -0700

    Can anyone help us make this happen, why do we have to get a 2nd server we don't need just so we can have our own email headers?

    Thanks - Jeff Dupler
     
    #1 GetWiredNet, Apr 20, 2004
    Last edited: Apr 20, 2004
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Because that is the way MTA's work. They use the hostname of the server on which they run.

    However, with exim, you can use trusted users to allow users to change various email header fields, but I doubt that you can do this in the way you want:

    http://www.exim.org/exim-html-4.30/doc/html/spec_5.html#SECT5.2

    I would suggest taking the issue up on the Exim mailing list, unless someone here has actually achieved this.
     
  3. experthost1

    experthost1 Member

    Joined:
    Apr 20, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I'm on the Exim mailing list and it was just recently posted. There is no way to do this currently in Exim, however it has been wishlisted.

    Just figured I'd let you all know.
     
  4. GetWiredNet

    GetWiredNet Member

    Joined:
    Oct 24, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    This is serious problem.

    I'm getting email kicked back now that places are using rDNS to stop S P A M, look at this kicked back email below.

    support@ritlabs.com
    SMTP error from remote mailer after MAIL FROM:<admin@getwired.net> SIZE=2770: host argus.ritlabs.com [195.138.101.49]: 550 5.7.1 <admin@getwired.net>... connection [66.249.136.121] is forged (PTR and A records mismatch)

    mail.getwired.net is rDNS to IP 66.249.136.130

    I'm going to go to Exim web site to look up the problems their next. Just too add, I really don't like Exim Mail Server it's a fight every day to get any CPU from Exim for web sites and POP3.

    - Jeff Dupler
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I doubt that you''ll find another MTA that can offer dynamic EHLO response based on the MX record that you requested.

    Those that are implementing such mechanisms will simply find that they will bounce 100% of email from virtual hosting accounts and probably 90%+ from whatever is left since most MTA's don't serve a single domain.

    More fool them - might as well unplug your SMTP server.

    Now, insisting on a valid rDNS for an incoming IP address is a good idea and something that most moedrn MTAs either implement by default or is easily switched on.
     
Loading...

Share This Page