Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mail server configuration problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kronos1
n00b
n00b


Joined: 25 May 2003
Posts: 29
Location: New Hampshire, USA

PostPosted: Sat Jun 26, 2004 10:43 pm    Post subject: mail server configuration problem Reply with quote

I’m trying to set up an IMAP mail server. I followed the directions in the Desktop Configuration Guide. So I emerged mutt and postfix with no errors that I could see. So I configured and started postfix and tried to email root. It seems to send ok, but when I try to check the mailbox, it doesn’t show the sent message and also says “/root/.maildir is not a mailbox”. So that’s the first problem.

I also emerged courier-imap and did the “1 LOGIN” check and that came out fine. I also tried to do a “mutt -f imap://localhost” and it asked me for a user and password that it seems to accept. But after I enter the password it says “unable to open this mailbox”. I checked manually to see if the /.maildir was created and it was (it shows up in root’s directory). Any help would be appreciated. Thanks.
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sat Jun 26, 2004 11:16 pm    Post subject: Reply with quote

The classic way to do this is not to use root: setup your aliases in /etc/mail/aliases so that the mail for root is redirected to a normal user
Also, check that in your /etc/postfix/main.cf you have home_mailbox = .maildir/ and that your imap server is also configured for this (for courier-imap the settings are in /etc/courier-imap/imapd and are MAILDIRPATH=Maildir and MAILDIR=.maildir)
Indeed sometimes the maildir related things are looking for the emails in ~/Maildir and not ~/.maildir , they may also don't want you to use the root account, or require the foo file to have permissions 600, so if you still have problems I suggest you give us more food, and look in the logs (in /var/log/mail )
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
kronos1
n00b
n00b


Joined: 25 May 2003
Posts: 29
Location: New Hampshire, USA

PostPosted: Sun Jun 27, 2004 1:26 am    Post subject: thanks Reply with quote

Yeah the home_mailbox setting was the problem. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum