Erik de Castro Lopo:
> Hi all,
> 
> I'm running postfix version 2.8.1 from Debian.
> 
> I've got basic pcre header checks working as they should. I'm trying
> to reject mail that has a DKIM signature that says its from att.net
> but a Message-ID ending in 'yahoo.com'.
> 
> I've got this:
> 
>     if /^DKIM-Signature: .*; d\=att.net;/i
>     /^Message-ID: .*\.yahoo\.com>/i                  REJECT
>     endif
> 
> but it doesn't seem to work. Clues?

Yes, read the header_checks manpage.

        Wietse

Reply via email to