Courier Imap Too Slow

Dec 19, 2007

I have a mail account hosted in a VPS with cpanel and SquirrelMail as webmail client.

It has thousands of mail files. SquirrelMail got very slow, because courier-imap is very slow sorting files and authenticating users.

I've heard that Dovecot is much faster than courier...

Does anyone have replaced courier by dovecot in cPanel installations? is it a good idea?

View 4 Replies


ADVERTISEMENT

Mysql & Courier Imap Restarting Every 10 Mins?

Oct 6, 2008

yesterday i setup my first vps system and now its hosting 2 forums of my. Thing is in evry 10 mints Mysql & courier-imap are restarting..? I know this from the lxadmin alert email. So is it normal or is it a problem in my configuration..? Im running cent os 5 now. And i also check the log.. there is entry like below in it..

Oct 6 13:43:07 vps_10013 pure-ftpd: (?@127.0.0.1) [INFO] Logout.
Oct 6 13:43:07 vps_10013 xinetd[8020]: EXIT: ftp status=255 pid=21638 duration=0(sec)
Oct 6 13:43:13 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21637 duration=6(sec)
Oct 6 13:43:48 vps_10013 xinetd[8020]: START: smtp pid=21679 from=63.247.94.194
Oct 6 13:43:49 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21679 duration=1(sec)
Oct 6 13:44:48 vps_10013 xinetd[8020]: START: smtp pid=21901 from=63.247.94.194
Oct 6 13:44:49 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=21901 duration=1(sec)
Oct 6 13:45:49 vps_10013 xinetd[8020]: START: smtp pid=22163 from=63.247.94.194
Oct 6 13:45:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=22163 duration=1(sec)
Oct 6 13:46:49 vps_10013 xinetd[8020]: START: smtp pid=22499 from=63.247.94.194
Oct 6 13:46:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=22499 duration=1(sec)
Oct 6 13:47:49 vps_10013 xinetd[8020]: START: smtp pid=23668 from=63.247.94.194
Oct 6 13:47:50 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=23668 duration=1(sec)
Oct 6 13:48:49 vps_10013 xinetd[8020]: START: smtp pid=23920 from=63.247.94.194
Oct 6 13:48:52 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=23920 duration=3(sec)
Oct 6 13:49:49 vps_10013 xinetd[8020]: START: smtp pid=24173 from=63.247.94.194
Oct 6 13:49:53 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=24173 duration=4(sec)
Oct 6 13:50:49 vps_10013 xinetd[8020]: START: smtp pid=26117 from=63.247.94.194
Oct 6 13:50:53 vps_10013 xinetd[8020]: EXIT: smtp status=1 pid=26117 duration=4(sec)

View 7 Replies View Related

Postfix+MySQL+Courier-IMAP+Spamassassin+SquirrelMail ...issue

Feb 11, 2007

Hopefully I'm posting this in the correct area. Our server runs CentOS 4.4 on x86_64 arch.

So basically everything was going rather smoothly...

Problems began to arise at the point where I finished installing/configuring SquirrelMail. Upon logging in, I saw this:

[see attachment]

Ok, so I checked maillog and saw:

Feb 11 13:50:46 zeus imapd: LOGIN, user=alex, ip=[::ffff:127.0.0.1], protocol=IMAP
Feb 11 13:50:47 zeus imapd: Failed to connect to socket /tmp/fam--
Feb 11 13:50:47 zeus imapd: Failed to create cache file: maildirwatch (alex)
Feb 11 13:50:47 zeus imapd: Error: Input/output error
Feb 11 13:50:47 zeus imapd: Check for proper operation and configuration
Feb 11 13:50:47 zeus imapd: of the File Access Monitor daemon (famd).
Feb 11 13:50:47 zeus imapd: DISCONNECTED, user=alex, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=21, sent=57, time=1

