On 2018-04-30 08:07:07 (-0600), LuKreme wrote:
The root user sends out some periodic mails to users. These mails get
placed in /root/sent (an mbox file) instead of in /root/Maildir/.Sent/
(a Maildir directory).
It’s not a big deal, but it makes clearing the mails periodically
slightly more difficult.
The mails are sent via a crontab entry much like this:
<command> | mutt -e 'set content_type=text/html' -s "DMR $($YDAY)"
u...@kreme.com -b adminu...@kreme.com
main.cf:home_mailbox = Maildir/
But I suspect the issue here is mutt and not postfix?
Correct. You should configure Mutt to use Maildir rather than mbox:
set mbox_type= Maildir
See the muttrc(5) manual for how to configure where sent mail is stored.
You'll probably also want to set the `folder` and `record` options in
addition to `mbox_type`.
Philip
--
Philip Paeps
Senior Reality Engineer
Ministry of Information