Postfix mailbox location
Derek Broughton
derek at pointerstop.ca
Thu Sep 10 13:15:11 UTC 2009
Wade Smart wrote:
> On Wed, Sep 9, 2009 at 20:35, Christopher Chan
> <christopher.chan at bradbury.edu.hk> wrote:
>> Wade Smart wrote:
>>> After getting my fetchmail to work properly (thanks guys :D)
>>> postfix produced an error:
>>>
>>> postfix/local: status = bounced (cannot update mailbox
>>> /home/wadesmart/data/wadesmart/Maildir for user wadesmart.)
>>>
>>> My mail was in /home/wadesmart/Maildir on my old system.
>>> Now my old home is mounted as /data and my mail is located at
>>> /data/wadesmart/Maildir.
>>>
>>> I was reading the postfix manual and it says "Optional pathname of a
>>> mailbox file relative to a local(8) user's home directory."
>>> Im reading that to mean I cant put my mail where it is at - correct?
>>> So can I not have it outside my /home directory?
>>>
>>
>> Yes you can. Change your MAIL or MAILDIR env var to point to the new
>> location.
Irrelevant - since he's also got dovecot in there...
> I did this but received errors:
>
> cannot update mailbox /home/wadesmart/data/wadesmart/Maildir for user
> wadesmart,
> unable to create lock file
> /home/wadesmart/data/wadesmart/Maildir.lock: no such file or directory
That's a whole different situation. Christopher's suggest is for your mail
_client_, not your MTA.
--
derek
More information about the ubuntu-users
mailing list