Debian This forum is for the discussion of Debian Linux.
|
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-15-2005, 03:57 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5
Rep:
|
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?
|
|
|
|
11-15-2005, 12:56 PM
|
#2
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
Postfix reads the config on startup .. did you restart postifx after setting "home_mailbox = Maildir/" ?
|
|
|
|
11-15-2005, 03:27 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5
Original Poster
Rep:
|
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
|
|
|
|
11-15-2005, 04:08 PM
|
#4
|
|
LQ Newbie
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5
Original Poster
Rep:
|
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>
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|