CentOS 5 Server :: ERROR: Connection Dropped By IMAP Server
May 7, 2011Whenever I try to login via SquirrelMail into my account I get this error message:
ERROR: Connection dropped by IMAP server.
Whenever I try to login via SquirrelMail into my account I get this error message:
ERROR: Connection dropped by IMAP server.
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. 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:
Quote:
Error: Connection dropped by IMAP server with dovecot
I have tested another user account, 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 user's <HOME DIR>/mail/.imap/INBOX folder. The /var/log/maillog files do not list any apparent error messages with SquirrelMail.
I have configured postfix and sendmail in my fedora11 i phased some problem i added before installing 2 users they can able to logged in squirrel mail but when i create a user they cann't able logging into squirrel mail they are getting bleow error
##########################
ERROR:
ERROR: Connection dropped by IMAP server.
###########################
Sometimes during bootup I get the following error:Starting Dovecot Imap: Fatal: listen(995) failed: Address already in useI tried to figure out what I could with the command lsof -i :995 and this was my output:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMErpc.mount 2936 root 7u IPv4 9201 TCP *:pop3s (LISTEN)When the system boots without the dovecot error the output of losof -i :995 is as follows:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dovecot 3079 root 8u IPv6 9419 TCP *:pop3s (LISTEN)
pop3-logi 3157 dovecot 1u IPv6 9419 TCP *:pop3s (LISTEN)
[code]....
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
I want to add the imap module into my php
View 1 Replies View RelatedRecently i configured Postfix with Cyrus-Imap and it all worked fine unless i wanted to allow also AD users to use Squirrelmail.Currently AD users are able to logon to ssh server without any problems.
- wbinfo -u & -g is fine
- testsaslauth - passed
- telnet to localhost 143 + a LOGIN user password - passed
- cyradm shows active mailbox for particular user
imap i pam.d:
#%PAM-1.0
auth include system-auth
account include system-auth
how to install Courier IMAP server and they all say the same thing, but they keep giving me problems.URL... is a link to the page I'm working on.I created the user, edited sudoers manually since I can't effectivly use visudo in the terminal since I don't know how to save. I also made sure that I restarted after I edited it in order to make sure it took effect. I used su compileuser and just logging in as compileuser and opening a terminal. After I made the user and edited that file, I created the directory mentioned and ran the command to create .rpmmacros. After that I got to work on wgetting the files and installing them and what not. The first one compiled and installed and so did the last one. The command "rpmbuild -ta courier-imap4.6.0.tar bz2" would not go though properly. This one I need to run as a non-root user and I've tried using every way possible to be as distant from root as possible, but it still gives me this at the end.
View 3 Replies View RelatedI'm new to CentOS, having always used Slackware in the past. I'm trying to get Cyrus 2.3.7 IMAP working with Procmail 3.22, and having a slight issue. My current setup in sendmail.mc is as follows:
[code]...
I am administrating a server with CentOS installed. It came with qmail and courier-imap preinstalled, and Plesk.I need to manually add email accounts outside of Plesk, because my 1-domain Plesk license only allows the creation of one email address (yes, it sucks).
When I say add email account I mean creating a new email address, have email for that address be stored in its maildir, and have a corresponding imap (and hipefully also pop3) account that will be able to read that mail. All this with virtual domains.I've already found out how to create the new email addresses for qmail, so that email for the new email address is being delivered correctly. Now I need to create the imap/pop3 accounts for courier.
For the qmail part, I create a folder in in /var/qmail/mailnames/virtualdomain.org/username and a maildir called Maildir inside it. This is how the first mail address was created by Plesk and i'd like to maintain the same structure. As I've said, the qmail part is already working, I need to get the courier-imap part to work. Ideally, it should accept login with both short (i.e. myuser) and long (i.e. myuser@virtualdomain.org) user names.
Currently the only authentication module that is enabled in courier-imap is authpsa, which is Plesk's authentication module.in order to add more authentication modules, do I just need to add them to the authentication module list in /etc/courierimap/imapd, or do I need to reinstall courier-imap with support for such authentication modules? I thought I would only need to add them to the list, but I've noticed that the /usr/lib/courier-imap/authlib/ folder only contains a binary called "authpsa". Does that mean that other authentication modules are not even installed? If so, can I install them without reinstalling courier?
The second question is, what would be the most recommended authentication module that would make it easiest to create new email addresses/accounts from the command line? I need to be able to write a shell scripts capable of creating a new email address with all that is needed, and I'd like to keep this script as simple as possible, so for example I'd avoid mysql-based authentication as it sounds rather complicated. And the last question is, if I do need to reinstall courier-imap, how can I install a package without recompiling it? Will my one existing mailbox keep working?
am running centos5.3 on a virtual machine and was trying to do some basic hardening and part of it i had to modify the pam.d/system-auth file and from then i am getting a fatal error whenever i try to connect via ssh using putty i am not at all able to login the server with any of the accounts even root also.I am scared unknowingly did i lock the system???how to resolve this issue?
View 3 Replies View RelatedCentOS 5.4
/etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: Protocol pop3 given more than once
Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only. I had follow this how-to [URL] and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works. I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, I install VM player on it and run CentOS inside the VM Player.
I want to do testing on Windows 7 side by installing Thunderbird email client program, I want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How? Do I have to do any other configuration on CentOS? Any DNS? Port number for IMAP, POP3 or SMTP?
I've had Dovecot up and running for months now without any problems whatsoever. Came in this morning and suddenly I can't connect to it. Thunderbird hangs with "Checking mail server capabilities..." and Windows Mail spits out the following error:
Code:
Cannot establish TLS with IMAP server 10.0.0.2:143, SSL_connect error 336142597
Configuration:
Account: Blah
Server: foo
User name: whatever
[code]....
Thing is, I'm not using TLS/SSL and have changed exactly nothing since the server was set up. I've tried having the mail clients use SSL/TLS in response to the above error, but that changed nothing.
I'm running Dovecot version dovecot-1.0.7 on CentOS 5.4. I'm trying to create subfolders and I can't. I've tried Mac's mail application and Thunderbird; they both come up with an error, basically saying that the server doesn't support level one folders(subfolders). Squirrelmail can't create subfolders neither. I did some reading and thought that perhaps the problem lies in the /etc/dovecot.conf file; specifically with the "mail_location" directive. I currently don't have that directive active which means Dovecot uses defaults settings: saving users' mail in the %u/mail folder. Is there any way to configure Dovecot to use subfolders?
View 14 Replies View RelatedI have configured rssh 2.3 with openssh 5.8 on RHEL 5.6 64 bit to restrict the users to scp and sftp. When i try to sftp or scp it gives error connection closed. After long googling tried different solutions like add missing libraries, setuid to rssh_helper. I had full copy of /lib to /chroot/lib and /chroot/lib64 but no success. conf and log files are below for reference.
[Code]...
To configure webmail in linux5, I�ve followed below procedures:
-Squirrelmail-1.4.2.tar.gz and unzipped under the folder /var/www/html
-cd squirrelmail-1.4.2
-cd config
-within this directory, ./conf.pl
-From main menu, I did choose 2 for domain (i.e. arafapparels.com). This is my official domain
-Then save and exit
-For IMAP setting, I did choose D
-Selected uw and save, then exit
-Then from command line, I wrote chown �R apache.apache /var/www/html/data (I created folder data in the above path)
-I created a folder named as attach to keep attachment in /var/www/html i.e. /var/www/html/attach
-Then typed grep �R apache /var/www/html/attach
-Then typed chmod 730 /var/www/html/mail/attach (Here squirrelmail-1.4.2 directory has been moved to mail directory)
-Then from web browser/Internet explorer, I typed http://localhost/mail/
-Here Username & Password appears. Previously I have created username.
-But when put Username & Password, below error message displays
Error connecting to IMAP server: localhost
13: Permission denied
But I gave permission by chmod 777 /var/www/html/mail and by using 555 but no result.
I have one server at home, connected through a router that gives me a static IP:192.168.1.2 - My PC192.168.1.3 - CentOS serverI enabled the port 80 into router forwarding system and I can connect properly to CentOS server, using the IP my internet provider gives me. My router automatically forwards a changed IP to my dyndns.com account so I can also access the server through a domain name (I pay to have it linked to one of my domains).My next step is to configure the mail server (dovecot) , so I can send emails from my local server(192.168.1.3).I was wondering if anyone has any tutorial links or tips to have the mail server configured through a home internet provider + home router.
View 5 Replies View RelatedI have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.
Port 22
PermitRootLogin no
1.override default of no subsystems[code].....
was trying to access the server through putty, it immediately closed connection.i tried this a couple of times and still the same problem.
View 2 Replies View RelatedI am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
I recently setup an email server on Fedora Core (14). Sendmail is running and I am trying to authenticate from a client pc using imaps. I installed Cyrus-imap and it is running and listening on 993. When I try to login, it doesn't accept authentication even though I verified the user's password is correct. (tested with ssh)Is there something I have to do with Cyrus or on the server to allow connections to email? I have not used Cyrus before. I am attempting to access my mail folders via Sendmail and did not make mailboxes in Cyrus. I did allow imaps through the firewall.
View 1 Replies View RelatedI'm using Postgresql 8.4.2-2. I'm trying to remote into my server securely. I figure I could do so with ssh. Apparently I figured correctly, as per, [URL] and [URL] I setup the ssh tunnel. ssh -L 5432:serverip:5432 Then I setup pgadmin3 to connect as follows:
host: localhost
port: 5432
user: postgres
maintenance db: postgres
And I receive the following error:
An error has occurred: Quote: An error has occurred: Error connecting to the server: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
I'm not sure what the problem is. I can connect with Code: psql from the cli after connecting to the terminal via ssh. So I know that I'm using the correct password.
I setup a qmail on a Debian 5 Lenny server with courier-imap server. I can send mails but cannot receive mails. I altered /etc/init.d/qmail as follows.
Code:
I have a problem with compiling of mod_ruby-1.3.0 After a succesfull configure i get a error in the make, it say "make: *** [apachelib.o] error 1" . Here below you can find the results of de configuring and the make.I was following the roles in Howtoforge " The perfect server - Centos 5.3" everything goes perfect till mod_ruby-1.3.0
./configure.rb --with-apr-includes=/usr/include/apr-1
checking for a BSD compatible install... /usr/bin/install -c
checking whether we are using gcc... yes
[code]....
I tried to install php from source file on centos server and i got the error as # ./configure --with-apxs2=/usr/local/packages/apache/bin/apxs --with-mysql --prefix=/usr/local/packages/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information.
I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]
From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt
Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:
[Code]...
So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.
I have CentOS 5 installed on VPS server running VZ with ostemplatecentos-5-i386-afull.
Some details of system:
[root@vps ~]# cat /etc/redhat-release
CentOS release 5 (Final)
[root@vps ~]# uname -a
Linux vps.abix.info.pl 2.6.18-92.1.13.el5.028stab059.6PAE #1 SMP Fri Nov 14 20:46:53 MSK 2008 i686 i686 i386 GNU/Linux
[Code]...
I try to install SSMTP mail server on Centos 5.4 and I have a following error >>
[Code]....
that's my first linux server. on my root is CentOS already installed. when i connect via "Remote Desktop Viewer" i log in with my accout.
then i see the textmode and type in "startx" and "init 5" but nothing happens but i can see this:
[root@server004 ~]# startx
xauth: creating new authority file /root/.serverauth.2896
Fatal server error: Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again.
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
[code]....