[Dovecot] Calling dovecot-lda from maildrop/shell
Pascal Volk
user+dovecot at localhost.localdomain.org
Mon Nov 18 14:40:31 EET 2013
On 11/18/2013 11:08 AM Florian Lindner wrote:
> …
> First try was to call dovecot-lda from command line:
>
> /usr/lib/dovecot/dovecot-lda -d spam at xgm.de < testmail
>
> which gave return code 75 (EX_TEMPFAIL) and logged:
>
> dovecot: auth-worker(3533): mysql(localhost): Connected to database
> system
> dovecot: lda(spam at xgm.de): Error: user spam at xgm.de: Initialization
> failed: Namespace '': Mail storage autodetection failed with
> home=/home/flindner/Mail/spam
> dovecot: lda(spam at xgm.de): Fatal: Invalid user settings. Refer to server
> log for more information.
>
> My userdb/password is like that home == maildir ==
> /home/flindner/Mail/spam (without prefixed "maildir:"). It works fine
> for dovecot-imap, it detects that spam is a maildir.
>
> I've also tried prefixing home and or maildir with "maildir:" or
> calling: HOME=maildir:~/Mail/spam /usr/lib/dovecot/dovecot-lda <
> testmail which gave:
>
> dovecot: lda: Error: user flindner: Relative home directory paths not
> supported: maildir:/home/flindner/Mail/spam
> dovecot: lda: Fatal: Invalid user settings. Refer to server log for more
> information.
>
> What is the problem with the LDA here?
Please provide the output from `doveconf -n` and `doveadm user flindner`.
Regards,
Pascal
--
The trapper recommends today: decade.1332200 at localdomain.org
More information about the dovecot
mailing list