develooper Front page | perl.qpsmtpd | Postings from June 2005

SPF and Greylist

Thread Next
From:
Bikrant Neupane
Date:
June 28, 2005 03:07
Subject:
SPF and Greylist
Hi,
	I am thinking of linking spf and greylist plugin using a common variable.

This is what I am thinking of doing:

* create a spf_result session variable and set the value ($result) as returned 
by the spf check.

* in the greylist plugin I first check for the spf_result variable. If the 
value is "pass" , indicating the mail indeed came from legitimate server, I 
then return DECLINE immediately without checking the database.



Doing so will cause no delay in mail delivery for legitimate mails and if the 
domain has spf record published.

But chances are that spammers may publish their spf record and start spamming.

Please comment.

regards,
Bikrant

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About