So I did some searching and determined it was a problem with Courier-IMAP being compiled with File Alteration Monitor support and famd not running (I built RPM directly from source tarball without any customization whatsoever per the instructions on the Courier website).

I found some possible solutions to be:

1) Install and run fam and be sure portmapper is running as well (problem being is that fam has since been replaced by gamin on CentOS, which is installed properly on my system).
2) Do a source install of Courier-IMAP and --disable-fam

Ok, so route 1 went like this: I uninstalled gamin, found fam-2.6.8, installed it, started it manually, made sure portmapper was running and tried again. This time, I still got the same errors in SquirrelMail, but the errors in maillog didn't show up. However, shortly after the page loaded, the famd process I had started manually promptly ended without my intervention. Ok, onto trying #2.

Route 2 went like this: reinstalled gamin, then I tried building a custom RPM by manually configuring with --disable-fam and then using rpmbuild -bc --short-circuit and rpmbuild -bi --short-circuit. That didn't change anything at all, I still had the same errors both with SquirrelMail and in maillog. Then I said ok, I'll just do a complete source install. ./configure --disable-fam && make && make install. Manually started that server, tried again, same deal, both errors.

So I've got problems. Either with Courier-IMAP, SquirrelMail, or both. The other daemons seem to run fine, I just mentioned them in case of the possibility of some kind of (unknown to me) conflict.

If you need to see any of my configs, let me know...any information greatly appreciated...I'm desperate.

View 1 Replies View Related

Courier Imap Pop3d Fail To Deliver Message On First Attempt

Oct 5, 2007

Courier-imap pop3d fail to deliver message to a POP client on first attempt. On the second attempt its able to download the messages and no problems. Not sure what could be causing that problem. Are there any tools that are used with courier-imap mailboxes for fixing corrupted mailboxes?

View 2 Replies View Related

Plesk 12.x / Linux :: Courier IMAP And Auto Deleting Trash After 7 Days

Feb 20, 2015

I'm trying to find Courier IMAP config: /etc/courier/imapd

Because i would like to edit the parameters for the trash folder (see qoute and link below)

The file on my server is not there. I did some grep and locate commands and was unable to find it.

##NAME: IMAP_EMPTYTRASH:0
#
# The following setting is optional, and causes messages from the given
# folder to be automatically deleted after the given number of days.
# IMAP_EMPTYTRASH is a comma-separated list of folder:days. The default
# setting, below, purges 7 day old messages from the Trash folder.
# Another useful setting would be:
#
# IMAP_EMPTYTRASH=Trash:7,Sent:30

[Code] ....

View 1 Replies View Related

Horde Mail IMAP :: Auth_imap: Required IMAP Extension Not Found

Sep 2, 2007

I'm having trouble with horde it is giving me the following error:

Auth_imap: Required IMAP extension not found.

Now I pretty much know why that error is coming up I'm missing the IMAP module. What I don't understand is if it was their before why is it gone now. The last thing I did on the server was upgrade Perl.

I would like to get rid of this error but I'm afraid the only solutions will wipe my current setup. If of course their is a way to fix this error without ruining my current setup that would be a lot more useful

The main thing I want to do is retrieve an address book from the horde server. How would I go about finding where the address book is stored through the command line.

Thanks ahead of time for the help.

View 4 Replies View Related

Dovecot Or Courier

Jul 7, 2009

I need to determine which mail server is better so i can know what to install as default on future servers.

View 9 Replies View Related

Courier Or Dovecot

Apr 25, 2009

i have cpanel with 512 meg ram.

i need fast mail server. so which of them is good?

Courier or Dovecot

View 10 Replies View Related

VPS Incredibly Slow, Huge Numbers Of Slow MySQL Queries For Plesk/Watchdog

Nov 11, 2008

I've got 25 domains on a Virtuozzo/Plesk8.6/CentOS5 VPS. Each domain has one up-to-date install of WordPress, most have very little traffic (average 200mb per month), maybe 2 domains get 5-7gb traffic per month.

