#1  
Old 20th May 2006, 17:56
d1m d1m is offline
Junior Member
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb IMAP troubles

Hello all. I have some issue with using IMAP.
I'm running Debian Etch + Postfix + CourierIMAP/POP. And sure ISPConfig =)

First I had troubles with connecting to IMAP service. It was "Login failed" message. After making some changes to
/etc/courier/authdaemonrc
First there was
Code:
authmodulelist="authuserdb"
and login starts functioning after changing to
Code:
authmodulelist="authuserdb authpam"
But now I have such lines in syslog:
Code:
May 20 18:52:42 vps26ua imaplogin: Connection, ip=[::ffff:127.0.0.1]
May 20 18:52:42 vps26ua imaplogin: LOGIN: DEBUG: ip=[::ffff:127.0.0.1], command=AUTHENTICATE
May 20 18:52:42 vps26ua imaplogin: authdaemon: starting client module
May 20 18:52:42 vps26ua imaplogin: authdaemon: ACCEPT, username web17_admin
May 20 18:52:42 vps26ua imaplogin: chdir Maildir: No such file or directory
There are folders in /var/spool/mail/virtual with sitenames, and I think appropriate should be here: /var/spool/mail/virtual/hs.net.ua/admin. There are maildir folder structure in this folder.

Please, help to fix this issue. I'm new to mailing system configuration.
Reply With Quote
Sponsored Links
  #2  
Old 20th May 2006, 18:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Quote:
Originally Posted by d1m
There are folders in /var/spool/mail/virtual with sitenames, and I think appropriate should be here: /var/spool/mail/virtual/hs.net.ua/admin. There are maildir folder structure in this folder.
These folders can not be from ISPConfig, ISPConfig uses a different folder scheme and the folders are never in /var/spool/...

Try to send an email to the mailbox, postfix will create the Maildir for you. Make sure you checked the "Maild ir" checkbox in ISPConfig under Management > server > settings on the mail tab.

If you are not sure taht you configured postfix correctly, have a look at the debian perfect setup howtos linked on the ISPConfig documentation page.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th May 2006, 23:03
d1m d1m is offline
Junior Member
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

Yes, I missed those checkbox. But there is one more trouble. I have no Trash folder. Only incoming. So, using roundcube I can't delete mail by moving them to trash.
Reply With Quote
  #4  
Old 21st May 2006, 13:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,771
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Quote:
Originally Posted by d1m
Yes, I missed those checkbox. But there is one more trouble. I have no Trash folder. Only incoming. So, using roundcube I can't delete mail by moving them to trash.
Roundcube is stil in alpha state, if i remember correctly there are some problems with the trash folder.

If you want to create imap folders manually, you can try the "Maildirmake" command.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 21st May 2006, 17:00
d1m d1m is offline
Junior Member
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It works fine if I create folder "Trash" manualy through web-interface of roundcubemail. But is there an option to create this folder for each mail account automaticaly? I have strong knowledges in php language, so please tell me, where could I modify engine to add this folder.
Reply With Quote
  #6  
Old 21st May 2006, 20:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Have a look at the user_insert() function in /root/ispconfig/scripts/lib/config.lib.php. But keep in mind that you lose the ability to update to future versions of ISPConfig if you customize your version.
__________________
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
  #7  
Old 21st May 2006, 23:38
d1m d1m is offline
Junior Member
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As you told,
>postfix will create the Maildir for you.
Is there an template of maildir structure used by postfix on ~/Maildir creation? Or should I add exex('.....') to the script?

PS: Please, sorry for my bad English.
Reply With Quote
  #8  
Old 22nd May 2006, 08:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

There is a Maildir folder, and in it the folders cur, new and tmp.
__________________
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
  #9  
Old 22nd May 2006, 22:30
d1m d1m is offline
Junior Member
 
Join Date: May 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
There is a Maildir folder, and in it the folders cur, new and tmp.
I expressed myself with ambiguity. I mean, template for the INBOX, Trash and Sent folders.

Or, in other words, how can I automatically create this folders?
Reply With Quote
  #10  
Old 22nd May 2006, 22:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by d1m
Or, in other words, how can I automatically create this folders?
With the maildirmake command: http://www.howtoforge.com/forums/sho...ht=maildirmake
__________________
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
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
Create imap folder alex916 Installation/Configuration 12 9th April 2007 21:04
Cyrus IMAP hastlaug General 2 12th April 2006 11:06
Perfect Setup - FC4 : Can't get imap mromer HOWTO-Related Questions 2 26th November 2005 08:34
External Email Getting Lost jash General 10 8th November 2005 21:55
Cyrus IMAP Configuration ?? kisong Installation/Configuration 20 26th October 2005 17:15


All times are GMT +2. The time now is 07:48.


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