I have recently set up my mail server with Debian 7.2 (Wheezy), Dovecot, and Postfix, as described in this guide. This is all working fine, and I have installed and configured Roundcube and Postfixadmin and got everything working nicely together.

What I would like to do now is link my normal user account to the mail and sendmail programs so that:

Is there an easy way to accomplish this?

  • Are you talking about running those commands from the mail server, or from some other machine? If the latter, then what's the mail setup like on that other machine?
    – derobert
    Commented Dec 6, 2013 at 19:10
  • On the mail server. Commented Dec 6, 2013 at 22:10

1 Answer 1


No, as point 1 cannot be done. mail doesn't do IMAP or POP3 as provided by Dovecot.

(Also once you link your home directory to /usr/bin/mail or /usr/bin/sendmail - can not do both - you not login anymore. do not do that)

  • Heirloom-mailx (one of the alternatives for mail) does both POP3 and IMAP.
    – derobert
    Commented Dec 6, 2013 at 19:09
  • I just checked and it turns out that my mail actually ends up running heirloom-mailx! How do I go about setting it up to use IMAP? Commented Dec 6, 2013 at 22:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .