https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6645

--- Comment #3 from [email protected] 2011-08-06 13:09:15 UTC 
---
Correction of comment 2 - the relay inserts three received headers:

Received: (qmail 19866 invoked by uid 210); 29 Apr 2011 18:23:54 -0000
Received: from 188.45.128.1 ([email protected]@188.45.128.1) by
firstmailserver (envelope-from <[email protected]>, uid 201) with
qmail-scanner-2.05st
 (clamdscan: 0.97/13021. spamassassin: 3.3.1. perlscan: 2.05st.
 Clear:RC:1(188.45.128.1):.
 Processed in 0.013931 secs); 29 Apr 2011 18:23:54 -0000
Received: from unknown (HELO ?127.0.0.1?) ([email protected]@188.45.128.1)
  by 0 with ESMTPA; 29 Apr 2011 18:23:53 -0000

Forgot to assign the Received: (qmail ... line to the relay

A qmail-server which not running qmail-scanner would only insert
Received: (qmail 19866 invoked from network); 29 Apr 2011 18:23:54 -0000
Received: from unknown (HELO ?127.0.0.1?) ([email protected]@188.45.128.1)
  by 0 with ESMTPA; 29 Apr 2011 18:23:53 -0000
which doesn't confuse spamassassin on the target.

Notice the difference between "invoked from network" when qmail-scanner is not
used and "invoked by uid xxx" when qmail-scanner is used.

The problem is that the received-header created on the relay by qmail-scanner:

Received: from 188.45.128.1 ([email protected]@188.45.128.1) by
firstmailserver (envelope-from <[email protected]>, uid 201) with
qmail-scanner-2.05st
 (clamdscan: 0.97/13021. spamassassin: 3.3.1. perlscan: 2.05st.
 Clear:RC:1(188.45.128.1):.
 Processed in 0.013931 secs); 29 Apr 2011 18:23:54 -0000

seems to break spamassassins trust-path as it doesn't recognize the connection
to the received-header in the line before which states that ESMTPA was used.

This problem occurs when a dial-up user sends a mail using i.e. his company's
mailserver running qmail-scanner as relay to a user on another domain which
uses spamassassin to filter spam where the mail will not be accepted because of
the broken trust path.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to