|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
morganstanley.com)
Date: Tue Dec 02 2008 - 14:18:02 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Dec 02, 2008 at 02:05:20PM -0600, Cengiz Vural wrote:
> hello all,
>
> I am trying to place some restrictions on a local user account. I would like
> to redirect any emails sent from a specific user to another local user
> regardless of what email address the user enters in the recipient list.Is it
> possible to do this with postfix?
>
> In summary, whenever user
localhost sends an email, I want that email to be
> delivered to user2
localhost only.
Is the mail submitted via SMTP or via sendmail(1)? If the former, you
can use "REDIRECT" (see access(5)) via "check_sender_access type:table"
in smtpd_sender_restrictions. If the latter, your best bet is to
content_filter local mail to a local SMTP re-injection port, but this
significantly raises the disk I/O cost of local mail submission.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]