MRob: > On 2016-12-05 16:27, wie...@porcupine.org wrote: > > MRob: > >> I was recently surprised to see .forward file in user's home dir being > >> honoured in a context where mail is set to be delivered via LMTP to > >> dovecot for final delivery. A response I got on the dovecot list > >> implied > >> that the MTA is responsible for this. > >> > >> Does Postfix handle .forward just before it hands the message off > >> using > >> LMTP? How does this work? I wouldn't have expected this unless Postfix > >> was doing the actual delivery, though it's not unwelcome - it's a > >> mildly > >> helpful feature but I want to understand how it works. > > > > See http://www.postfix.org/ADDRESS_REWRITING_README.html > > This says .forward is only used by local(8).
That is correct. Only the local(8) program has the privileghes that allow it to grope around in user home directories. > So in my case, dovecot LMTP > seems to be responsible for this? Nope. that program has no concept of UNIX home directories. However, you may have configured mailbox_transport, in which case local(8) delegates mailbox delivery after doing all the local(8) things first. Wietse