On 5.8.2013, at 21.38, Anand Kumria <wildfire@progsoc.org> wrote:
Basically it appears that I configured:
userA@example.com
and
userA@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@example.com.
So if something was sent to userA@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.