postfix dovecot Maildir
hi,
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 postfix/main.cf "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? |
Postfix reads the config on startup .. did you restart postifx after setting "home_mailbox = Maildir/" ?
|
hi,
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; MAILDIR=$HOME/Maildir DEFAULT=$MAILDIR/ 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 |
I think that I have worked it out.......
I changed the line in postfix-main.cf 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. Danny ps: Now to try pop, quota's, virus & spam, .forward etc <g> |
All times are GMT -5. The time now is 09:09 AM. |