I monitor port 80 connections and rarely see more than 10 at a time.
That should in my opinion be no problem at all for a VPS with 768mb guaranteed ram and 2.4ghz cpu. I've got 30gb hard drive spare too.

But.... about 8 or 10 times a day it grinds to a complete halt: server load at 500-1000%, sites timing out, plesk takes 3mins to load, often I can't even connect with SSH, and the plesk web server, apache

INSERT INTO module_watchdog_sys_stat (time, type, value, service_id) VALUES(FROM_UNIXTIME(1226404705), 'MAINMEM_USAGE', 17472, 11);

80 seconds sounds like a huge amount of time for a MySQL insert to me! Does anyone know if this is likely to be the cause of my trouble? Some problem with Plesk and the database? Or could it be something else?

View 3 Replies View Related

Right Values For Courier Configuration On CPanel Server ?

Jan 22, 2008

Any live expirience for good values of this courier settings for cPanel server:

Maximum Imap Connections (Total)
Maximum Imap Connections Per Ip
Maximum TLS/SSL Imap Connections Per Ip

Maximum Pop3 Connections (Total)
Maximum Pop3 Connections Per Ip
Maximum TLS/SSL Pop3 Connections Per Ip

Number of Authentication Daemons

?

The current values are the original ones which cPanel set:

Maximum Imap Connections (Total) 50
Maximum Imap Connections Per Ip 30
Maximum TLS/SSL Imap Connections Per Ip 30

Maximum Pop3 Connections (Total) 50
Maximum Pop3 Connections Per Ip 4
Maximum TLS/SSL Pop3 Connections Per Ip 30

Number of Authentication Daemons 5

Thanks,

View 1 Replies View Related

Create Additional Subfolder Postfix/courier

Sep 24, 2008

I have a mail server which is courier, postfix, amavisd, using Mysql db and virtual mailboxes which I administer through postfixadmin.

I want to be able to add a set of default folders to all mailboxes created such as Possible Spam and some others.

I have investigated shared folders but this is not what i want, is there a way I can get courier/postfix to create a set of additional sub-folders when it creates a mailbox.

All mailboxes are accessed as IMAP mailboxes.

View 0 Replies View Related

Plesk 12.x / Linux :: Timeout On Courier-pop3d

Jul 14, 2015

I have a problem with an account. The client connects and starts getting his mails, like this:

Jul 14 07:39:04 host courier-pop3d: LOGIN, user=*****@*****.com, ip=[::ffff:*.*.*.152], port=[*]Click to expand...

View 2 Replies View Related

Plesk 12.x / Linux :: Courier Mail Service Do Not Respond

Feb 2, 2015

I'm using plesk with CentOS 6.6

After setting up some e-mail accounts over the plesk gui I tried to connect via a mail software (like thunderbird).

This failed with every combination of settings I tried. So I checked if the POP3/IMAP services are running correctly using telnet.

I connected using the following command:

Code:
telnet <host-ip> 110

The response was:

Code:
Trying <host-IP>...
Connected to <host-IP>.
Escape character is '^]'.
-ERR Cannot connect to POP server <host-IP> (<host-IP>:110), NB connect error 1460
Connection closed by foreign host.

Did I miss to enable a setting?

The Plesk gui schows me, that the corresponding services are running...

View 2 Replies View Related

Plesk 12.x / Linux :: Courier SSL Shared Cipher Error

Aug 8, 2014

Yesterday we upgraded two of our servers to the latest Plesk 12.

The 1st server is an CentOS/CLoudlinux 6.x server and the 2nd an CentOS 5.x server.

Both of them were running Plesk 11.5 before the upgrade.

After the upgrade, we have the same issue in both servers which is that the START/TLS, SSL protocols at Courier imaps or pop3s do not work, and mail clients (outlook, thunderbird) return that the password is wrong when they connect over a secure connection.

