-   Debian (
-   -   postfix dovecot Maildir (

Danny Regan 11-15-2005 03:57 AM

postfix dovecot Maildir

I have a fresh install of postfix that is pretty much out-of-box, installed;
dovecote with ;
"default_mail_env = maildir:/home/%u/Maildi" to match a record in

"home_mailbox = Maildir/"

I can send emails to the server, but they go to "/var/mail" folder <username> file...

The Maildir seens to work ok when listing sent mails from a mail reader at any location, and I can create new folders, but cannot see new mails - they are in/var/mail/<username> .

There must be another setting - and I am all googled out, please help?

farslayer 11-15-2005 12:56 PM

Postfix reads the config on startup .. did you restart postifx after setting "home_mailbox = Maildir/" ?

Danny Regan 11-15-2005 03:27 PM


Yup, restarted postfix a couple of times then restarted dovecot.....

Is there a possibility that the line [ "mailbox_command = procmail -a "$EXTENSION" ] should be something else - does this mean that postfix uses procmail to deposit mail into mail box's.

When I read about procmail, an /etc/procmailrc file is always listed - I don't have one of these and tried to create one (restarting postfix) but did not work.

I am often referenced to;


but I don't know how to insert this into the mailbox_command.... None of the dovecot docs seem to mention how this may be done.

Thank you

Danny Regan 11-15-2005 04:08 PM

I think that I have worked it out.......

I changed the line in to;

#mailbox_command = procmail -a "$EXTENSION"
mailbox_command = /usr/bin/procmail -a "$USER

Although I can now get mail, I found that something writes to a logfile (prob. procmail) at /home/user/logs/procmaillog.

I created the log folder and touch'd the procmaillog

This time (after restarting postfix) I not only go mail, there was also an entry in the new log file.

Q. how is this log file emptied, or does it go on forever?

Thank you for those who do review and try to provide support.



Now to try pop, quota's, virus & spam, .forward etc <g>

All times are GMT -5. The time now is 12:12 AM.