On Wed, 2004-01-21 at 11:31, [EMAIL PROTECTED] wrote:
> Is there anyway to control what domains are allow from the MAIL
> FROM:[EMAIL PROTECTED]
> 
> This is to stop people on my network from possibly sending out mail that
> is not from my domain.
> 
> I would like to do this without Cyrus SASL, but from inside postfix.
> 
> Thanks in advance,
> 
> Joe

You want to look in main.cf at the smtpd_recipient_restrictions and
tweak them. Here is a typical example:

smtpd_recipient_restrictions = permit_mynetworks,
         permit_tls_all_clientcerts,
         check_client_access hash:/etc/postfix/client_access,
         check_sender_access hash:/etc/postfix/sender_access,
         reject_unauth_destination

You probably want to get rid of the "permit_mynetworks".

I suggest you bring up a test server and play with getting it right on
that one, before adjusting the settings on your corporate server.

Good Luck - Jon Carnes

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to