In both of them, at the /var/log/maillog, we are getting the same messages, as the following one:

--------------------------------------------------------------------------
courier-imaps: couriertls: connect: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
--------------------------------------------------------------------------

As the issue is in both server, we believe thath it there is a bug in the new version or the update script.

We have already checked all configurations which seem ok, tried to... reboot the machines, mailchk repair, but nothing seems to work. 

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Disable SSL V2 And V3 In Postfix And Courier

Dec 13, 2014

I am trying to secure my VPS and one thing noted in a recent scan was SSL v2 and v3 being supported for SMTP, POP3 and IMAP. So a check of ‘Disabling SSLv3 Support on Servers’ and the Postfix configuration settings suggest:

smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5
# Preferred syntax with Postfix = 2.5:
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3​

This actually goes further than disabling SSLv2 and v3 and also excludes the use of NULL and MD5 ciphers.

The Postfix conf file, main.cf exists in two places on my VPS:

# find / -name main.cf
/usr/libexec/postfix/main.cf
/etc/postfix/main.cf​

Examining both only the copy in /etc/postfix/ is configured and at the end of this file I can find all the Plesk settings, including some RBLs I’ve defined via the UI. Hence I know this is the working config as of the two, it’s the only one actually configured. Hence I add the required commands to the config:

...
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_security_level = may
smtpd_use_tls = yes
smtp_tls_security_level = may

[Code] ....

I then go to the Plesk Tools & Settings > Services Management and restart:

SMTP Server (Postfix)
And for good measure:

Plesk milter (Postfix)

I then test whether SSLv2 is enabled:

# openssl s_client -connect x.x.x.x:25 -starttls smtp -ssl2​

Now what I should get back is an error as the attempt to connect with SSLv2 should fail as it's an excluded protocol, but instead what I get back is the Plesk cert and a connection:

# openssl s_client -connect x.x.x.x:25 -starttls smtp -ssl2
CONNECTED(00000003)
depth=0 C = US, ST = Virginia, L = Herndon, O = Parallels, OU = Parallels Panel, CN = Parallels Panel, emailAddress = info@parallels.com
verify error:num=18:self signed certificate
...​

Why? What do I need to do to have Postfix use the updated config and refuse an SSL2 connection?

I seem to have the same issue with Courier having made similar changes to the /etc/courier-imap/pop3d-ssl file:

# Iain 2014-12-12
# TLS_CIPHER_LIST="SSLv3:TLSv1:HIGH:!LOW:!MEDIUM:!EXP:!NULL:!aNULL@STRENGTH"
TLS_CIPHER_LIST="TLSv1:HIGH:MEDIUM:!LOW:!EXP:!NULL:!aNULL@STRENGTH"​

And /etc/courier-imap/imapd-ssl file:

# Iain 2014-12-12
# TLS_PROTOCOL=SSL23
TLS_PROTOCOL=TLS1​

actually, this should probably read:

# Iain 2014-12-12
# TLS_PROTOCOL=SSL23
TLS_PROTOCOL=TLS1, TLS1.1, TLD1.2​

Why am I unable to disable SSL v2 and v3 for SMTP/POP3/IMAP with Postfix and Courier?

View 15 Replies View Related

How To Permanently Disable Http/ftp/mysql/courier With LXADMIN/KLAXO

Jun 30, 2009

I have a small VPS that is used only to send mail. It uses the HyperVM software, so I installed "Klaxo" (LXadmin) on it and set up the domain, etc..

I then went into the "Server : Linux --> Services" page and disabled everything except qmail. (I also set them so they are not auto-started at bootup.)

The problem is that after about 10 minutes or so... all the services are automatically restarted.

I have no idea what process is doing this, and it's driving me a little nutty.

Does anyone know how to permanently disable a service using the Klaxo/lxadmin control panel?

(Or at least, where I can find whatever monitoring system is checking if they are up, and then restarting them?)

View 2 Replies View Related

