> On Nov 5, 2016, at 9:08 AM, Florian Piekert <[email protected]> wrote:
>
> The users are "virtual" users, meaning they do not have a real account on the
> mail machine, they don't exist in /etc/passwd and /etc/groups.
>
> Dovecot manages logins with its own passwd/users files. pop3 access and
> smtp/587 delivery both work. Only mail reception is not working, that is
> postfix' delivery into the users mailboxes.
>
> I have setup dovecot accordingly, and it uses the Maildir/ style for storage,
> as e.g. proposed by the ubuntu howto at
> https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto
>
> Only issue is, postfix won't work as described on that.
>
> The above howto puts
> [email protected] domain1.com/info/
> [email protected] domain1.com/info/
> [email protected] domain1.com/sales/
> [email protected] domain2.com/info/
> [email protected] domain2.com/sales/
> into the "virtual" map file, but pf still somehow doesn't know how to locally
> deliver for these users. It accepts the mail for user [email protected]
>
> Nov 5 14:04:50 blueberry postfix/lmtp[21493]: 8390D237C0FF0:
> to=<domain1.com/info/@yadda.dadd-do.de>, orig_to=<[email protected]>,
> relay=127.0.0.1[127.0.0.1]:10024, delay=0.14, delays=0/0/0/0.13, dsn=2.0.0,
> status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued
> as A0CCA237C0F0A)
> Nov 5 14:04:50 blueberry postfix/local[21484]: A0CCA237C0F0A:
> to=<domain1.com/info/@yadda.dadd-do.de>, relay=local, delay=0.02,
> delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user:
> "domain1.com/info/")
Don't expect local(8) to deliver mail to virtual mailboxes,
that's done by virtual(8). The domain "yadda.dadd-do.de"
needs to be listed in "virtual_mailbox_domains" and NOT
listed in "mydestination". Use virtual_alias_maps for
any aliasing, and not local aliases.
--
Viktor.