Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2007, 15:29
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail retrieval - connection intentionally closed by the server

Hello,

This happens on 2 domains only, the configuration was working smoothly but now (without any changes that I know of) the following error occurs when trying to fetch mail from either imap or pop3:

- The connection was intentionally closed by the server before the session was completed.

This is after the user/passwd check is completed.

How do I fix this?
Reply With Quote
Sponsored Links
  #2  
Old 2nd January 2007, 23:32
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, the cause of the problem is still unknown but somehow it disappeared...
Reply With Quote
  #3  
Old 3rd January 2007, 11:04
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

And the problem is back again, this time on another domain and with extra complications.

When you send a message to this domain postfix wil return this:

Final-Recipient: rfc822; ds2_w27_kresten@ds2.tt-hosting.nl
Original-Recipient: rfc822; testing@kresten.nl
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; maildir delivery failed: create
/var/www/web27/Maildir/tmp/1167817327.P9625.ds2.adsl.utwente.nl: Permission
denied

* another question on the side, the hostname for this server during install was ds2.adsl.utwente.nl but that was temporary, postfix/spamassassin still use this but I can't find it in the config files. Where should I look to change this?
Reply With Quote
  #4  
Old 3rd January 2007, 11:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Please post the output of::

ls -la /var/www/web27/Maildir
ls -la /var/www/web27/Maildir/tmp
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd January 2007, 11:32
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

root@ds2:/var/www/web27# ls -al Maildir
lrwxrwxrwx 1 root root 43 2007-01-03 11:07 Maildir -> /var/www/web27/user/ds2_w27_kresten/Maildir
root@ds2:/var/www/web27# ls -al Maildir/tmp
total 8
drwx------ 2 ds2_w27_kresten web27 4096 2007-01-03 11:06 .
drwx------ 5 ds2_w27_kresten web27 4096 2007-01-03 11:06 ..
root@ds2:/var/www/web27#
Reply With Quote
  #6  
Old 3rd January 2007, 12:14
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Restarting courier/postfix, changing permissions on the directory's won't work. Adding another user and/or deleting and creating the mailusers from scratch don't give anything either.

I can't see any related entry's in /var/log/mail.err or /var/log/mail.info or /var/log/mail.log
Reply With Quote
  #7  
Old 3rd January 2007, 17:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
ls -la /var/www/web27/user/ds2_w27_kresten/Maildir
?
__________________
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 5th January 2007, 10:30
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

root@ds2:/var/www/web27/user/ds2_w27_kresten/Maildir# ls -al
total 20
drwx------ 5 ds2_w27_kresten web27 4096 2007-01-04 11:14 .
drwxr-xr-x 4 ds2_w27_kresten web27 4096 2007-01-04 11:14 ..
drwx------ 2 ds2_w27_kresten web27 4096 2007-01-04 11:14 cur
drwx------ 2 ds2_w27_kresten web27 4096 2007-01-04 11:14 new
drwx------ 2 ds2_w27_kresten web27 4096 2007-01-04 11:14 tmp

I "solved" the problem by deleting the site and creating it again. However another site suddenly gave the same (failed create: permission denied) error which also worked fine before. This time the site only had 1 mailuser which forwarded all mail to another domain without storing it in the user mailbox or doing any spam/mailscan activities. Here the "solution" also was to remove and re-create from scratch.
Reply With Quote
  #9  
Old 5th January 2007, 10:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Is the ls output above before or after you recreated the site?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 5th January 2007, 11:10
vincentthe vincentthe is offline
Member
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

This above output is before.

The output beneath is after:
root@ds2:/var/www/web29/user/ds2_w29_kresten# ls -al Maildir/
total 32
drwx------ 5 ds2_w29_kresten web29 4096 2007-01-03 12:22 .
drwxr-xr-x 5 ds2_w29_kresten web29 4096 2007-01-03 13:06 ..
-rw-r--r-- 1 ds2_w29_kresten web29 5540 2007-01-03 13:24 courierpop3dsizelist
drwx------ 2 ds2_w29_kresten web29 8192 2007-01-03 13:24 cur
drwx------ 2 ds2_w29_kresten web29 4096 2007-01-05 10:39 new
drwx------ 2 ds2_w29_kresten web29 4096 2007-01-05 10:39 tmp

And the new output from the other site.
root@ds2:/var/www/web40/user/ds2_w40_info# ls -al Maildir/
total 20
drwx------ 5 ds2_w40_info web40 4096 2007-01-04 11:14 .
drwxr-xr-x 4 ds2_w40_info web40 4096 2007-01-04 11:14 ..
drwx------ 2 ds2_w40_info web40 4096 2007-01-04 11:14 cur
drwx------ 2 ds2_w40_info web40 4096 2007-01-04 11:14 new
drwx------ 2 ds2_w40_info web40 4096 2007-01-04 11:14 tmp


The most problematic thing is that I can't see or predict when these things are happening. Luckily both the sites with problems so far were e-mail (with very few users) only, so it was easy to delete/recreate. I don't even want to think about what is going to happen if one of the larger sites/domains is being struck with this problem.
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 12:32.


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