Hello,
Im using exim 4.60 compiled with libspf2.
Spamassassin configuration is simple, using integreted exiscan into exim:
spamd_address = 127.0.0.1 783
and in acl_check_data:
# SPF
warn message = :after_received:$spf_received
log_message = SPF = $spf_received
spf = pass : fail : softfail : neutral : err_perm
: err_temp
warn spam = user
condition = ${if def:h_X-SpamWarning:{0}{1}}
log_message = SpamWarning This messages Scores $spam_score
and will be marked as Spam
message = X-Spam-Flag: YES \n\
X-New-Subject: [!SPAM!] $h_subject:
The problem Im facing is with Spamassassin and SPF-Check module. As far
as I know Exim doesnt pass full headers when passing message to
spamassassin so it can not see Received-SPF header and cant use it.
I also see errors like this:
[9051] dbg: spf: checking HELO (helo=, ip=66.xxx.xx.xxx)
[9051] dbg: spf: cannot get HELO, cannot use SPF
[9051] dbg: spf: found Envelope-From in last untrusted Received header
[9051] dbg: spf: checking EnvelopeFrom (helo=, ip=66.xxx.xx.xxx,
envfrom=xxxxx@???)
[9051] dbg: spf: cannot get HELO, cannot use SPF
Any clues how to fix the problem?
Regards