IMAP Support

Oct 27, 2008

IMAP Support

Im used DirectAdmin on my primary linux server, i need to IMAP support in php.ini for resolve my ticket import system in "WHMCS" But i dont know how can enable it on DirectAdmin.

Can you help me?





__________________
Need More Power?!PersianWhois.Com

View 3 Replies View Related

IMAP Subfolders?

Dec 14, 2007

I have the following IMAP folders in my MUA:

Archive
Drafts
Drafts/INBOX
INBOX
Sent
Spam
Trash

I'd like to know what this "Drafts/INBOX" is. I didn't create it. Is it a subdirectory? Or is it a problem with my MUA?

View 2 Replies View Related

Backing Up IMAP?

Mar 17, 2005

I am looking for some good tutorials or advice on backing up IMAP mail directly from the server.

Does anyone have any?

View 2 Replies View Related

IMAP Email Gone

Sep 19, 2006

My problem is like this, I try to transfer an account from my old host to new host. This is how I do, I download all the file using ftp and upload all the file to new host.

Then I found that, website ok, email account created, database ok.. but IMAP email is gone ...

View 3 Replies View Related

How To Install IMAP On PHP

Jul 28, 2008

few clients need IMAP on php, is it possible to install it over WHM ? If not what is the best way to install it?

View 4 Replies View Related

IMAP & Outlook

Jan 26, 2007

Hi when configuring MS Outlook with an IMAP account it works perfectly, however when you send email it only ever goes into the default personal files sent folder, is there anyway to get sent items from each imap account to go into their own imap sent folder?

View 1 Replies View Related

Setting Up IMAP?!

Apr 1, 2008

My first post on here! I have just signed up with a VPS, and before I did so, i asked if IMAP was supported, and that was confirmed.

Now, when I try to get it to work, I am told by support that my current mails transport agent (mailEnable) does not support IMAP, and that I should elect not to use mailEnable and configure IMAP with the Microsoft Services.

Now, here I am lost. What do they mean, and how do i proceede Thank you for any input!

View 3 Replies View Related

SSL Certificates And IMAP

Oct 28, 2007

If your provider has a self-signed ssl.. anyway you can import those into clients like Outlook or Windows Mail (formerly OE6 on XP)

To stop the nagging prompts.. or is there a setting to stop prompts?

View 1 Replies View Related

POP Does Authenticate But IMAP Does!

Oct 17, 2006

I am setting up a VPS / Linux server, created an account, and set up an email account. However, when I attempt to access the email account via. pop3, either the email account or pw is not accepted. However, I can access the same email account via. IMAP.

Also, I can telenet into the pop3 system, but not log into the account, and I can access the account via. WEBMAIL.

I set up the account with WHM/CPanel. Is there some required setting to activate or setup the pop3 system?

View 6 Replies View Related

Imap & Spamd?

Oct 28, 2006

what thise services mean or refer to !!!!

imap
spamd

View 2 Replies View Related

IMAP Email With MediaTemple

Apr 10, 2005

Is anyone else out there hosting IMAP email with MediaTemple? I am trying to transfer IMAP accounts to MediaTemple after switching from an email only provider, MailSnare. I use Mac Mail as my email client and am having trouble getting my accounts set up properly. It seems to have to do with my path to IMAP.

I've tried everything including:

(blank)
/mail
mail/
mail
INBOX.
INBOX

Different techs at mediatemple told me to use /mail and INBOX. but neither work properly. For the most part, I have been able to see my mail, but not my folders, or not all of my folders, or I've gotten repeated warnings that IMAP command "SELECT" failed. In one of my accounts now I can't see the mail at all, but the account is telling me there is 1 unread message. My problem seems to have been complicated by all the messing around with the preferences trying to fix things. If it makes any difference, the email address for the account is the same as it was with my previous host. I wonder if that's causing a problem when trying to access the mail in Library/Mail?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved