Unable to see virtual users

Timo Sirainen tss at iki.fi
Fri Nov 21 09:06:42 UTC 2014


On 21 Nov 2014, at 09:44, Randall Gellens <dovecot at randy.pensive.org> wrote:

> I have a new Dovecot v2.2.9 installation and am having trouble 
> getting virtual users recognized.

I don't see anything obviously wrong in your config. Set auth_debug=yes and see what the logs say. Also while testing try also disabling pam+passwd before you get the passwd-file working, just in case that makes debugging easier.

> As an aside, when I copied the sample config entries from 
> http://wiki2.dovecot.org/UserDatabase it got config errors:
> 
> userdb {
>   driver = passwd-file
>   args = username_format=%n /etc/dovecot/users
> 
>   default_fields = uid=vmail gid=vmail
>   override_fields =
> 
>   skip = never
> 
>   result_failure = continue
>   result_internalfail = continue
>   result_success = return-ok
> }
> 
> The 'skip', 'result_failure', etc. entries all generated config 
> errors as being unknown.  Since these were just explicitly setting 
> config variables to their default values, I deleted them.  It does 
> seem odd that the config sample from the Wiki generated errors though.

The wiki mentions also a bit below that they exist only in v2.2.10 and newer versions. I added now a comment line about that also.



More information about the dovecot mailing list