[SM-USERS] Error: Connection dropped by IMAP server with dovecot

2011-04-19 Thread Kaplan, Andrew H.
Hi there --

I am running SquirrelMail version 1.4.8-5.el5.centos.10 on a CentOS 5.6 64-bit
distribution 
with MailScanner 4.83.4, Sendmail 8.13.8/8.13.8, and Dovecot 1.0.7 release. All
applications
listed, with the exception of MailScanner, are the packaged versions that come
bundled with
the operation system.

The server is a rebuilt and updated version of an older Fedore Core 7 32-bit
mail server. During the 
rebuilding process all /var/spool/mail folders, as well as all user home
directories, were restored 
from disk backup. This included rebuilding the /etc/passwd and /etc/group files,
as well as verifying 
that ownership and permissions for the users' files were kept intact. 

One user is having problems connecting via the SquirrelMail interface to his
e-mail. Whenever he 
tries to connect, he gets the following error message: 

Error: Connection dropped by IMAP server with dovecot 

I have tested another user account via the SquirrelMail interface, and that user
is able to connect 
without issue. I confirmed the presence of dovecot.index, dovecot.index.cache,
and dovecot.index.log 
files in the problem user's /mail/.imap/INBOX folder. 

The /var/log/maillog files do not list any apparent error messages with
SquirrelMail. Does anyone have 
any idea as to what other steps I need to take to correct this issue? 

Thanks. 



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Error: Connection dropped by IMAP server with dovecot

2011-04-19 Thread michael crane

On Tue, April 19, 2011 3:47 pm, Kaplan, Andrew H. wrote:
> Hi there --
>
> I am running SquirrelMail version 1.4.8-5.el5.centos.10 on a CentOS 5.6
> 64-bit
> distribution
> with MailScanner 4.83.4, Sendmail 8.13.8/8.13.8, and Dovecot 1.0.7
> release. All
> applications
> listed, with the exception of MailScanner, are the packaged versions that
> come
> bundled with
> the operation system.
>
> The server is a rebuilt and updated version of an older Fedore Core 7
> 32-bit
> mail server. During the
> rebuilding process all /var/spool/mail folders, as well as all user home
> directories, were restored
> from disk backup. This included rebuilding the /etc/passwd and /etc/group
> files,
> as well as verifying
> that ownership and permissions for the users' files were kept intact.
>
> One user is having problems connecting via the SquirrelMail interface to
> his
> e-mail. Whenever he
> tries to connect, he gets the following error message:
>
> Error: Connection dropped by IMAP server with dovecot
>
> I have tested another user account via the SquirrelMail interface, and
> that user
> is able to connect
> without issue. I confirmed the presence of dovecot.index,
> dovecot.index.cache,
> and dovecot.index.log
> files in the problem user's /mail/.imap/INBOX folder.
>
> The /var/log/maillog files do not list any apparent error messages with
> SquirrelMail. Does anyone have
> any idea as to what other steps I need to take to correct this issue?
>
> Thanks.


In the dovecot.conf there is a line to limit the UIDs that can connect as
it's just one user maybe it's something to do with that ?

mick


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Error: Connection dropped by IMAP server with dovecot

2011-04-19 Thread Garry Taylor

Check the permissions for the users folder.
/mail/.imap/INBOX
Make sure the mail server/user has write access to these files.

Check dovecot.conf to make sure there are no block lists that stop this 
user connecting.


Are both users using the same domain name for their email address?

Giz

On 19/04/2011 15:47, Kaplan, Andrew H. wrote:


Hi there --

I am running SquirrelMail version 1.4.8-5.el5.centos.10 on a CentOS 
5.6 64-bit distribution
with MailScanner 4.83.4, Sendmail 8.13.8/8.13.8, and Dovecot 1.0.7 
release. All applications
listed, with the exception of MailScanner, are the packaged versions 
that come bundled with

the operation system.

The server is a rebuilt and updated version of an older Fedore Core 7 
32-bit mail server. During the
rebuilding process all /var/spool/mail folders, as well as all user 
home directories, were restored
from disk backup. This included rebuilding the /etc/passwd and 
/etc/group files, as well as verifying

that ownership and permissions for the users' files were kept intact.

One user is having problems connecting via the SquirrelMail interface 
to his e-mail. Whenever he

tries to connect, he gets the following error message:

Error: Connection dropped by IMAP server with dovecot

I have tested another user account via the SquirrelMail interface, and 
that user is able to connect
without issue. I confirmed the presence of dovecot.index, 
dovecot.index.cache, and dovecot.index.log

files in the problem user's /mail/.imap/INBOX folder.

The /var/log/maillog files do not list any apparent error messages 
with SquirrelMail. Does anyone have

any idea as to what other steps I need to take to correct this issue?

Thanks.



The information in this e-mail is intended only for the person to whom 
it is
addressed. If you believe this e-mail was sent to you in error and the 
e-mail
contains patient information, please contact the Partners Compliance 
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you 
in error
but does not contain patient information, please contact the sender 
and properly

dispose of the e-mail.


--
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev


-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Error: Connection dropped by IMAP server with dovecot

2011-04-19 Thread Kaplan, Andrew H.
Hi there --

Thanks for your reply. I did some investigating of the dovecot.conf file, and I
came across something in addition to your suggestion. The section I am referring

to is shown below:

# Valid UID range for users, defaults to 500 and above. This is mostly
# to make sure that users can't log in as daemons or other system users.
# Note that denying root logins is hardcoded to dovecot binary and can't
# be done even if first_valid_uid is set to 0.
#first_valid_uid = 500
#last_valid_uid = 0

I ran the cat command on the passwd file, and did a grep for the two user
accounts.
The account that worked had a userid that was greater than 500, while the one
that
did not work had a value below the 500 integer. 

I changed the uid of the problem user account to a value greater than 500, and
was
subsequently able to log into the server. 

Thanks for the help.

> In the dovecot.conf there is a line to limit the UIDs that can connect as
> it's just one user maybe it's something to do with that ?

> mick



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users