Re: blocking SPAM

From: Ralf Hildebrandt (no email)
Date: Thu Nov 01 2001 - 01:40:20 EST


On Wed, Oct 31, 2001 at 11:01:38PM -0600, Ronneil Camara wrote:
> I just got maps_rbl_domains working. I just followed some howtos out there.
> Anyways, I tried sending an email from my office mail and yahoo to my mail
> server at home and this is what I got.
>
> --------------snippet starts----------
> Oct 31 22:43:06 cb446396-a postfix/smtpd[559]: connect from
> web12805.mail.yahoo.com[216.136.174.40]
> Oct 31 22:43:06 cb446396-a postfix/smtpd[559]: 9361246:
> client=web12805.mail.yahoo.com[216.136.174.40]
> Oct 31 22:43:07 cb446396-a postfix/smtpd[559]: reject: RCPT from
> web12805.mail.yahoo.com[216.136.174.40]: 554 Service unavailable;
> [216.136.174.40] blocked using outputs.orbs.org; from=<>
> to=<>
> Oct 31 22:43:12 cb446396-a postfix/smtpd[559]: disconnect from
> web12805.mail.yahoo.com[216.136.174.40]
> --------------snippet ends----------
>
> Here is my config in main.cf:
>
> maps_rbl_domains = blackholes.mail-abuse.org, dialups.mail-abuse.org,
> relays.mail-abuse.org, bl.spamcop.net, inputs.orbz.org, outputs.orbs.org,
> relays.ordb.org, or.orbl.org
>
> disable_vrfy_command = yes
> reject_non_fqdn_hostname
> reject_non_fqdn_sender
> reject_non_fqdn_recipient

This does not work.
 
> smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access,
> reject_unknown_sender_domain
> smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
> smtpd_client_restrictions = permit_mynetworks, reject_maps_rbl

Try instead:
smtpd_sender_restrictions =
smtpd_client_restrictions =
smtpd_recipient_restrictions =
   reject_non_fqdn_hostname,
   reject_non_fqdn_sender,
   reject_non_fqdn_recipient,
   reject_unknown_sender_domain,
   permit_mynetworks,
   reject_unauth_destination,
   check_sender_access hash:/usr/local/etc/postfix/access,
   reject_maps_rbl
   permit

> So, how would I fix that problem?

Which problem? yahoo.com is an open relay.

-- 
Ralf Hildebrandt                            Tel.  +49 (0)30-450 570-155
                                            Fax.  +49 (0)30-450 570-916
One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C Programs. 
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD