View Single Post
  #1 (permalink)  
Old 04-20-2006, 07:06 AM
phoenix phoenix is online now
Zimbra Consultant & Moderator
 
Posts: 19,645
Default FETCHMAIL vs GETMAIL oddity

I've been trying to use GETMAIL instead of FETCHMAIL to retrieve mail from several ISP account, I managed to do this and with GETMAIL I used the external MDA option with sendmail to pass it to Zimbra.

I sent a test mail to an account and retrieved it first with GETMAIL and left a copy on the server, I then used FETCHMAIL to retrieve and delete the mail. When I checked the headers I noticed that the spam scores were different for these messages.

This is the GETMAIL test:

Code:
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Apr 20 13:30:47 2006
X-DSPAM-Confidence: 0.9996
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 44477ef6298291994167059
X-DSPAM-Factors: 27,
X-Virus-Scanned: amavisd-new at 
X-Spam-Status: No, score=-1.247 tagged_above=-10 required=5 autolearn=no
 tests=[AWL=0.356, BAYES_00=-2.599, DSPAM_HAM=-0.1, FORGED_RCVD_HELO=0.135,
 NO_REAL_NAME=0.961]
X-Spam-Score: -1.247
X-Spam-Level:
and this is the FETCHMAIL test:
Code:
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Apr 20 13:32:23 2006
X-DSPAM-Confidence: 0.9996
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 44477f57309891091686056
X-DSPAM-Factors: 27,
X-Virus-Scanned: amavisd-new at 
X-Spam-Status: No, score=-0.554 tagged_above=-10 required=5 autolearn=no
 tests=[AWL=-0.440, BAYES_05=-1.11, DSPAM_HAM=-0.1, FORGED_RCVD_HELO=0.135,
 NO_REAL_NAME=0.961]
X-Spam-Score: -0.554
X-Spam-Level:
They were both delivered to the same single mailbox and they have been through slightly different tests in Spamassassin and received slightly different scores despite being the same message. Needless to say I've tried this several times with the same results.

Does anyone have any ideas (or guess) as to why they're different and, more importantly, does it matter? Could it be caused by where/how sendmail and fetchmail inject their mail into Zimbra? I thought they both used port 25.

Could this be caused by the headers in the mail as they appear in a slightly different order to each other?

As you can imagine I'm slightly confused by those results.
__________________
Regards


Bill

Last edited by phoenix; 04-20-2006 at 07:11 AM..
Reply With Quote