[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Read mail not being saved in /var/mail/<user>
From: |
Simon Harrison |
Subject: |
Read mail not being saved in /var/mail/<user> |
Date: |
Tue, 31 May 2022 16:20:00 +0100 |
I'm trying to set up my mail so that everything stays in /var/mail/user
rather than being moved to home. I'm using mailutils 3.15
$ mailutils info sysconfdir
SYSCONFDIR=/usr/local/etc
Here is my conf file:
/usr/local/etc/mailutils.conf
mailbox {
mailbox-type maildir;
mailbox-pattern "maildir:///var/mail/${user}";
}
mail {
set hold=1;
set keepsave=1;
}
$ mail --config-lint
mail: opening configuration file /usr/local/etc/mailutils.conf
mail: parsing file `/usr/local/etc/mailutils.conf'
mail: finished parsing file `/usr/local/etc/mailutils.conf'
mail: opening configuration file /home/simon/.mail
mail: configuration file /home/simon/.mail doesn't exist
However, when I send a test mail to myself and read it, it gets deleted
from the system mailbox.
Saved 1 message in /home/simon/mbox
Held 0 messages in maildir:///var/mail/simon
Also, mailutils not sure if the following is how things should be:
mailutils creates an mbox folder in maildir format.
simon@jupiter:~$ tree mbox
mbox
├── cur
│ ├── 1653937159.M691198P46987Q0.jupiter,a=O,u=1:2,S
│ ├── 1653937223.M512550P47021Q1.jupiter,a=O,u=2:2,S
│ ├── 1653997807.M976119P69692Q2.jupiter,u=3:2,S
│ ├── 1654009289.M574298P92209Q3.jupiter,u=4:2,S
│ ├── 1654009560.M533475P92239Q4.jupiter,u=5:2,S
│ └── 1654009999.M700552P92288Q5.jupiter,u=6:2,S
├── new
└── tmp
3 directories, 6 files
Any ideas?
Regards,
Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Read mail not being saved in /var/mail/<user>,
Simon Harrison <=