LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-15-2005, 03:57 AM   #1
Danny Regan
LQ Newbie
 
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5

Rep: Reputation: 0
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?
 
Old 11-15-2005, 12:56 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Postfix reads the config on startup .. did you restart postifx after setting "home_mailbox = Maildir/" ?
 
Old 11-15-2005, 03:27 PM   #3
Danny Regan
LQ Newbie
 
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 11-15-2005, 04:08 PM   #4
Danny Regan
LQ Newbie
 
Registered: Mar 2005
Location: Warrnambool, Victoria, Australia
Distribution: Fedore Core 3
Posts: 5

Original Poster
Rep: Reputation: 0
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>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Dovecot Help BigAppleFan Linux - Newbie 7 08-15-2005 05:08 PM
Postfix and Dovecot umbraeOtheisles Linux - Software 3 11-23-2004 07:36 AM
Configuring Maildir with Postfix and Dovecot umbraeOtheisles Linux - Software 0 04-16-2004 09:33 AM
Maildir, virtual postfix users sopiaz57 Linux - General 0 03-01-2004 09:19 PM
postfix and maildir format forand Linux - Software 4 05-05-2003 12:21 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration