Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Strange Email Headers w/MailScanner Installed

Discussion in 'E-mail Discussion' started by mickalo, Mar 19, 2004.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    we just recently installed the most recent MailScanner/ClamAv with Exim(the most recent Exim Version),
    and now noticed this warning in all our emails that go through our server,
    below is an example of the email header:
    Code:
    Delivered-to: [email]mickalo@frontiernet.net[/email]
    Received: (qmail 28028 invoked from network); 19 Mar 2004 21:46:19 -0000
    Received: from host01.apexbilling.com ([66.98.184.76])
              (envelope-sender <dbmgr@apexbilling.com>)
              by mx02.roc.ny.frontiernet.net (FrontierMTA 2.3.7b) with SMTP
              for <mickalo@frontiernet.net>; 19 Mar 2004 21:46:19 -0000
    Received: from cpanel by host01.apexbilling.com with local (Exim 4.24)
    	id 1B4Roc-0006CF-2w; Fri, 19 Mar 2004 15:46:06 -0600
    Received: from 127.0.0.1 ([127.0.0.1]) 
    	by [url]www.apexbilling.com[/url] (IMP) with HTTP 
    	for <dbmgr@apexbilling.com@localhost>; Fri, 19 Mar 2004 15:46:06 -0600
    Message-ID: <1079732766.405b6a1e04e80@[url]www.apexbilling.com[/url]>
    Date: Fri, 19 Mar 2004 15:46:06 -0600
    From: [email]dbmgr@apexbilling.com[/email]
    To: [email]mickalo@frontiernet.net[/email]
    Cc: [email]mickalo@thunder-rain.com[/email]
    Subject: Testing Email
    MIME-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    User-Agent: Internet Messaging Program (IMP) 3.2.2
    X-Originating-IP: 127.0.0.1
    X-Mail-Format-Warning: Bad RFC2822 header formatting in X-Apexbilling Systems-MailScanner-Information: Please contact the ISP for more information
    X-Mail-Format-Warning: Bad RFC2822 header formatting in X-Apexbilling Systems-MailScanner: Found to be clean
    X-MailScanner-From: [email]dbmgr@apexbilling.com[/email]
    X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
    X-AntiAbuse: Primary Hostname - host01.apexbilling.com
    X-AntiAbuse: Original Domain - frontiernet.net
    X-AntiAbuse: Originator/Caller UID/GID - [32001 502] / [47 12]
    X-AntiAbuse: Sender Address Domain - apexbilling.com
    X-Spam-Status: No, hits=-1.1 required=10.0
    	tests=BAYES_30,NO_REAL_NAME,USER_AGENT_IMP
    	version=2.55
    X-Spam-Level: 
    X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
    
    I am referring to the X-Mail-Format-Warning in the headers now,
    and it causes some strange emails in Outlook Express, displaying all the X-AntiAbuse headings in the body of the emails.

    Is there something we need to change in the exim.conf or MailScanner conf to fix these X-Mail-Format-Warning ??

    Any help or suggestions would be much appreciated :)

    TIA
    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It loks like your problem is here:

    X-Apexbilling Systems-MailScanner

    This is presumably the header field you're using in MailScanner.conf (probably in the &org-name% field).

    Mail header fields cannot contain whitespaces, so you need to change it to something like:

    X-ApexbillingSystems-MailScanner

    So, edit MailScanner.conf and change:

    %org-name% = Apexbilling Systems

    to:

    %org-name% = ApexbillingSystems

    It does actually say "# RULE: It must not contain any spaces!" just above that setting too ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    778
    Likes Received:
    4
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Yes, right you are!! That did the trick :) .... if all else fails, read the instructions!!!

    thx's abunch, was driving me nuts
    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice