> >
> This is how I block those pesky spoof mail spams;
>
> EDIT main.cf
> smtpd_recipient_restrictions =
>         permit_mynetworks
>         permit_sasl_authenticated
>         reject_unauth_destination
>               ....
>         check_sender_access hash:/etc/postfix/spoofprotection
>
>
> CREATE /etc/postfix/spoofprotection
> #spoof protection
> domain1.com   REJECT we dont mail ourselves
> domain2.com   REJECT we dont mail ourselves
>
> BUILD MAP TO IT
> postmap /etc/postfix/spoofprotection
>
> RELOAD
> postfix reload
>
> Caveats;
> Breaks forwarding (where this is relevant)
> Other caveats may exist too and someone else may point out a better way
> or other issues. This has worked for me and I am very happy with it.
>

Thanks Clunk,
This looks like the way to go, both Brian and yourselves concur..

Just about to test this, but wanted to confirm your 'breaks forwarding'
caveat, I do have some transports configured, and internal filters (amavis
and procmail) but it sounds like these should be ok, can you elaborate a
little? (the mail serve is stupid busy at around 15000 mails a day - thats
delivered mail!! So want to be sure.. 1 min of problems means a lot of mail
to find/verify :)

Thanks Again.
Nick


Reply via email to