From: Noze SrL (no email)
Date: Mon Jul 01 2002 - 04:56:39 EDT
Ralf Hildebrandt wrote:
> 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)
Thank you ... but smtpd__recipient_restriction does not specifies restrictions on
recipient addresses that SMTP clients can send in RCPT TO commands?
My problem is for mail sent using
mail from: <>
I know my server is not an open relay. But using "mail from: <>" allow anyone to send mail to anyone.
Mask for my network i set correctly ;-)
Tahnk you for your comment, Loris
>
>
-- ---------------------------------------------------------- [ n o z e S.r.l. ] NetWorking Area Web: http://www.noze.it - To unsubscribe, send mail to with content (not subject): unsubscribe postfix-users
|
|
|