LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 07-15-2006, 10:40 AM   #1
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
Maildir thinks it's mbox.. and other issues :)


Hi guys,

I have followed these instructions to set up qmail.. I opted for Maildir, because it seemed like the 'right thing to do' However the test emails I have sent appear to be in one big file under $HOME/Maildir, which seems to be mbox-like to me. I expected a separate file for each message. What could be happening here?

Additionally I have installed qmail-pop3d and it seems to be accepting connections and authenticating just fine, but no emails actually come down to the client.. (I'm using Evolution). I can see all the emails in the $HOME/Maildir file on the mail server, so what do I need to do to allow these to come in?

christo
 
Old 07-16-2006, 08:52 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
What is your default delivery set to?

Can you post the output from
cat /var/qmail/control/defaultdelivery
ls -l ~/
 
Old 07-16-2006, 04:09 PM   #3
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by david_ross
What is your default delivery set to?

Can you post the output from
cat /var/qmail/control/defaultdelivery
ls -l ~/
christo@db-2:~$
christo@db-2:~$ cat /var/qmail/control/defaultdelivery
./Maildir
christo@db-2:~$ ls -l ~/
total 8
-rw------- 1 christo users 5460 Jul 16 13:00 Maildir


Notice how that Maildir is a file - not a directory... and it contains all my test emails.. all in the one file, which seems very mbox-like to me :S


christo
 
Old 07-17-2006, 12:18 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
Take a closer look at the table here:
http://lifewithqmail.org/lwq.html#start-qmail

If you don't specify a slash at the end of the defautl delivery name it will assume a file desitination and not a directory.

Try:
echo ./Maildir/ > /var/qmail/control/defaultdelivery
qmailctl restart
 
Old 07-24-2006, 05:56 PM   #5
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
Hi - I have tried both versions - with the slash and without. Neither seems to work. With the slash added, I then sent a mail to myself to see if the Maildir directory would be created. It wasn't. I then created a new maildir under /home/chris/Maildir, chowned it to chris.users and chmod'd it to 666, restarted qmail and tried again. This is the error I get in /var/log/qmail/current:

Code:
@4000000044c54fd2050eb744 info msg 128623: bytes 883 from <chris@spiration.co.uk> qp 17781 uid 51
@4000000044c54fd2052ab73c starting delivery 4: msg 128623 to local christo@hiddendomain.net
@4000000044c54fd2052bebd4 status: local 1/10 remote 0/20
@4000000044c54fd20554306c delivery 4: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/
@4000000044c54fd205543c24 status: local 0/10 remote 0/20

Anybody have any ideas?


ta


christo
 
Old 07-26-2006, 04:16 PM   #6
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
*bump any ideas?


christo
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Maildir and mbox vikasumit Linux - Software 11 06-03-2006 12:48 AM
popa3d and Maildir or mbox sulee Slackware 4 07-25-2005 08:45 AM
maildir and mbox deflin39 Linux - Newbie 1 01-07-2004 10:08 PM
Convert Maildir to Mbox leonardox Linux - Software 2 09-26-2003 11:23 PM
Differences? mbox vs maildir MasterC Linux - General 3 01-31-2003 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration