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
ADVERTISEMENT
Jul 4, 2015
I use for my client the webmail Roundcube.. How to I set for Auto Deleting The Mails From Trash Folder and Junk with mail server Dovecot after 30 days?
View 2 Replies
View Related
Sep 12, 2014
Mail in the spam folder is supposed to be deleted after 30 days.
I have some mail that has been in the Spam folder for 40 days. Why hasn't it been auto-deleted?
View 1 Replies
View Related
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
View Related
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
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
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
Jan 31, 2008
On a Red Hat server, how can I delete files in a specific directory that are older than 30 days?
View 7 Replies
View Related
Jan 21, 2009
I have a Bash script that deletes Spam from all users .Spam mailboxes that is older than X number of days
Currently I just list the paths to each mailbox i.e.
/var/vmail/Domain1.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain1.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox1/.Spam/* -type f -mtime +5 -exec rm {} ;
/var/vmail/Domain2.com/Mailbox2/.Spam/* -type f -mtime +5 -exec rm {} ;
This is becoming unmanageable as the number of mailboxes grows I have to add each to my script
I tried putting wildcards in i.e.
/var/vmail/*/*/.Spam but this does not work
Is there a way to do this? Maybe running some kind of command to create an array of paths then looping through them?
View 5 Replies
View Related
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
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
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
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
Nov 4, 2014
I created a subdomain, delete all entries except the NS and A Records. I changed the NS records. Now i have to delete the Soa Record for this subdomain. I don't know, whether this was the correct way...
View 1 Replies
View Related
Jan 12, 2015
I've setup Bind 9.10.1 on a windows server as a slave DNS server. I've installed the Slave DNS Manager on Plesk 12 for Linux and setup configuration.
New zones are added ok so authentication en communication is working perfectly. But when I delete a zone in Plesk, the zoneconfig file doesn't get deleted on the windows server. I can see the windows eventlog saying "received control channel command 'delzone <domain>'" where <domain> is the zone I deleted. But after that noting. And I see errors after a while because of bind trying to transfer the deleted zone again. The zonefile isn't deleted from c: amedzones...
View 1 Replies
View Related
Jul 20, 2015
There is a bug when trying to delete E-mail accounts in Plesk 12.1.26. It only works if I create a fake Auto-Reply text. If not, I got this error:
mail_responders_control failed: mail_responders_control[31710]: No autoresponder found for mailname (test@xxxxxx.com)
mail_responders_control[31710]: Unable to prepare SQL statement for query 'DELETE FROM autoresponder WHERE mn=?': library routine called out of sequence
View 2 Replies
View Related
Nov 17, 2008
Best platform for IMAP mail (Cpanel, Plesk Linux or Plesk Windows)
I need to setup 5 email accounts on my domain, each will use IMAP and store messages on server, so total space taken by each account will be 2-5 GB.
I have decided to go with eurovps.com as I'm close to them and ping is fast.
What is the best solution for IMAP and large email accounts: Linux Cpanel, Linux Plesk or Windows Plesk?
Each account will be accessed by 2 people differently by Thunderbird and occasionally by webmail, so nice webmail is a plus.
View 7 Replies
View Related
Nov 28, 2008
Virpus = Ticket 11 days old, started working on issue 6 days ago, no word for 4 days!
Thats Virpuss customer service and its plain silly.
View 11 Replies
View Related
Jul 30, 2014
SO CentOS 6.5 (Final)
Versione del Pannello 11.5.30 Aggiorna #47
emails handled with imap after a few minutes are automatically marked as read!
View 4 Replies
View Related
Mar 6, 2015
I purchased an ssl certificate and installed it in plesk via server->ssl certificates. I then followed the following guide to set up imap and pop to use my cert (instead of using the default i used my cert into) URL... Now I'm getting an issue with sending emails, something about SSLHandshakeException, and some clients can't even log in. MTs support mentioned this might have something to do with POODLE.
View 1 Replies
View Related
Oct 2, 2014
We are using Plesk 11.5 servers with CentOS 6 and Courier-IMAP 4.12. Customers are experiencing several problems when using their IMAP mailbox in Outlook 2013:
Sending mail over SSL (port 465) will fail if SSL certificate does not match the mail.domain.tld setting. Resolution is provided by [URL] ....
IMAP folders (including INBOX) are not listed. Resolution is provided by [URL] ....
Sent items are not stored (nor online, nor offline). TechNet says that SENT and DELETED folders are no longer configurable by design. The only way to get sent items in a folder is by setting up a custom rule and using Visual Basic (!) to mark the messages as read.
View 9 Replies
View Related
Feb 4, 2015
After each Plesk auto-update FTP server don't answer anymore.
We have to restart it with this commande line : /etc/init.d/xinetd restart
View 14 Replies
View Related
Dec 26, 2013
Under a Reseller's resources there are 3 options for Overuse:
1) Overuse is not allowed
2) Overuse of disk space and traffic is allowed
3) Overuse is allowed (not recommended)
All 3 apply to a Reseller's subscription.
Firstly, why should we care on the policy the reseller adopts for its subscriptions? It's nothing to do with us. The Overuse option for Resellers should aply to the Reseller account. But it doesn't. We have overusing resellers that are not getting suspended when the stats run like on Plesk 9.
This is broken.
View 3 Replies
View Related
Apr 11, 2015
I had been wondering why I wasn't getting MU#42 of Plesk 12.0.18 on Ubuntu 14.04.2 LTS (and 12), and I noticed this when running apt-get update (just after running autoinstaller from UI)...
Reading package lists... Done
W: GPG error: http://autoinstall.plesk.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 22738D6AF741DEBClick to expand...
View 19 Replies
View Related
Nov 27, 2014
I need php imap extension for my server. How can I enable it?
View 3 Replies
View Related
Aug 30, 2014
I've setup a domain for mail only (no hosting), with the DNS records hosted on AWS Route 53. Telnet fails for this domain.
View 2 Replies
View Related