On Sat, Apr 13, 2024 at 11:14:34AM -0400, Dan Mahoney wrote:
> >>> virtual_alias_maps = static:allmail@$mydomain
> >>> default_transport = virtual
> >>> virtual_mailbox_maps = static:/var/spool/virtual/allmail/
> >>> virtual_uid_maps = static:12345
> >>> virtual_gid_maps = static:12345
>
> I’ve dropped this in, changing only 12345 to the “nobody” UID (65534 on BSD),
> rather than a UID that doesn’t exist.
>
> This fails for me with:
>
> postfix/virtual[3806]: fatal: bad string length 0 < 1: virtual_mailbox_base =
>
> I’ve chown'd /var/spool/virtual/allmail to that UID/GID of course.
Indeed, you need:
virtual_mailbox_base = /var/spool/virtual
virtual_mailbox_maps = static:allmail/
A detail I overlooked.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]