0

I have setup postfix server and set home_mailbox = Mail/. How to make mail read mail from ~/Mail/. I tried ln -s ~/Mail /var/mail/$USER but mail complains Cannot open mailbox /var/mail/$USER: Is a directory

  • Apparently mail expects mbox, but you're giving it maildir. For that you need something that can read maildir, like mutt. – weirdan Aug 24 '18 at 15:50
  • can't postfix be configured to deliver in mbox? – Necktwi Aug 24 '18 at 16:03
  • Sure. It uses maildir when it sees trailing slash in home_mailbox, and mailbox when there's none. So just drop the slash: home_mailbox = mbox – weirdan Aug 24 '18 at 16:42
  • thanks! I just configured dovecot's mail.conf to read mail from /var/mail/%u – Necktwi Aug 25 '18 at 16:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.