Am 06.11.2016 um 02:37 schrieb Viktor Dukhovni: Hello everybody,
I got it working, finally. A bit different from my expectation, but working. I think Viktor's comment delivered the final click that was needed. Thanks again everybody! > >> On Nov 5, 2016, at 9:08 AM, Florian Piekert <flo...@floppy.org> 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 >> i...@domain1.com domain1.com/info/ >> al...@domain1.com domain1.com/info/ >> sa...@domain1.com domain1.com/sales/ >> i...@domain2.com domain2.com/info/ >> sa...@domain2.com 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 >> i...@domain1.com >> >> Nov 5 14:04:50 blueberry postfix/lmtp[21493]: 8390D237C0FF0: >> to=<domain1.com/info/@yadda.dadd-do.de>, orig_to=<i...@domain1.com>, >> 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. > -- Florian Piekert flo...@floppy.org Spargelweg 5 Telephone+Fax: +49-700-00floppy 38179 Schwülper-Walle/Germany +49-179- 3928582 =========================================================================== Note: this message was send by me *only* if the eMail message contains a correct pgp signature corresponding to my address at flo...@floppy.org. Do you need my PGP public key? Check out http://www.floppy.org or send me an email with the subject "send pgp public key" to this address of mine. Thx!
signature.asc
Description: OpenPGP digital signature