Gerry Gam a écrit :
> My server is getting a lot of spam that appears to be claiming it's from my 
> domain while it's from elsewhere:
> 
> Received:
>     from my.ip.addr.ess (124-12-9-193.static.tfn.net.tw [124.12.9.193])


reject mail if helo is your IP.
        check_helo_access cidr:/etc/postfix/access_helo.cidr
...



you can also block all mail from .static.tfn.net.tw unless you know you
get legitimate mail from there.


> by mydomain.com (Postfix) with SMTP id 56BEC6010B for <war...@sinamail.com>; 
> Thu, 17 Sep 2009 02:55:54 -0600 (MDT)
> Received:
>     from iedfmwp.yahoo.com (iedfmwp.yahoo.com [179.232.190.108]) by
> with Microsoft SMTPSVC(5.0.2195.6824); Sat, 13 Apr 2002 10:35:17 -0100
> 
> How
> can I block these? I've been reading, searching, and configuring quite
> a bit, but can't figure out how to block these so they're not accepted
> (for relaying?). Here's what I have in Postfix's config:
> 
> smtpd_client_restrictions = reject_unknown_client_hostname,
>         reject_unauth_pipelining,
>         reject_rbl_client zen.spamhaus.org,
>         reject_unknown_reverse_client_hostname
> 
> smtpd_recipient_restrictions = permit_sasl_authenticated,
>         reject_unauth_destination
> 
> I also tried changing mynetworks to 127.0.0.1 but that hasn't helped with 
> this.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 

Reply via email to