[neomutt-users] set up maildir -> set mbox_type=maildir

Teno Deuter gvgter at googlemail.com
Mon Jul 2 21:47:55 CEST 2018


Thank you for your further help on this.

I did the following when creating a maildir structure:

mkdir -p /var/mail/{user}/{Inbox,Drafts,Sent,Trash,Spam}/{new,cur,tmp}

obviously the above differs from what you have proposed but I thought
this was the correct way to do it!


On Mon, Jul 2, 2018 at 12:00 AM, Floyd Anderson <f.a at 31c0.net> wrote:
> Hi Teno,
>
> On Sun, 01 Jul 2018 20:40:01 +0300
> Teno Deuter <gvgter at googlemail.com> wrote:
>>
>>
>> 1.
>> when I did define the mbox type to 'maildir' in the /etc/neomuttrc
>> nothing was affected. The old behavior persists.
>>
>> 2.
>> when I did define the mbox type to 'maildir' in the
>> /home/[user]/.neomuttrc I get the following:
>>
>> /home/[user]/Mail does not exist. Create it?
>> I type 'no'
>> /var/mail/[user] is not a mailbox
>>
>> please note that in /var/mail/[user] a maildir structure does exist!
>
>
> I'd like to point out a quick way to test if something is wrong with your
> configuration or maildir structure (I think it is). Just create an empty
> mailbox of format type maildir, start NeoMutt without any system- and
> user-specific configuration while pointing to the test mailbox:
>
>  $ mkdir -p /tmp/mail/dir/{cur,new,tmp}
>  $ neomutt -n -F /dev/null -f /tmp/mail/dir
>
> If you want to see something in index/pager, create a "message":
>
>  $ printf '\n%s\n\n' "hello world!" > /tmp/mail/dir/new/msg1.txt
>
> This will show you, that it works completely automatically without any
> configuration. Afterwards, like Sven mentioned, look at your maildir
> structure/config files.
>
> Hope that helps.
>
>
> --
> Regards,
> floyd
>


More information about the neomutt-users mailing list