|
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 enforce users send email with the real from address
From: ram (ram
netcore.co.in)
Date: Mon Jan 14 2008 - 06:22:00 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2008-01-14 at 13:24 +0200, AlxFrag wrote:
> Hi,
>
> i'd like to ask if it is possible to enforce the limitation described in
> the following example:
>
> one of my users logs in as myuser
mydomain. He can send emails through
> my mail server using any "from address" he wants.
> Can i force him to use only the "myuser
mydomain" as from address in
> order to be able to send emails through my smtp server?
>
> Regards,
>
> Alex
>
put this
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/allowed_from,
reject
-----------
and in the file put
------
mydomain OK
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]