Versione 1 del 2008-01-24 13:04:05

Nascondi questo messaggio
Italiano English
Modifica History Actions

QmailWithEzmlm

Copy-Paste HowTo For qmail with ezmlm for Mailing List Management

Tested on Ubuntu Note: This is not MY work, I am just readapting a tutorial from [http://www.qmailrocks.org/checklist.php qmailrocks.org]

WORK IN PROGRESS

Install packages

apt-get install apache2 php5 mysql-server phpmyadmin php5-mysql gcc libc6-dev libc-dev libmudflap0-dev sudo make openssl libssl-dev patch patchutils

Remove the following Packages

  • Postfix - uninstall it or disable it
  • Any POP service - This includes Qpopper or any POP service that may be running out of xinetd. If your're server has a POP service running, you will need to disable it.
  • Any SMTP services
  • It's ok to have Sendmail installed, because we'll uninstall it during the qmail installation.

Perl Modules Needed:

  • Digest::SHA1
  • Digest::HMAC
  • Net::DNS
  • Time::HiRes

  • HTML::Tagset
  • HTML::Parser

Firewall ports to be opened:

  • Outbound ports (tcp)
    • 25 - SMTP
    • 110 - POP services
    • 143 - IMAP
    • 783 - Spamassassin
    • 993 - IMAPS
  • Inbound Ports (tcp)
    • 25 - SMTP
    • 80 - HTTP
    • 110 - POP services
    • 143 - IMAP
    • 443 - HTTPS
    • 783 - Spamassassin
    • 993 - IMAPS

mkdir /downloads
cd /downloads
wget http://www.qmailrocks.org/downloads/qmailrocks.tar.gz
tar zxvf qmailrocks.tar.gz

see [http://www.qmailrocks.org/download.htm here] for more details

Next run these scripts

cd /downloads/qmailrocks/scripts/install
./qmr_install_linux-s1.script
cd /downloads/qmailrocks/scripts/util
./qmail_big_patches.script

If all ok proceed

Build qmail

cd /usr/src/qmail/qmail-1.03
make man && make setup check
./config-fast your_fqdn_hostname (ex: ./config-fast mail.mydomain.com)

Create a certificate

make cert

Set right ownership

chown -R vpopmail:qmail /var/qmail/control/clientcert.pem /var/qmail/control/servercert.pem