Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-06-2015, 01:28 AM   #1
Registered: Jul 2012
Posts: 97

Rep: Reputation: Disabled
GNU Mailutils 2.99.98 is not saving mail in the correct directory

Hi all.

I have a gentoo box with opensmtpd / GNU mailutils setup to read system mail and mailutils is giving me issues on where it saves mail.

Gentoo's default mailbox is a maildir in the uses home directory and mailutils default mailbox is mbox in /var/spool/mail. So in after modifying the mailutils.rc to:
mailbox {
  mailbox-pattern "maildir:///home/${user}/.maildir";
  mailbox-type maildir;
I was able to get mailutils specify that im using a maildir, to point to the location of users maildir, and read mail that was delivered; however a problem lurks in where mailutils stored the read mail. instead of using maildir it created and used a mbox.

Reading the manual states the the mailbox-type configuration variable overides the hardcoded fallback and that the only other choice I would have is to modify the default variable at compile time however the ebuild file has a commented out block showing that doing that causes the build tests to fail and the package not to build. So im left with a question to someone who has configured mailutils becfore. Have I somehow misread the configuration instructions at and misconfigured the rc file?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailutils supravat Linux - Software 2 07-15-2010 01:34 PM
Mailutils (mail command) seprob Linux - Server 9 10-31-2008 03:16 AM
troubles of mailutils & mail command tatsuya Linux - Newbie 2 06-15-2008 08:52 PM
which is the correct directory path? verbatim Programming 1 04-24-2005 11:22 PM > Forums > Linux Forums > Linux - Software

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

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