Re: maybe a newbie question - stop sending mail from <> - how can i do?

From: Ralf Hildebrandt (no email)
Date: Mon Jul 01 2002 - 04:42:31 EDT


On Mon, Jul 01, 2002 at 10:38:49AM +0200, Noze SrL wrote:

> mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain
> mynetworks = 213.92.22.xxx/xx, 127.0.0.1

> smtpd_client_restrictions = reject_maps_rbl , hash:/etc/postfix/access
> smtpd_sender_restrictions = reject_maps_rbl

 
> How can i stop sending mail from "<>" , wich allow anyone to use as open
> relay my server?

This does not make you an open relay.

Your machine only relays for clients in 213.92.22.xxx/xx, 127.0.0.1
(mynetworks) and your DNS domain.

I guess you should use instead:

smtpd_client_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions =
   permit_mynetworks,
   reject_unauth_destination,
   reject_maps_rbl
   check_client_access hash:/etc/postfix/access
   permit
 
and make sure 213.92.22.xxx/xx is set correctly (/24 instead of /8)

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
If you tell them, they never listen. If they listen, they never
learn. If they learn, they never remember. If they remember, they
never obey. 
-
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