Re: return path not passed to spamassassin
Chris Purves <[email protected]> Thu, 23 Mar 2006 10:02:31 +0800
| Newsgroups | gmane.mail.exim.spamassassin |
|---|---|
| Message-ID | <[email protected]> |
Kristopher Austin wrote: >>Behalf Of Chris Purves >>I have had the problem that SPF checking does not work when >>spamassassin >>is called from exim. It works fine when running spamc after a message >>has been delivered. I believe that I have tracked the problem down to >>the return path not being added to the headers by exim until after >>spamassassin is finished. >> >>It seems to me that this is something sa-exim should have configured >>automatically...of course it's just as likely something I should have >>configured but didn't. >> >>Please provide suggestions as to the best way to solve this. >> > Chris, > > I had this same problem and then noticed that SA-Exim adds > X-SA-Exim-Mail-From header before SA sees it. > > All I had to do was add > > envelope_sender_header X-SA-Exim-Mail-From > > to my SA config file and everything started working as expected. SPF > works perfectly after adding that line to SA. > > I hope that helps. > That's it! Thanks a lot, Kris. -- Good day, eh. Chris