[SOLVED] Can't get Postfix mail boxes from /var/mail to ~/Maildir
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Can't get Postfix mail boxes from /var/mail to ~/Maildir
I'm running a Debian LAMP server and I am adding postfix. The initial config is working and I can send and receive mail both locally and over the WAN. The problem is that I cannot get mail delivered to the user's home directory using Maildir/.
I have set the:
home_mailbox = Maildir/
parameter in main.cf but mail still goes to /var/mail after Postfix reload. The system is now using Maildir/ instead of mbox but in /var/mail. I really want to get mail into the user's home directory.
Bingo, it works!
Postfix setup cur, new, and tmp, just like it should and even deposited an email in new.
I tried to install procmail to find it is installed on the machine.
Should I get procmail running?
I was under the impression that postfix was supposed to invoke procmail, but it didn't.
I've heard procmail a handy tool.
Is there a difference between
Phil, personally I don't 'do' procmail because I don't need it, so my understanding of it is limited. Therefore I'm not the best guy to ask.
As for reload -v- restart. Reload is *usually* ok, but a major change in the configs I like to restart. Not for any other reason than I once had an issue with reload not picking up changes, many many moons ago ;-)
i have Ubuntu 14.04.3 LTS, postfix (2.11.0), dovecot(1:2.2.9-1ubuntu2.1)
maybe add [DEFAULT=/home/$USER/Maildir/], i run successful.
mailbox_command = procmail -a "$EXTENSION" DEFAULT=/home/$USER/Maildir/