[Dovecot] attachments not with email causing FETCH BODY[] failed
Timo Sirainen
tss at iki.fi
Mon Aug 5 22:18:11 EEST 2013
On 5.8.2013, at 21.38, Anand Kumria <wildfire at progsoc.org> wrote:
> Basically it appears that I configured:
>
> userA at example.com
>
> and
>
> userA at kamdha.com
>
> to *both* have the same storage location.
>
> i.e. /home/kamdha/com/user
>
> And the 'mail_location' variable is set to 'sdbox:~/mail'
>
> *AND* 'mail_attachment_dir' is specified as '/home/%d/%u/attachments'.
>
> The primary domain is kamdha.com; all of the problem messages are addressed
> to userA at example.com.
>
> So if something was sent to userA at example.com it would wind up in /home/
> example.com/userA/..../ but the mail in /home/kamdha.com/userA would
> reference a location that it didn't know about.
Ah, that explains it.
> My read of things was that '~' is *ONLY* valid in mail_location. If I could
> specify mail_attachment_dir to be '~/attachments', then things should work.
You can use %h/attachments.
More information about the dovecot
mailing list