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.

Question about the way exim send mail

Discussion in 'Workarounds and Optimization' started by jean louis, Sep 16, 2004.

  1. jean louis

    jean louis Member

    Joined:
    Dec 18, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    My setup is WHM 9.7.2 cPanel 9.7.2-C17
    RedHat 9 i686 - WHM X v3.1.0
    i want to known when you send mail from a script php newsletter (the actual script called Senstudio) why all my messages sent thru got in the mime header a tag by spam assassin : 3.3 MSGID_FROM_MTA_SHORT Message-Id was added by a relay
    i have seen this script working without this problem on another apache server so i do not think that come from the script itself but by the way Exim work or is configured
    before i was using another script (perl cgi this one) and i did have the same problem
    and why when a mail is sent by phpbb forum for example i do not have this tag
    by any chance anybody can give me some light about this
     
  2. whmapi.scripts

    whmapi.scripts Well-Known Member

    Joined:
    Sep 1, 2004
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    United Kingdom
    phpBB sets its own X-AntiAbuse headers which is probably why spam assassin does not add them. If you send mail via a perl/php script, that script is a relay and if no anti-abuse headers have been set then spam assassin is doing its job by adding them. The anti-abuse headers are there to quickly determine how the mail was relayed and they're essential for tracking down the malicious use of a script that could be used as an "open relay" by spammers.

    You say this is a problem? Why?

    If you want to remove them see: http://forums.cpanel.net/showthread.php?t=3497


    CPSCRIPTS
     
    #2 whmapi.scripts, Sep 16, 2004
    Last edited: Sep 16, 2004
  3. jean louis

    jean louis Member

    Joined:
    Dec 18, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    3.3 MSGID_FROM_MTA_SHORT Message-Id was added by a relay

    My problem is :
    This give me an big handicap to create mailing that pass spam assassin that require 5 to start filter your mail
    as i broadcast an e-zine to around 80000 registered user , i want to have all the chance to optimize my mailing and in the same time i want to keep Spam assassin on on my server because i do not want spam , even if the level : 5 is a bit harsh

    so if i understand if my script was able to add X-AntiAbuse headers ithe Mime i will not have the line
    3.3 MSGID_FROM_MTA_SHORT Message-Id was added by a relay? and my problem solve?

    one more question when you sent email (check my mime header example) with a php script do the mail go directly to Exim or there are a process like the funcition send php or sendmail?



    example of mail mime header of mail generated with my script Senstudio on my server:
    (i have to be really cautious about my newsletter html content , because if too much graphic or if i put a font at +1 i get some more point quickly and i finish to score 5 & this limit you a lot in the design of your newsletter)
    Return-path: <bounce@ibiza-voice.com>
    Envelope-to: jl@ibiza-voice.com
    Delivery-date: Thu, 16 Sep 2004 15:39:59 +0200
    Received: from voice by ls677.burtondns.org with local-bsmtp (Exim 4.41)
    id 1C7wUR-0006is-Em
    for jl@ibiza-voice.com; Thu, 16 Sep 2004 15:39:59 +0200
    Received: from voice by ls677.burtondns.org with local (Exim 4.41)
    id 1C7wUR-0006ik-7r
    for jl@ibiza-voice.com; Thu, 16 Sep 2004 15:39:59 +0200
    To: jl@ibiza-voice.com
    Subject: Nastydirtysexmusic at Ministry of Sound - 18 Sept 04 - London - UK
    From: ibiza-voice.com <voice@ibiza-voice.com>
    Reply-To: voice@ibiza-voice.com
    MIME-Version: 1.0
    Content-Type: text/html; charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit
    boundary="==MULTIPART_BOUNDARY_84eb94b9d319e524b325d80ee2338a5a"
    Message-Id: <E1C7wUR-0006ik-7r@ls677.burtondns.org>
    Date: Thu, 16 Sep 2004 15:39:59 +0200
    X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ls677.burtondns.org
    X-Spam-Level: ****
    X-Spam-Status: No, hits=4.1 required=5.0 tests=HTML_60_70,HTML_MESSAGE,
    HTML_WEB_BUGS,MIME_HTML_ONLY,MSGID_FROM_MTA_SHORT autolearn=no
    version=2.63


    and now the same message with the same script on Sendstudio test web server:

    Return-path: <logistic@e-biza-entertainment.com>
    Envelope-to: logistic@e-biza-entertainment.com
    Delivery-date: Mon, 06 Sep 2004 16:42:03 +0200
    Received: from [69.20.6.80] (helo=server1.interspire.com)
    by ls677.burtondns.org with smtp (Exim 4.41)
    id 1C4Kh1-0001eE-DK
    for logistic@e-biza-entertainment.com; Mon, 06 Sep 2004 16:42:03
    +0200
    Received: (qmail 11649 invoked by uid 48); 6 Sep 2004 14:42:13 -0000
    Date: 6 Sep 2004 14:42:13 -0000
    Message-ID: <20040906144213.11648.qmail@server1.interspire.com>
    To: logistic@e-biza-entertainment.com
    Subject: test header
    From: logistic@e-biza-entertainment.com
    Reply-To: logistic@e-biza-entertainment.com
    X-Mailer: SendStudio
    Mime-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="==MULTIPART_BOUNDARY_87212f340ddb1b9deb8f3828451c8035"
    Content-Disposition: inline
    ==MULTIPART_BOUNDARY_87212f340ddb1b9deb8f3828451c8035
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit

    As you can see on this server i do not even trig spam asssassin
    i wonder why ?
    I read in a couple of forum it was an Exim issue but i am not sure
     
    #3 jean louis, Sep 16, 2004
    Last edited: Sep 17, 2004
  4. jean louis

    jean louis Member

    Joined:
    Dec 18, 2003
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    3.3 Msgid_from_mta_short

    when user receive from a mail Neomail the mail also get tag with the annoying "3.3 MSGID_FROM_MTA_SHORT"
    it seems more and more that Exim is the responsible
    is it possible to install on a server manage by CPanel another MTA software?
     
Loading...

Share This Page