On Sun, Nov 20, 2022 at 08:42:41PM +0100, Jaroslaw Rafa wrote:

> Therefore I want to use local(8), as I understand it's best suited for this
> "old fashioned" style of using mail, ie. real Unix users logging in to their
> accounts and running a local mail client. It is simple and I don't have to
> care about any delivery agent configuration details.
> 
> Can I achieve the same using LMTP or virtual(8) without too much effort on
> configuration?

Yes, you can deliver to home directories with virtual(8) by having
suitable entires in:

    - virtual_uid_maps      (clone user's uid from /etc/passwd, use make)
    - virtual_gid_maps      (clone user's gid from /etc/passwd, use make)
    - virtual_mailbox_maps  (clone user's dir from /etc/passwd, use make)

-- 
    Viktor.

Reply via email to