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


ADVERTISEMENT

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

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

How To Create A Subfolder In My Domain And Assign An Ftp User To That Folder

Jun 30, 2009

I need to create a subfolder under my domain name, and assign an ftp user to that folder. I want the user to only have access to that folder, is it possible? can you guys orient me, because I have no idea where to start, my hosting service provider is telling me I can only have one ftp account per domain, maybe I didn't explain correctly to my hosting provider.

View 1 Replies View Related

How To Create Additional Ftp User Using SSH

Jun 20, 2009

How can I create additional ftp user using SSH and to give access only to a specified folder for example,

httpdocs/folder1/

View 7 Replies View Related

Plesk 12.x / Linux :: Postfix CPU Usage Increases Then Postfix Doesn't Answer

Jul 2, 2014

My issue started ince a couple of months seemed to increase with update to Plesk 12.0 (though I can't guarantee it).I am using Centos 6.5, all updated. What happens is that postfix usage starts to increase without any apparent reason (during week-ends for example). Then postfix is not responding anymore.

Code:
top - 13:27:13 up 3 days, 18:44, 0 users, load average: 0.73, 0.33, 0.32
Tasks: 238 total, 2 running, 236 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.6%sy, 0.1%ni, 98.7%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32917292k total, 8982212k used, 23935080k free, 1899416k buffers
Swap: 1046520k total, 0k used, 1046520k free, 4905884k cached

[code]....

View 1 Replies View Related

Moving Wordpress To A Subfolder

Jul 3, 2009

my blog is on the index and I am planning to put another site on it.. now I want to move my blog to a subfolder or subdomain.. Can I just move the files without affecting the whole blog?

View 6 Replies View Related

How To Do Mod_rewrite From Web Root To Subfolder

Jun 3, 2009

figure out an .htaccess rewrite rule?

I am trying to rewrite everything in the web root folder to use a /blog/ folder.

So for example, if someone goes to [url] then I need it to actually serve the file from [url]

(But not a redirect.. ideally the browser should still show [url]

Is this possible?

View 1 Replies View Related

Do You Set Subfolder Or Subdomain For Different Service

Dec 23, 2008

your main website may be domain.com,

you may run forum,billing,blog systems...etc,

do you install them as sub-folder (ex: domain.com/billing )?

or sub-domain ( ex: billing.domain.com )?

View 13 Replies View Related

Apache :: Redirect Www To Non Www In Subfolder

Nov 6, 2014

I have joomla installed on root folder and another joomla installed on subfolder. I want to redirect www to non in subfolder by this code in blog htaccess:

RewriteCond %{HTTP_HOST} ^(www.mydomain.com)?$RewriteRule ^(.*)$ http://mydomain.com/blog/$2 [R=301,L]

View 3 Replies View Related

How To Chmod The Files And Subfolder + File.php To 755

Jun 25, 2007

i download a script .. when i unzip the script .. all the folder have chmod to 700 + 600

what command could let the folders and sub folders have chmod to 755 ( as root )

i command this

chmod 755 *

but the folders inside the folder didn't chmod to 755

there is alot folders thats why its hard to do it manually :p

View 7 Replies View Related

Apache :: Serve Domain Subfolder From 2 Different Server

Aug 31, 2013

I need to serve domain subfolder from different Apache 2 server.

1. Squid 3 reverse proxy is pointin to 80.241.222.151 for domain [URL] ....
2. Apache 2 server is on 80.241.222.151 with all files in the root folder so all requests are served from here
3. Now im creating new server at 80.241.222.149 with all files from [URL] ... transferred to the root
4. On Squid 3 server [URL] .... is still pointing to 80.241.222.151
5. But now i need to call [URL] .... from 80.241.222.149 in the root.

What is the example to do this? mod_proxy on Apache 2 server at 80.241.222.151?

View 1 Replies View Related

Plesk 12.x / Linux :: Move Wordpress Application From Subfolder To Root

Mar 18, 2015

Wordpress is becoming more and more integrated with Plesk which makes it quite easy to setup a new domain for someone and install Wordpress so he can start.

Often this Wordpress site has to be developed and a better looking site is already available.

By default Wordpress installs in a subfolder /wordpress (I know you can change it by choosing "custom install"). After a while that website is ready for publishing.

To move that website I will have to move the running site to a subfolder and then move the content of /wordpress to the root. This is not sufficient. I then have to do a search and replace on the /wordpress and wordpress/ and replace it with /

No problem there....

But then I have lost Wordpress from the Plesk interface.....

What's the most elegant way to move a Plesk managed Wordpress site?

I don't mind if it stays in its folder (maybe preferrable?), as long as the user doesn't see that "/wordpress" in its URL.

View 3 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

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 View Related

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

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

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

Create A Zend Id For Your Machine. This Is Apparently For Them To Create A Product Key For Their Software

Aug 7, 2008

Customer has requested the following:

"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!

I have never heard of this and have been unable to locate any information on it.

This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

how to go about this or even what this is?

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

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

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

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

Additional Nameservers

Dec 28, 2008

I am running directadmin for almost 2 years now and I love the control panel.

I have 2 nameservers setup already ns1.domain.com and ns2.domain.com all pointing to the same IP.

Everything works fine with this.

However I am going to sell the domain and therefor I already want to set up extra nameservers with another domain. Here is what I did:

-Bought a domain (mydomain.com)

-Added domain in directadmin (User-level)

-Added 2 Free IP'S from IP management in directadmin (Admin level)

-Assigned them to admin

-On Reseller level I chose nameservers and binded them with the 2 IP's (I made ns1.mydomain.com and ns2.mydomain.com)

-I registered the nameservers on my registrar (ns1.mydomain.com -> IP1 and ns2.mydomain.com -> IP2)

-I set the nameservers mydomain.com to ns1.mydomain.com and ns2.mydomain.com

Will this work?

View 3 Replies View Related

Additional H.D.D And RAID1

Nov 28, 2008

I have 2*400gb H.D.D on my server.

I have run RAID1 (software) on my server. Is it posible to disable RAID1 and use secondary 400gb H.D.D as additional H.D.D (800gb) and add another 1000gb H.D.D on my server and run RAID1 on server again? For have mirror data as RAID1 in 1000gb H.D.D

View 8 Replies View Related

Additional Name Server For Each Domain Name

Sep 5, 2008

I currently manage a dedicated server to host all of our client’s websites, emails and databases.

We are now looking to purchase an additional dedicated server so we can synchronize/mirror all of our clients accounts (email, website & databases) to the 2nd server, just incase the 1st server ever went down.

The name server settings for each domain name are managed from our hosting providers own server so we can login and point each domain name to any name server we want.

So for example we have a domain say; example.com pointing to the following name servers for our 1st sever;

ns1.exampleserver1.com
ns2.exampleserver1.com

Because we can add as many name servers to each domain name as we want, we would like to purchase the 2nd server from a different hosting provider which would have name servers such as the following;

ns1.exampleserver2.com
ns2.exampleserver2.com

Then we want to add the following name servers to each domain name we host.

ns1.exampleserver1.com
ns2.exampleserver1.com

ns1.exampleserver2.com
ns2.exampleserver2.com

The 2nd server would be based at a completely different location so just incase there was a problem with the network to server 1, our clients would still have access to their email etc on server 2 because each domain would have 4 name servers.

I am under the impression that if the 1st server is down and someone types in the website address example.com, it would first look for;

ns1.exampleserver2.com
ns2.exampleserver2.com

and if the 1st server was down, it would then look for ;

ns1.exampleserver2.com
ns2.exampleserver2.com

which would mean our clients could still use their email, websites etc as normal because the 2nd synchronized server has all the data from the 1st server.

Am I right in thinking this is possible? And would this work?

View 2 Replies View Related

Additional IP Addresses In Windows

Aug 3, 2007

I have added additional local IP addresses into my windows box, using advanced feature in TCP/IP properties, but it is not showing. Do I have to restart anything here?

View 2 Replies View Related







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