Add mail_location setting or return 'mail' from userdb.
Aki
On 13.3.2019 5.53, @lbutlr via dovecot wrote:
I have a recipient_bcc_maps which contains a bcc map that is updated everyday:
rbcc.pcre: if !/backup.*@/ /^([^+_]*).*@([^.]*)/ backup+071.${1}-${2}@adomain.tld endif
the 071 portion is changed each day to the current day of the year.
Everything works, but I get an error from dovecot on every message:
lda(backup@adomain.tld): Error: User initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: /usr/local/virtual/backup@adomain.tld (try prefixing it with mbox: or maildir:)
The mail is delivered two the right directory anyway, but after a temporary failure.
I'd like to eliminate the error.
the backup user is not a 'real' user (it is not in the lookup map) so should I bypass dovecot entirely in delivering these messages? (and if so, how)
If not, where/how would I add the prefix maildir:
Is there something I can add to dovecot to specifically deal with messages coming in to backup@adomain.tld and add the maildir: specification there?
(Still on dovecot 2.2.35)