Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2008 06:38:05 -0400
From:      Sahil Tandon <sahil@tandon.net>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Postfix issue
Message-ID:  <20080908103805.GA41978@shepherd>
In-Reply-To: <200809080247.47237.david@vizion2000.net>
References:  <200809080247.47237.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Southwell <david@vizion2000.net> wrote:

> Could anyone tell me what entry I should make in postfix 
> configuration files to bounce mails directed to root@mydomain 
> that emanate from a source outside my local network.

After permitting your networks in the smtpd_recipient_restrictions, use 
check_recipient_access to REJECT any messages with an RCPT TO 
root@mydomain.

http://www.postfix.org/postconf.5.html#check_recipient_access
http://www.postfix.org/access.5.html

-- 
Sahil Tandon <sahil@tandon.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080908103805.GA41978>