[Dovecot] Dovecot 1.2.12 + Postfix + virtual domains: delivering to system users

Timo Sirainen tss at iki.fi
Thu Dec 30 12:52:56 EET 2010


On Sat, 2010-12-25 at 20:49 -0700, Ran Talbott wrote:
> As mentioned in my previous posting, I've set up a mailserver for a domain of 
> Winboxen,  authenticated through Active Directory.  After some struggles,  I 
> finally got that working.  But I also need to receive emails for a few system 
> users on the mailserver (like postmaster,  and a couple of accounts set up 
> for maintaining the system).
> 
> I thought,  based on the way I read the documentation,  that I could just add 
> a "userdb passwd",  ahead of the "userdb ldap",  and deliver would find their 
> home directory maildirs.  The virtual users would fail the passwd search,  
> fall through to the LDAP check,  and deliver would drop their mail into their 
> maildirs in the /var/mailstore tree.  I knew the system users wouldn't be 
> able to login to the IMAP server,  but this isn't a concern.

Yes, sounds right.

> Instead,  the system users' mail got bounced,  after an auth check via 
> the "master" socket (from Postfix, I guess: it's a transient process) whose 
> details don't get logged.  And the virtual users' lookups (done by deliver) 
> returned made-up UIDs and GIDs,  and maildir locations 
> (/home/<realm>/<username>) completely different from what the LDAP lookup 
> normally returns (/var/mailstore/<username>).

I've no idea why that would happen. dovecot -n output and logs with
auth_debug=yes + mail_debug=yes would be helpful.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20101230/8f64a02c/attachment.bin 


More information about the dovecot mailing list