On Tue, Dec 05, 2023 at 11:53:24AM -0500, Wietse Venema via Postfix-users wrote:
> Ralf Hildebrandt via Postfix-users:
> > * Chris Green via Postfix-users <postfix-users@postfix.org>:
> > > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via 
> > > Postfix-users wrote:
> > > > * Chris Green via Postfix-users <postfix-users@postfix.org>:
> > > > 
> > > > >     mydestination = 
> > > > 
> > > > no mail is delivered locally. Thus "/etc/aliases" doesn't get to do
> > > > anything
> > > > 
> > > Ah, that explains it.
> > > 
> > > So what's the minimal way of doing this?
> > > 
> > > I don't want to deliver any mail locally but I do want something like
> > > /etc/aliases to redirect mail sent to root (i.e. errors) to me off site.
> > 
> > I'd say:
> > leave mydestination at the default (delete the line from main.cf)
> > then it should work.
> 
> If you want to alias off-host delivery, use virtual_alias_maps.
> 
> user@example  other-u...@example.com
> 
> Note this file has different syntax than /etc/aliases (no colon).
> 
Thank you Wietse, that would seem to be a sensible way to handle it.

-- 
Chris Green
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to