OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: how to limit the MAIL FROM domains for outgoing mail

From: Magnus Bäck (magnusdsek.lth.se)
Date: Tue Nov 01 2005 - 12:05:45 CST


On Tuesday, November 01, 2005 at 18:31 CET,
     Udo Rader <udo.raderbestsolution.at> wrote:

> we have a rather complex postfix installation here and would now like
> to restrict the domains being used for _sending_ mails.

The envelope sender address then, I assume.

> I have really tried to find something in the vast documentation, but I
> did not come very far (or did not understand the various pieced needed
> for it).
>
> We have some local clients here but also a couple of external
> customers that we relay email for and some days ago I noticed that
> some of them are sending mails with "illegal" sender addresses.

Do they authenticate via SASL?

   http://www.postfix.org/postconf.5.html#smtpd_sender_login_maps
   http://www.postfix.org/postconf.5.html#reject_sender_login_mismatch

Do they connect from known addresses?

   http://www.postfix.org/RESTRICTION_CLASS_README.html

[...]

--
Magnus Bäck
magnusdsek.lth.se