Ralf Hildebrandt via Postfix-users: > * Chris Green via Postfix-users <[email protected]>: > > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via > > Postfix-users wrote: > > > * Chris Green via Postfix-users <[email protected]>: > > > > > > > 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 [email protected] Note this file has different syntax than /etc/aliases (no colon). Wietse _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
