On Tue, 06 Sep 2011 21:21:27 +0000, Nigel Kukard wrote > On 09/02/11 23:29, Tomasz wrote: > > Hi, > > > > I've got problem with adding SPF X-Header to the e-mail. > > As I understand from documentation, when a message passes SPF module and > > it's > > not being rejected, it should have SPF header added? > > In my case it doesn't work. The policy is set up correctly (I suppose): > > Name Base > > Link to policy Default Inbound > > Use SPF Yes > > Reject Failed SPF Tooltip Yes > > Add SPF Header Tooltip Yes > > Comment X-Policy powinno być > > Disabled no > > > > The message is passing through policies and it's assigned to appropriate policy: > > [2011/09/03-00:41:37 - 3488] [POLICIES] DEBUG: END RESULT: prio=10 => policy > > ids: 3 > > > > Then, SPF module detects SPF entry on the remote server and it accepts message: > > 2011/09/03-00:41:37 - 3488] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin > > [2011/09/03-00:41:37 - 3488] [CHECKSPF] DEBUG: SPF result: DOMAIN: IP > > ADDRESS > > is authorized to use 'LOGIN@DOMAIN in 'mfrom' identity (mechanism 'mx' matched) > > > > But, unfortunately, there is nothing appended to the e-mail, there is no > > header added, and recipient doesn't know nothing about SPF. > > Where can be the problem? > > > Can you paste what your maillog says too for the same lines of debug? > > The postfix delegation protocol has 1 return result per message, > checking the code the SPF header is not added if the message passes SPF > , only if it does not pass. > > -N
Yes, you are absolutly right. I thought that policyd will work like postfix-policyd-spf-perl and it will add X-header to each message, but it didn't. So, everything seems to be OK. -- best regards _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
