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 [EMAIL PROTECTED] sends an email, I want that email to be > delivered to [EMAIL PROTECTED] 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:[EMAIL PROTECTED]> 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.