1

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

4
  • 1
    Apparently mail expects mbox, but you're giving it maildir. For that you need something that can read maildir, like mutt.
    – weirdan
    Commented Aug 24, 2018 at 15:50
  • can't postfix be configured to deliver in mbox?
    – Necktwi
    Commented Aug 24, 2018 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
    Commented Aug 24, 2018 at 16:42
  • thanks! I just configured dovecot's mail.conf to read mail from /var/mail/%u
    – Necktwi
    Commented Aug 25, 2018 at 16:18

0

You must log in to answer this question.

Browse other questions tagged .