4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Getting the esmtp...
FromSent OnAttachments
di...@replat.comJan 19, 2006 5:53 am 
di...@replat.comJan 19, 2006 9:39 am 
Dino CiuffettiJan 21, 2006 6:52 am 
Sam VarshavchikJan 21, 2006 7:49 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Getting the esmtp client ip address from maildropActions...
From:Dino Ciuffetti (di@replat.com)
Date:Jan 21, 2006 6:52:38 am
List:net.sourceforge.lists.courier-users

On 2006-01-19, di@replat.com wrote:

Hi. I need a quick way to get the ip address of the esternal esmtp client that submit emails to my courier.

You can find this information in the Received-Header. If you enable SPF,

courier also generates a Received-SPF header. Its probably easier to extract/parse the ip address out of the SPF header.

Ok, thanks!! I'm now using courier's "Sender Policy Framework" to add the Received-SPF header, and it's working!! ;-)

With SPF enabled, sometimes I have a problem: "534 Message header size, or recipient list, exceeds policy limit." because SPF adds lots of header lines.

I know this policy is hardcoded, I just like to know if there's an official patch for courier to make this as a parameter in a configuration file (bofh, for ex?). Why did developers choose to hardcode header size?

Thanks!! Ciao, Dino.