reject mail when SPF test is incorrect for specific domain

Noel Butler noel.butler at
Tue May 3 23:20:08 CEST 2016

On 03/05/2016 18:02, Frédéric Goudal wrote:
>> Le 30 avr. 2016 à 04:02, Noel Butler <noel.butler at> a écrit 
>> :
>> On 30/04/2016 01:40, Frédéric Goudal wrote:
>>> Hello,
>>> I have searched for some time and have not found a solution for the
>>> following problem :
>>> - we do have a correct spf record for our domain
>>> - I would like to reject mail pretending to come from our domain
>>> Is there any way to do that with amavis ?
>>> f.g.
>> Better to do this at MTA level,looks like your using sendmail, so take 
>> a look at milter-spf and see if its still maintained.
> I was trying to avoid another layer in the mail filtering. I will try
> to use DMARK as Quanah said. I have already DKIM signing…
> But I had a look at milter-spf and the documentation is very very 
> light…

Nothing's changed then in 10 years :)

Good luck with it.

> Thanks for your anwsers…
> f.g.

If you have the urge to reply to all rather than reply to list, you best
first read

More information about the amavis-users mailing list