LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-05-2003, 10:47 AM   #1
forand
Member
 
Registered: May 2002
Location: SF Bay Area
Posts: 54

Rep: Reputation: 15
postfix and maildir format


Hello all,
I have just had to completely re-install my server which is a dual ppro 200 with a whappin 256M or ram(okay it is an old junker but is does mail and www great). In anycase the server originally had Mandrake 8.2 but I thought I would upgrade to 9.1 which went just fine and all seem to be running much faster and cleaner BUT before I was using a source installed version of qmail(great mta) but I had heard really nice things about Postfix so I thought I would give it a try. It works fine but I can't seem to get it to deliever mail via the Maildir format. I have changed the line in /etc/postfix/main.cf to:

home_mailbox = Maildir/

And I still am getting mail delivered to /var/spool/mail/$USER.

Ideally I would like to have only transitory mail storage in /var/spool/postfix which seems to occur and mail delivered to ~$USER/Maildir/.

On a side note how does one configure mutt to view this mail once the above change is made?

Thanks for you help!
 
Old 05-05-2003, 11:23 AM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
It sounds like you want procmail. It sorts and delivers.

# Common e-mail tools
sendmail - postfix - sends mail to local users (and internet when configured correctly)
fetchmail - gets mail from internet accounts (non-Hotmail type)
procmail - sorts and delivers into separate mailboxes
mutt - mail client that sucks less than all the others
Email the Linux Way
Suresh Ramasubramanian's email guide
The Linux Mail User HOWTO
The Linux Electronic Mail Administrator HOWTO
 
Old 05-05-2003, 11:42 AM   #3
forand
Member
 
Registered: May 2002
Location: SF Bay Area
Posts: 54

Original Poster
Rep: Reputation: 15
Procmail is already installed and referenced in main.cf with:
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
I am not sure what commands I want run when
 
Old 05-05-2003, 12:03 PM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
You just need to write your .procmailrc configuration file.

See the documentation on the procmail website (very good mailing list as well) for writing your sorting receipes.

Last edited by fancypiper; 05-05-2003 at 12:09 PM.
 
Old 05-05-2003, 12:21 PM   #5
forand
Member
 
Registered: May 2002
Location: SF Bay Area
Posts: 54

Original Poster
Rep: Reputation: 15
fancypiper - I removed the line:
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
From my main.cf file and things work fine now. I needed to make a .muttrc file but that was all. thanks for the help.
 
  


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
A script to convert maildir to mailbox format i_s Linux - General 7 12-14-2009 03:20 PM
postfix dovecot Maildir Danny Regan Debian 3 11-15-2005 04:08 PM
maildir format tools syl20 Linux - Software 5 01-19-2005 06:55 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


All times are GMT -5. The time now is 08:40 PM.

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