Re: How to Closed Relay :)

From: Ralf Hildebrandt (no email)
Date: Wed Jan 02 2002 - 01:36:36 EST


On Wed, Jan 02, 2002 at 04:09:39AM +0100, Terence Dewaele wrote:

> I want :
> - only client listed in hash/postfix-before-smtp can use the server for
> sending mail.
> - accept all mail for domain listed in database (transport [domain,
> transport]).

> smtpd_recipient_restrictions = permit_mynetworks, check_client_access
> hash:/etc/postfix/pop-before-smtp, check_relay_domains
> smtpd_client_restrictions = hash:/etc/postfix/access

Make that:

smtpd_client_restrictions =
smtpd_recipient_restrictions =
   permit_mynetworks
   check_client_access hash:/etc/postfix/pop-before-smtp
   check_relay_domains

> recipient_delemiter = +

Typo.

> relay_domains = $mydestination, $virtual_maps, $transport_maps

Why do you list $virtual_maps here? Should not be necessary

-- 
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
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
-
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