[Postfixbuch-users] recipient_delimiter mit Dovecot
Martin Lammers
martin.lammers at googlemail.com
Mi Feb 9 10:47:22 CET 2011
>> Jetzt bekomme ich im dovecot.log die Meldung:
>> 2011-02-05 22:04:02 deliver(ml at domain.biz): Info:
>> msgid=<4D4DBB45.2090500 at domain.biz>: save failed to folder: Mailbox
>> doesn't exist: folder
>> saved mail to INBOX
>
> Was hast du in Dovecot definiert?
>
> z.B. per SQL
>
> # Examples:
> # user_query = SELECT home, uid, gid FROM users WHERE userid = '%u'
> # user_query = SELECT dir AS home, user AS uid, group AS gid FROM users
> where userid = '%u'
> # user_query = SELECT home, 501 AS uid, 501 AS gid FROM users WHERE userid
> = '%u'
> #
> #user_query = \
> # SELECT home, uid, gid \
> # FROM users WHERE username = '%n' AND domain = '%d'
>
> user_query = \
> select concat('/var/mail/virtual/', substring_index(mail_addr, '@', -1),
> '/', mail_acc) as home, \
> concat('*:storage=', quota) as quota_rule \
> from mail_users where mail_addr ='%u'
Meine sieht so aus
user_query = SELECT '/var/vmail/%d/%n' as home,
'maildir:/var/vmail/%d/%n' as mail, 150 AS uid, 8 AS gid,
CONCAT('*:bytes=', CAST(quota AS CHAR)) AS quota_rule FROM mailbox WHERE
username = '%u' AND active = '1'
# Get the password
password_query = SELECT username as user, password, '/var/vmail/%d/%n'
as userdb_home, 'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as
userdb_uid, 8 as userdb_gid, CONCAT('*:bytes=', CAST(quota AS CHAR)) AS
userdb_quota_rule FROM mailbox WHERE username = '%u' AND active = '1'
> der Ordner "new" (cur, tmp sollten dann ebenfalls da sein) wird automatisch
> angelegt.
new cur tmp sind angelegt
> Schau mal unter conf.d nach
>
> 15-lda.conf:lda_mailbox_autocreate = yes
> 15-lda.conf:lda_mailbox_autosubscribe = yes
>
Ich habe keine conf.d für dovecot.
>>
>> Mail wurde gesendet an ml+folder at domain.biz
>>
>> Den Unterordner hatte ich vorher angelegt.
>
>
>
> Mit freundlichen Grüßen
>
> Drießen
>
Mehr Informationen über die Mailingliste Postfixbuch-users