Archive for the ‘Server’ Category

If you experience problems with slow logins in pure-ftpd, this is often caused by a problem with the resolving of the clients hsotname. This happens e.g. when you run a FTP server in your intranet and the hostname of the client computer does not exist in DNS. To disable name resolving in pureftpd, run the command:

echo ‘yes’ > /etc/pure-ftpd/conf/DontResolve

and then restart pure-ftpd

/etc/init.d/pure-ftpd-mysql restart

Disabling name resolving also fixes the following error message:

Jul 24 16:26:28 ispconfig pure-ftpd: (?@?) [ERROR] Sorry, invalid address given

How can an email user in ISPConfig 3 change his password?

Wednesday, July 29, 2009 posted by Till

To allow email users in ISPConfig 3 that do not have a client login to change their password, you can use one of these webmail plugins:

Plugin for roundcube:

http://www.howtoforge.com/forums/showthread.php?t=37077

Plugin for Squirrelmail:

http://www.howtoforge.com/forums/showthread.php?t=35297

Tutorial about installing the squirrelmail plugin:

http://www.howtoforge.com/how-to-configure-squirrelmail-to-allow-users-to-change-their-email-passwords-on-an-ispconfig-3-server

This articles describes the renewal of SSL certificates for courier pop3 and imap server. This is nescessary e.g. when the certificates are expired or contain the wrong hostname.

First delete the exsiting certificates:

rm -f /etc/courier/imapd.pem
rm -f /etc/courier/pop3d.pem

Then edit the template that contains the details for the ecrtificates so that the hostname in the certificate matches the hsotanme of your server and that the email address matches your postmaster email address:

vi /etc/courier/imapd.cnf
vi /etc/courier/pop3d.cnf

and create the new certificates:

mkimapdcert
mkpop3dcert

Courier pop3 and imap have to be restarted so they pick up the new ecrtificates:

/etc/init.d/courier-imap-ssl restart
/etc/init.d/courier-pop-ssl restart

The statistics are updated once a day. Once this has happened the new user can log in.

ISPConfig 2: What is a Co-Domain?

Tuesday, July 28, 2009 posted by Till

Under “Co-Domains” you can enter subdomains or even total different domains that should point to that web.

Example:

If you can reach your web by www.xyz.tld then you could enter the subdomain www2.xyz.tld under “Co-Domains”. You could also enter the new domain abc.tld (e.g. with the host www, so that www.abc.tld points to your web www.xyz.tld).

Please check if the domain of the users that receives all emails is the same as the domain $mydomain in /etc/postfix/main.cf. If this is the case, change $mydomain and run

postfix reload

on the shell.

You should never enter a domain that is used for a virtual site on the server as $mydomain in /etc/postfix/main.cf!

Which virus- and Spam scanner is used by ISPConfig 3

Tuesday, July 28, 2009 posted by Till

ISPConfig 3 uses ClamAV (http://www.clamav.net) as virus scanner and spamassassin as spam scanner. Amavisd-new is used as content filter.

Which virus scanner is used by ISPConfig 2

Tuesday, July 28, 2009 posted by Till

ISPConfig 2 uses ClamAV (http://www.clamav.net) as virus scanner and the E-mail Sanitizer (http://www.impsec.org/email-tools/procmail-security.html) as content filter.

To turn on verbose logging (e.g. to debug FTP connection or authentication problems) inĀ  pure-ftpd FTP server on Debian and Ubuntu Linux, execute the following command as root user in the shell:

echo 'yes' > /etc/pure-ftpd/conf/VerboseLog

and then restart pure-ftpd

/etc/init.d/pure-ftpd-mysql restart

The debug output will be logged to syslog. To view the log content, execute:

tail -n 100 /var/log/syslog

To disable verbose logging, execute these commands:

rm -f /etc/pure-ftpd/conf/VerboseLog
/etc/init.d/pure-ftpd-mysql restart