#1  
Old 26th April 2007, 12:35
thavaht thavaht is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 53
Thanks: 7
Thanked 2 Times in 2 Posts
Default Problem with maildir

I’ve followed “The Perfect Setup - Debian Etch (Debian 4.0)” and installed Etch successfully – thank you Falko.
After all I installed Squirrelmail and created some users. Created users can’t log to their mail accounts until maildir is created. Maildir is created when user receive the first mail.
Is there any configuration so that users can log to their mail account prior to receiving any mail?
Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 26th April 2007, 13:06
Reptile Reptile is offline
Member
 
Join Date: Apr 2007
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post
Default

/usr/bin/maildirmake -S /home/user_name/Maildir

try this.
Reply With Quote
  #3  
Old 26th April 2007, 21:05
thavaht thavaht is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 53
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Thanks for replying. I’ve tryied the command. There are no changes.
The following message is displayed:

Usage: maildirmake [ options ] maildir
Reply With Quote
  #4  
Old 26th April 2007, 22:12
Reptile Reptile is offline
Member
 
Join Date: Apr 2007
Posts: 62
Thanks: 6
Thanked 1 Time in 1 Post
Default

well thats the command that worked for me. did you replace "user_name" with a working system user?

When you have done that and the Maildir directory is made (delete it if it was already there , or rename it), you must chown it

chown -r user_name /home/user_name

then do a chmod -r 755 /home/user_name

I had the same problem as you did before i ran this command. remember that squirrelmail is not responsible for creating the Maildir.
Reply With Quote
  #5  
Old 26th April 2007, 23:04
thavaht thavaht is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 53
Thanks: 7
Thanked 2 Times in 2 Posts
Default

I understand that’s not squirrelmail’s problem. What I noticed is that when a new system user attempts to log via squirrelmail the following message is returned:
ERROR: Connection dropped by IMAP server.

This last until the user receive his first mail, i.e. when maildir is created by the system.

I know I can type:
Code:
maildirmake 	/home/user_name/Maildir
Maildir for that user will be created, but I’m not aiming to create Maildir for each user one by one. The other problem is that after creating Maildir this way, messages to the user cannot be delivered, as shown bellow:

This is the mail system at host mail2.ustm.ac.mz.
……………………………………………………………
…………………………………………………………
……… returned message.

The mail system

<floriana@mail2.ustm.ac.mz>: maildir delivery failed: create maildir file
/home/floriana/Maildir/tmp/1177620066.P5114.mail2.ustm.ac.mz: Permission denied
Reply With Quote
  #6  
Old 26th April 2007, 23:19
thavaht thavaht is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 53
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Problem with mail not being delivered after creating Maildir is solved with chown and chmod ... I should have tried before.
The point now is how to configure the system so that users can log to their mail boxes, even before receiving mail, without creating Maildir manually?
Reply With Quote
  #7  
Old 27th April 2007, 14:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lόneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by thavaht
The point now is how to configure the system so that users can log to their mail boxes, even before receiving mail, without creating Maildir manually?
Maildir is created automatically when the first email for a new account arrives. So you could send new users a welcome mail or something similar.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 27th April 2007, 22:03
thavaht thavaht is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Maputo - Mozambique
Posts: 53
Thanks: 7
Thanked 2 Times in 2 Posts
 
Default

Would some one point me a way of having a welcome mail automatically generated and deliverede to new users?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Maildir permission problem LionRock Installation/Configuration 11 23rd December 2006 12:17
Problem on Perfect Setup SUSE10.1 : Maildir can not be occured sedat1903 HOWTO-Related Questions 21 17th September 2006 13:48
Spam filter maildir problem sirmokk Installation/Configuration 2 31st August 2006 08:55
Maildir problem rosa hsiao General 7 13th January 2006 07:57


All times are GMT +2. The time now is 04:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.