#1  
Old 25th January 2009, 22:12
sbbobd sbbobd is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Email duplication problem

Hi, I've been a happy user of ISPConfig for several years. (minor chord plays in background I'm using a Debian Sarge 3.1 installation setup via the appropriate 'perfect Debian setup'.

Recently a new problem with email started showing up. This problem manifests itself as duplicate emails in the users' inbox along with a lengthy wait as the users' email client app does its work. That is, the problematic emails are reread into the client's inbox each time the client logs into the mail server to check the mail.

The problem appears to be related to binary attachments, particularly ones that are >5Mb in size. The clients with these problems are setup to delete emails from the server as they are read. Thus, I can look at their inbox with a text editor or via 'mail -f /var/mail/webxx_username' and verify that the problematic emails (and subsequent emails in the inbox) are not getting deleted after they are read. After I manually delete the emails from their inbox, the duplication stops.

Perusing the boards here at HowtoForge leads me to believe it could be a file locking problem, though, like I said, I've been a happy user for years and this problem just started to show up and only on certail email accounts. My thinking on the locking issue is that the mechanism whereby the message is deleted from the client's inbox fails due to a locking problem, therefore the message doesn't actually get deleted.

My current effort to resolve this issue included enabling/disabled the 'MailScan' option in ISPConfig to stimulate a rewrite of the mail config files in hopes that that is the problem. This did not work.

How would I go about testing the locking mechanism to verify that it is or is not working correctly?

Any help would be greatly appreciated...
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2009, 00:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Thats a common problem with mail systems that use mbox format as mail storge. The best solution for this is to switch to the newer maildir format.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th January 2009, 05:39
sbbobd sbbobd is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Upgrade from mbox to maildir

Okay, so I need to install courier-imap, courier-imap-ssl, courier-pop and courier-pop-ssl via apt-get.

Correct?

Then I simply check the 'Maildir' box in the ISPConfig...
Reply With Quote
  #4  
Old 26th January 2009, 11:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Yes, thats correct. In case there are old mails stored in mbox format that have not been fetcehd yet by your customers, you will have to convert them to maildir format. This works e.g. with the command mb2md, you will find several threads about that in the forum incl. some helper scripts to automate the conversion.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 13th February 2009, 23:23
sbbobd sbbobd is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default mbox and Maildir mutually exclusive?

Thanks a bunch for the emails on this thread, till.

I've now proven that Maildir works on a new install of ISPConfig.

Now I'm faced with updating a live server to switch from mbox to Maildir.

After I install courier-imap, courier-imap-ssl, courier-pop and courier-pop-ssl, will the mbox config work or do I have to switch to Maildir (in ISPConfig) to get mail up and running again. That is, are mbox and Maildir mutually exclusive?

Can I switch back and forth between mbox and Maildir without doing install/uninstall of packages?

Thanks sooo much,
sbbobd
Reply With Quote
  #6  
Old 14th February 2009, 15:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by sbbobd View Post
do I have to switch to Maildir (in ISPConfig) to get mail up and running again.
Yes.

Quote:
Originally Posted by sbbobd View Post
That is, are mbox and Maildir mutually exclusive?
Yes.

Quote:
Originally Posted by sbbobd View Post
Can I switch back and forth between mbox and Maildir without doing install/uninstall of packages?
No.
__________________
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 14th February 2009, 18:01
sbbobd sbbobd is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to return to mbox - in case of errors running Maildir

If, due to some unforeseen consequence, the switch to Maildir fails, how do I return to mbox?

Do I rerun the Postfix/POP3/IMAP install steps? Or, is their a quicker way?

Thanks,
sbbobd
Reply With Quote
  #8  
Old 15th February 2009, 17:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

In that case you will have to install the old imap and pop3 daemon again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 15th February 2009, 17:33
sbbobd sbbobd is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default the old pop and imap daemons

The install of postfix is

apt-get install postfix postfix-tls libsasl2 sasl2-bin libsasl2-modules ipopd-ssl uw-imapd-ssl

Do I only need to reinstall ipopd-ssl and uw-imapd-ssl?

Thanks,
sbbobd
Reply With Quote
  #10  
Old 15th February 2009, 17:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Quote:
Originally Posted by sbbobd View Post
Do I only need to reinstall ipopd-ssl and uw-imapd-ssl?
Yes, that's right.
__________________
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Email Problem Darren996 General 3 5th October 2008 13:43
problem at email admin user nasir Installation/Configuration 1 26th February 2008 19:51
Postmaster Email Problem Alam General 8 19th February 2008 15:49
email problem, one client only chancer Installation/Configuration 35 13th February 2008 13:34


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


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