OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: check sender address for auth user only ?

From: Magnus Bäck (magnusdsek.lth.se)
Date: Tue Jun 06 2006 - 04:35:42 CDT


On Tuesday, June 06, 2006 at 11:10 CEST,
     Dalis-Adrian <dalis_adrianyahoo.com> wrote:

> I need to allow authenticated user only to send mail with from
> *domain.com, the only solution to made this is to allow per user with
> specific user_fromdomain.com, or a settings like
> check_sender_access_for_auth_only .
> Or if i have a variable that return auth username(user login) not %u ,
> to use in sql query, the problem is solved.

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

--
Magnus Bäck
magnusdsek.lth.se