Postfix mailbox location

Christopher Chan christopher.chan at bradbury.edu.hk
Thu Sep 10 02:25:49 UTC 2009


Wade Smart wrote:
> On Wed, Sep 9, 2009 at 21:00, Christopher Chan
> <christopher.chan at bradbury.edu.hk> wrote:
>   
>>> 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
>>>
>>> Its like it cant see out of /home.
>>>
>>>       
>> Did you edit /etc/postfix/main.cf at all?
>>
>>
>> Please also post the output of 'env | grep MAIL'
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>     
>
> I did change the main.cf.
>
> 'env | grep MAIL' produces nothing.
>   
Nevermind. Just checked the postfix local man page and it does not look 
up any MAIL* env var at all.

> In main.cf:
> home_mailbox = /data/wadesmart/Maildir
>
>   
Replace with mail_spool_directory = /data/

I assume that you are the only user with email on that box. If not...then you just have to move your mailbox back under your home directory or move all the other users mailboxes under /data.





More information about the ubuntu-users mailing list