Murray Trainer
2014-Feb-13 10:40 UTC
[Dovecot] Hybrid of linux user accounts and virtual user accounts configuration
Hi Derek, I have done this in reverse order. I used a short howto with users in LDAP. It uses an an LDAP schema called iredmail.schema that lets me create virtual domains and mail users that aren't posix users. I have my posix users under ou=users and my virtual users under ou=domains. Haven't setup mail delivery yet but the lda will need some sort of setuid access to write mail to the user folders. Hope this helps ... Murray On 13 February 2014 11:34:04 AM AWST, Derek Winterstien <14dovecotml at robotz.com> wrote:>So some system users have their email forward to >Maildir in their /home/user directory >(virtual_alias_maps) for their domain >. This I >have working! And the rest are non-system users, >ie virtual users listed in a plain text file and >their MailDir will be in /home/vmial/domain.com/user/ > >The virtual user part is working 100% with >postfix and dovecot accepting mail for each >virtual alias and system account holders popping in to retrieve their >mail. > >The second part is working 50%. I have email for >virtual users going into >/home/vmail/domain.com > > where they are supposed >to go. Now, I am very confused on how to >configure dovecot to allow folks without system >accounts to login and retrieve their email. I >have been going through one guide after >another. When I start changing things I break >the first working part, the system accounts being >able to get their mail. Changes to dovecot.conf >to get the second working negatively impact the first. > >Also, a lot of documentation is out of date, which further complicates >matters. > >Postfix/Dovecot: >Postfix version: 2.6.6 >Dovecot version: 2.0.9-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Steffen Kaiser
2014-Feb-13 14:57 UTC
[Dovecot] Hybrid of linux user accounts and virtual user accounts configuration
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 13 Feb 2014, Murray Trainer wrote:> Haven't setup mail delivery yet but the lda will need some sort of > setuid access to write mail to the user folders.That's one reason I switched to LMTP at last. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUvzdY3D1/YhP6VMHAQLU2Qf/fG7jf1pu64axgR45wm3n5LUc46Wa8IK3 vEfJMlwD9/ri/gCnFZVmV+nEmYMUKAowLfQbIPFY4aFbhjLfHA16B6FTZplpni7+ XppI2JYLHeRZVcE7inc9lxIv1OFyCo1bFE7yw3eTRffLPwA980IxCsNG3u6xlUvt zJmBsfYTvsMHjppxKDWP8f6Mnq0ST3K7ZJMIi3KTixOBDTSX1uIB/0i7LDSuBTqf mvEm9XXrKurF6nJLrnGxLesJDYHFT1eOYTte1FNE0GUpFrhu12XaVOP8XF2TlEMe zkNfKXYfgRgRClOeOfylw2WeJajoGIL9IrHiBw/G2bOlUDpa7qaSFQ==+wUY -----END PGP SIGNATURE-----