On Tue, Dec 22, 2009 at 11:36:13AM +0300, Vladimir Vassiliev wrote: > Thanks. Exactly what I needed. > al...@example.com us...@example.com, us...@example.com > Why don't drop RHS domain here (if example.com is local)?
Because you may regret it later, unqualified addresses are implicitly qualified with $myorigin, which may or may not stay local in the future. Are you aliasing the user whose email address is "u...@example.com", and whose mailbox may be subject to further independent rewriting/routing? l...@example.net u...@example.com, ... Or are you aliasing the local mailbox of the Unix login account "user"? l...@example.net u...@localhost, ... Or are you aliasing "user" in the default mail domain of the system ($myorigin), who would receive unqualified email sent by e.g. cron? l...@example.net user, ... For lists, the first use-case is the most common. The 3rd use-case leads to surprises when $myorigin is changed to be non-local, but local delivery was intended (a mis-configured case 2). -- 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:majord...@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.