Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki
Install Qmail-ldap, Dovecot, and Related Email Services
Required Reading
- http://qmail.jms1.net/
- http://www.qmail-ldap.info/
- http://wiki2.dovecot.org/
- http://www.qmailwiki.org/
Server Prep
- apt-get install libgd2-xpm-dev php5-ldap libbz2-dev libmail-spf-perl perl-doc libmail-dkim-perl libencode-detect-perl librhash-perl libdigest-sha-perl libhtml-parser-perl libnet-dns-perl libnet-dns-perl libhttp-date-perl libhttp-date-perl libdb-file-lock-perl libnet-dns-perl libwww-perl libnetaddr-ip-perl libnetaddr-ip-perl libnet-ident-perl libclass-dbi-perl libfile-copy-link-perl python-gdbm libnet-ldap-perl libio-socket-inet6-perl php5-gd libapache2-mod-upload-progress php5-dev php-pear libldap2-dev libdb-dev libcrypt-gpg-perl libio-pty-perl libipc-run-perl libclearsilver-perl libemail-address-perl libcgi-pm-perl libfile-find-rule-perl libfile-copy-recursive-perl libio-all-perl libemail-mime-encodings-perl libapache2-mod-perl2 zip
- perl -MCPAN -e shell
- install IO::Zlib IP::Country::Fast Mail::DKIM Encode::Detect Digest::SHA1 IP::Country
- quit
- samba-tool dns add houselian computerisms.com @ MX "mail.computerisms.com 10"
Obtain and install UCSPI
- cd /usr/src
- wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
- wget http://qmail.jms1.net/ucspi-tcp/ucspi-rss2.patch
- wget http://qmail.jms1.net/ucspi-tcp/tcpserver-limits-2007-12-22.patch
- tar zxf ucspi-tcp-0.88.tar.gz
- cd ucspi-tcp-0.88/
- patch -p1 < ../ucspi-rss2.patch
- patch -p1 < ../tcpserver-limits-2007-12-22.patch
- sed -i 's/extern int errno;/#include <errno.h>/' error.h
- make
- make setup check
create OpenLdap Libraries
- Find latest downloads here: http://www.openldap.org/software/download/OpenLDAP/openldap-release/
- cd /usr/src
- wget http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.35.tgz
- tar zxf openldap-2.4.35.tgz
- cd openldap-2.4.35
- ./configure
- make depend
- make
Obtain, Patch, and Install Qmail-ldap
- Find latest downloads here: http://www.nrg4u.com/qmail/
- cd /usr/src
- wget http://www.nrg4u.com/qmail/qmail-ldap-1.03-20120221.patch.gz
- gunzip qmail-ldap-1.03-20120221.patch.gz
- wget http://cr.yp.to/software/qmail-1.03.tar.gz
- tar zxf qmail-1.03.tar.gz
- vi /usr/src/qmail-ldap-samba4.patch
- cd qmail-1.03/
- patch -p1 < ../qmail-ldap-1.03-20120221.patch
- patch -p1 < ../qmail-ldap-samba4.patch
- make man
- make setup check
- sed -i '1,/^MANDATORY_MANPATH/ {/^MANDATORY_MANPATH/i\
MANDATORY_MANPATH /var/qmail/man/
}' /etc/manpath.config - ./config-fast computerisms.com
- OP=$(grep ^PATH= /root/.bashrc); NP=$OP:/var/qmail/bin; sed -i s#$OP#$NP# /root/.bashrc
- source /root/.bashrc
Configure Qmail-LDAP
- cd /var/qmail/control
- echo "127.0.0.1" > ldapserver
- echo "CN=Users,DC=computerisms,DC=com" > ldapbasedn
- echo 'ThisDevilIkn0w' > ldappassword
- echo "authenticator@computerisms.com" > ldaplogin
- echo 1 > ldaprebind
- echo "user" > ldapobjectclass
- echo 0 > ldaplocaldelivery
- echo 0 > ldapcluster
- echo "10000000000" > defaultquotasize
- echo "1000000000" > defaultquotacount
- echo "Your Account will soon reach its Maximum Quota. If you exceed your quota, you will stop receiving email. Please contact bob.miller@computerisms.com if you have questions" > quotawarning
- echo "dotonly" > ldapdefaultdotmode
- echo "/home/mail" > ldapmessagestore
- echo "509" > ldapuid
- echo "509" > ldapgid
- echo "30" > ldaptimeout
- echo "So you know, Computerisms bounced this message. If you feel this is an error, please contact bob.miller@computerisms.com" > custombouncetext
- echo "I am the Computerisms Mail Server. I do not relay unauthorized messages. I actively refuse spam. All other messages are welcome." > smtpgreeting
- echo "192.168.26.10" > outgoingip
- echo "|HOME=/home/mail/$LOCAL /var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda" > defaultdelivery
- echo "control/mail.computerisms.com.crt" > smtpcert
- echo "30" > concurrencyincoming
- echo "10240000" > databytes
- echo "300 " > timeoutsmtpd
- echo "/var/qmail/bin/dirmaker.sh" > dirmaker
- vi /var/qmail/bin/dirmaker.sh
- vi /var/qmail/control/rbllist
- cp /var/CA/computerisms.com/mail.computerisms.com/mail.computerisms.com.crt /var/qmail/control
- rm qmail-*rules
- vi /var/qmail/control/qmail-smtp.rules
- vi /var/qmail/control/qmail-smtpauth.rules
- sed -i 's/locals.cdb rcpthosts.cdb qmail-smtpd.cdb qmail-qmqpd.cdb/locals.cdb rcpthosts.cdb qmail-smtp.cdb qmail-smtpauth.cdb/' Makefile
- sed -i 's/qmail-pop3d.cdb qmail-imapd.cdb//' Makefile
- make
- chown qmaild:qmail /var/qmail/control/mail.computerisms.com.crt
- chmod 755 /var/qmail/bin/dirmaker.sh
- chmod 0640 /var/qmail/control/mail.computerisms.com.crt
- chmod 0640 /var/qmail/control/ldappassword
Obtain and Install Ezmlm
- Find latest downloads here: http://untroubled.org/ezmlm/archive/
- cd /usr/src
- wget http://untroubled.org/ezmlm/archive/7.1.1/ezmlm-idx-7.1.1.tar.gz
- tar zxf ezmlm-idx-7.1.1.tar.gz
- cd ezmlm-idx-7.1.1/
- make
- make man
- cd lang
- ln -s en_US default
- cd ..
- ./ezmlm-test <= Confirm ends with no errors
- make install
Install JGreylist
- cd /usr/src
- wget http://qmail.jms1.net/scripts/jgreylist.c
- wget http://qmail.jms1.net/scripts/jgreylist-clean
- gcc -o /var/qmail/bin/jgreylist jgreylist.c
- cp jgreylist.c jgreylist-clean /var/qmail/bin/
- cd /var/qmail/bin
- chown qmaild:qmail jgreylist.c
- chmod 700 jgreylist-clean
- mkdir -m 700 /var/qmail/jgreylist
- chown qmaild:qmail /var/qmail/jgreylist/
- crontab -e
- 01 00 * * * /var/qmail/bin/jgreylist-clean
Start Qmail
- /etc/init.d/exim4 stop
- insserv -v -r exim4
- rm /usr/sbin/sendmail /usr/lib/sendmail
- ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
- ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
- mkdir -m 1755 /var/service/qmail-smtp
- mkdir -m 0755 /var/service/qmail-smtp/log
- mkdir -m 1755 /var/service/qmail-smtpauth
- mkdir -m 0755 /var/service/qmail-smtpauth/log
- mkdir -m 1755 /var/service/qmail-send
- mkdir -m 0755 /var/service/qmail-send/log
- vi /var/service/qmail-smtp/run
- vi /var/service/qmail-smtpauth/run
- vi /var/service/qmail-send/run
- ln -s /var/service/multilog.run /var/service/qmail-smtp/log/run
- ln -s /var/service/multilog.run /var/service/qmail-smtpauth/log/run
- ln -s /var/service/multilog.run /var/service/qmail-send/log/run
- chmod 755 /var/service/qmail-smtp/run /var/service/qmail-smtpauth/run /var/service/qmail-send/run
- mkdir /var/service/qmail-smtp/env /var/service/qmail-smtpauth/env /var/service/qmail-smtp/log/env
- ln -s /var/service/qmail-smtp /service/qmail-smtp
- ln -s /var/service/qmail-smtpauth /service/qmail-smtpauth
- ln -s /var/service/qmail-send /service/qmail-send
Obtain and Install Dovecot
- Find latest dovecot downloads here: http://www.dovecot.org/download.html
- Find latest pigeonhole downloads here: http://pigeonhole.dovecot.org/download.html
- cd /usr/src
- wget http://www.dovecot.org/releases/2.2/dovecot-2.2.4.tar.gz
- wget http://www.rename-it.nl/dovecot/2.2/dovecot-2.2-pigeonhole-0.4.1.tar.gz
- tar zxf dovecot-2.2.4.tar.gz
- tar zxf dovecot-2.2-pigeonhole-0.4.1.tar.gz
- cd dovecot-2.2.4/
- ./configure --without-nss --without-shadow --without-pam --without-bsdauth --without-vpopmail --with-gssapi=yes --with-ldap=yes --with-storages=maildir --with-zlib --with-bzlib --with-ssldir=/var/CA/computerisms.com/mail.computerisms.com
- make
- make install
- cd ../dovecot-2.2-pigeonhole-0.4.1/
- ./configure
- make
- make install
Configure and Start Dovecot
- vi /usr/local/etc/dovecot/dovecot.conf
- vi /usr/local/etc/dovecot/dovecot-ldap.conf.ext
- vi /usr/local/etc/dovecot/dovecot-ldap.conf.master
- mkdir -m 1755 /var/service/dovecot/
- mkdir -m 0755 /var/service/dovecot/log
- vi /var/service/dovecot/run
- ln -s /var/service/multilog.run /var/service/dovecot/log/run
- chmod 755 /var/service/dovecot/run
- vi /root/scripts/LearnAsSpam.sh
- crontab -e
- 15 02 * * * bash /root/scripts/LearnAsSpam.sh
Obtain and Install ClamAV
- Find latest downloads here: http://www.clamav.net/lang/en/download/sources/
- cd /usr/src/
- wget http://downloads.sourceforge.net/clamav/clamav-0.97.8.tar.gz
- tar zxf clamav-0.97.8.tar.gz
- cd clamav-0.97.8/
- ./configure --with-user=clamav --with-group=clamav
- make
- make install
- ldconfig
Configure and Start ClamAV
- > /usr/local/etc/clamd.conf; vi /usr/local/etc/clamd.conf
- > /usr/local/etc/freshclam.conf; vi /usr/local/etc/freshclam.conf
- vi /usr/local/bin/freshclam-good
- vi /usr/local/bin/freshclam-bad
- chmod 755 /usr/local/bin/freshclam-good /usr/local/bin/freshclam-bad
- chown root:root /usr/local/bin/freshclam-good /usr/local/bin/freshclam-bad
- mkdir /usr/local/var/run/clamav
- chmod 2070 /usr/local/var/run/clamav/
- chown simscan:clamav /usr/local/var/run/clamav/
- mkdir /usr/local/share/clamav
- chown clamav:clamav /usr/local/share/clamav/
- mkdir -m 1755 /var/service/clamd
- mkdir -m 0755 /var/service/clamd/log
- mkdir -m 1755 /var/service/freshclam
- mkdir -m 0755 /var/service/freshclam/log
- vi /var/service/clamd/run
- ln -s /var/service/multilog.run /var/service/clamd/log/run
- vi /var/service/freshclam/run
- ln -s /var/service/multilog.run /var/service/freshclam/log/run
- chmod 755 /var/service/clamd/run /var/service/freshclam/run
- chown root:root /var/service/clamd/run /var/service/clamd/log/run /var/service/freshclam/run /var/service/freshclam/log/run
- ln -s /var/service/clamd/ /service/
- ln -s /var/service/freshclam/ /service/
- sv <= Confirm clamd and freshclam are up
Obtain and Install Spam Assassin
- Find latest spamassassin downloads here: http://spamassassin.apache.org/downloads.cgi
- Find latest razor downloads here: http://sourceforge.net/projects/razor/files/razor-agents/
- Find latest pyzor downloads here: http://sourceforge.net/projects/pyzor/files/pyzor/ Moved?:https://pypi.python.org/pypi/pyzor/
- cd /usr/src/
- wget http://apache.mirror.iweb.ca//spamassassin/source/Mail-SpamAssassin-3.3.2.tar.gz
- wget http://sourceforge.net/projects/razor/files/razor-agents/2.85/razor-agents-2.85.tar.gz
- wget http://sourceforge.net/projects/pyzor/files/pyzor/0.5.0/pyzor-0.5.0.tar.gz
- tar zxf Mail-SpamAssassin-3.3.2.tar.gz
- tar xjf razor-agents-2.85.tar.bz2
- tar zxf pyzor-0.5.0.tar.gz
- cd razor-agents-2.85
- perl Makefile.PL
- make
- make test
- make install
- su - razor
- razor-admin --create
- razor-admin --register -user=bob.miller@computerisms.com
- exit
- cd ../Mail-SpamAssassin-3.3.2/
- perl Makefile.PL
- make
- make install
- cd ../pyzor-0.5.0/
- python setup.py build
- python setup.py install
Configure and Start SpamAssassin
- cd /etc/mail/spamassassin
- sa-learn --sync
- mkdir sa-update-keys
- chmod 500 sa-update-keys/
- wget http://spamassassin.apache.org/updates/GPG.KEY
- sa-update --import GPG.KEY
- rm GPG.KEY
- wget http://yerp.org/rules/GPG.KEY
- sa-update --import GPG.KEY
- rm GPG.KEY
- wget http://khopesh.com/sa/GPG.KEY
- sa-update --import GPG.KEY
- rm GPG.KEY
- vi /etc/mail/spamassassin/sa-update-channels.txt
- vi /etc/mail/spamassassin/sa-update-keys.txt
- sa-update --channelfile sa-update-channels.txt --gpgkeyfile sa-update-keys.txt
- crontab -e
- 11 00 * * * sa-update --channelfile sa-update-channels.txt --gpgkeyfile sa-update-keys.txt
- mkdir PRE
- mv *.pre PRE/
- vi /etc/mail/spamassassin/init.pre
- mkdir -m 1755 /var/service/spamd
- mkdir -m 0755 /var/service/spamd/log
- vi /var/service/spamd/run
- ln -s /var/service/multilog.run /var/service/spamd/log/run
- chmod 755 /var/service/spamd/run
- ln -s /var/service/spamd/ /service/
- sv <= Confirm spamd is running
- echo "test" | spamassassin -D 2>&1 | less <= Confirm the output contains no errors
Obtain and Install Simscan
- BIG FAT NOTE: the simscan.badext.patch is untested in production. A fix became required when one sender could not deliver msoffice documents (word and publisher) to one of my servers. downgrading/installing ripmime 1.4.0.7 is another option that is tested as working on a production system. Investigate and choose the more appropriate option for your situation.
- Find latest simscan downloads here: http://www.inter7.com/index.php?page=simscan
- Find latest ripmime downloads here: http://www.pldaniels.com/ripmime/#downloads
- cd /usr/src/
- wget http://qmail.jms1.net/simscan/simscan-1.4.0-combined.4.patch
- wget http://sourceforge.net/projects/simscan/files/simscan/simscan-1.4.0/simscan-1.4.0.tar.gz
- wget http://www.pldaniels.com/ripmime/ripmime-1.4.0.10.tar.gz
- wget http://qmail.tjc.fi/files/ripmime-1.4.0.9-permissions.patch
- wget http://qmail.jms1.net/simscan/update-simscan.c
- vi /usr/src/simscan.badext.patch
- cat simscan.badext.patch >> simscan-1.4.0-combined.4.patch
- tar zxf simscan-1.4.0.tar.gz
- tar zxf ripmime-1.4.0.10.tar.gz
- gcc -s -o /usr/local/sbin/update-simscan update-simscan.c
- chown root:simscan /usr/local/sbin/update-simscan
- chmod 4110 /usr/local/sbin/update-simscan
- cd ripmime-1.4.0.10/
- patch < ../ripmime-1.4.0.9-permissions.patch
- make
- make install
- cd ../simscan-1.4.0/
- patch < ../simscan-1.4.0-combined.4.patch
- ./configure --enable-user=simscan --enable-clamav=y --enable-clamdscan=/usr/local/bin/clamdscan --enable-per-domain=n --enable-attach=y --enable-spam=y --enable-spam-passthru=n --enable-spamc-user=y --enable-spam-hits=10 --enable-spamc=/usr/local/bin/spamc --enable-qmaildir=/var/qmail --enable-workdir=/var/qmail/simscan --enable-qmail-queue=/var/qmail/bin/qmail-queue --enable-received=y --enable-spamassassin-path=/usr/local/bin/spamassassin --enable-clamavdb-path=/usr/local/share/clamav/ --enable-sigtool-path=/usr/local/bin/sigtool --enable-ripmime=/usr/local/bin/ripmime
- make
- make install-strip
Configure Simscan
- echo "none /var/qmail/simscan tmpfs nodev,noexec,noatime,uid=513,gid=513,mode=2750 0 0" >> /etc/fstab
- mount -a
- chmod 2750 /var/qmail/simscan
- chown simscan:simscan /var/qmail/simscan
- vi /var/qmail/control/simcontrol
- vi /var/qmail/control/ssattach
- /var/qmail/bin/simscanmk -g
- /var/qmail/bin/simscanmk
- svc -t /service/{clamd,freshclam}
Obtain and Install Ezmlm-Web
- Find latest downloads here: https://systemausfall.org/toolforge/ezmlm-web/download/
- cd /usr/src/
- wget https://systemausfall.org/toolforge/ezmlm-web/download/Ezmlm/libemail-ezmlm-perl_0.08.2-1_all.deb
- dpkg -i libemail-ezmlm-perl_0.08.2-1_all.deb
- wget https://systemausfall.org/toolforge/ezmlm-web/download/ezmlm-web-3.3/ezmlm-web-3.3.tar.gz
- tar zxf ezmlm-web-3.3.tar.gz
- cd ezmlm-web-3.3/template
- wget https://systemausfall.org/svn/ezmlm-web/tags/ezmlm-web-3.2/template/{config_encryption.cs,config_options/gnupg_plain_without_key.cs,config_options/gnupg_sign_messages.cs,gnupg_convert.cs,language_select.cs}
- cd ..
- perl Makefile.PL
- make && make install
- cp man/*.1 /usr/local/share/man/man1/
- cp man/*.5 /usr/local/share/man/man5/
- mkdir /etc/ezmlm-web
- vi /etc/ezmlm-web/ezmlmwebrc
- vi /etc/ezmlm-web/webusers
- chown vmail /etc/ezmlm-web/*
- vi /etc/apache2/sites-available/listadmin.computerisms.com.conf
- mkdir /Computerisms/sites/listadmin.computerisms.com
- cp ezmlm-web.cgi /Computerisms/sites/listadmin.computerisms.com/index.cgi
- chown -R vmail:vmail /Computerisms/sites/listadmin.computerisms.com/
- chmod 2770 /Computerisms/sites/listadmin.computerisms.com/
- chmod 4700 /Computerisms/sites/listadmin.computerisms.com/index.cgi
- mkdir /var/log/apache2/listadmin.computerisms.com
- chown root:adm /var/log/apache2/listadmin.computerisms.com/
- a2enmod authnz_ldap rewrite ssl
- a2ensite listadmin.computerisms.com
- service apache2 restart
- samba-tool dns add houselian computerisms.com listadmin A 192.168.26.10
Obtain and Install Ezmlm-Browse
- Find latest downloads here: http://untroubled.org/ezmlm-browse/
- cd /usr/src
- wget http://untroubled.org/ezmlm-browse/ezmlm-browse-0.20.tar.gz
- tar zxf ezmlm-browse-0.20.tar.gz
- cd ezmlm-browse-0.20/
- make
- mkdir /Computerisms/sites/listarchive.computerisms.com/
- cp ezmlm-browse /Computerisms/sites/listarchive.computerisms.com/index.cgi
- vi /Computerisms/sites/listarchive.computerisms.com/ezmlm-browse.ini
- chown -R vmail:vmail /Computerisms/sites/listarchive.computerisms.com/
- chmod 2770 /Computerisms/sites/listarchive.computerisms.com/
- chmod 0700 /Computerisms/sites/listarchive.computerisms.com/index.cgi
- chmod 0660 /Computerisms/sites/listarchive.computerisms.com/ezmlm-browse.ini
- vi /etc/apache2/sites-available/listarchive.computerisms.com.conf
- mkdir /var/log/apache2/listarchive.computerisms.com/
- chown root:adm /var/log/apache2/listarchive.computerisms.com/
- a2ensite listarchive.computerisms.com
- service apache2 reload
- samba-tool dns add houselian computerisms.com listarchive A 192.168.26.10
Test Everything
System Checks
- ss -pantu <= verify the following ports are listening:
25(tcpserver)
587(tcpserver)
993(dovecot)
995(dovecot)
4190(managesieve)<= Localhost Only
143(dovecot)<= Localhost Only - sv <= verify all services are running
- ps faux <= Check readproctitle service errors line for errors
Protocol Checks Using Telnet
- Test SMTP - Server accepts mail for local user
- Test SMTPAUTH - Local user authenticates to server to relay mail
- Test IMAP - Connect to unencrypted IMAP server for webmail
- Test IMAP over SSL - Connect to encrypted IMAP server for mail clients
- Test POP - Connect to unencrypted POP server - not used
- Test POP over SSL - Connect to encrypted POP server for mail clients
- Test Sieve - Connect to Sieve on Loopback for webmail
Software Checks
- Test masteruser
- Test Spamassassin:
cd /usr/src
wget http://spamassassin.apache.org/gtube/gtube.txt
cat gtube.txt | spamassassin -D 2>&1 | less <= Make sure the file contains no errors, check at the bottom to ensure the GTUBE header shows up - Test Simscan:
vi /root/test.mail.txt
QMAILQUEUE=/var/qmail/bin/simscan SIMSCAN_DEBUG=3 NOP0FCHECK=1 /var/qmail/bin/qmail-inject bob.miller@computerisms.com < /root/test.mail.txt
l /var/qmail/bin/simscan <= Make sure this command yields this output:
-rws--x--x 1 simscan root 20088 Jul 25 15:39 /var/qmail/bin/simscan - Test ClamAV:
l /usr/local/var/run/ <= Make sure this command yields this output:
drwxrws--- 1 simscan clamav 0 Dec 23 10:45 clamav
l /usr/local/var/run/clmav <= Make sure this command yields this output:
srw-rw-rw- 1 clamav clamav 0 Aug 15 16:08 clamd.socket
Creating and Testing Mailing Lists
- navigate to http://listadmin.computerisms.com and login as user administrator
- Click Create new list=>set List Name as computerists=>set email address as computerists@computerisms.com
- On the next page at the bottom, add bob.miller@computerisms.com as a subscriber
- open ADUC=>new user "Computerists MailingList"=>set Logon Name as newsletter=>Next=>RandomPassx2=>password never expires=>=>next=>finish
- Open properties and set Description as Mailing List
- for i in $(ls /home/mail/.qmail-computerists-* | cut -f 3,4,5 -d -); do mv /home/mail/.qmail-computerists-$i /home/mail/computerists/.qmail-$i; done; mv /home/mail/.qmail-computerists /home/mail/computerists/.qmail
- Use a mail client on Adminlian to send a test message to computerists@computerisms.com
- navigate to http://listadrchive.computerisms.com and login as user bob.miller <= User must be member of listarchive group
- Confirm you can see the Computerists Mailing List and its history
Configure Mail Aliases and Forwarding
- on a terminal on Adminlian: regsvr32 schmmgmt.dll
- start=>run=>mmc=>file=>add/remove snapin=>Active Directory Schema=>add=>ok
- expand active directory schema=>right click attributes=>create Attribute
- Set Common Name as mailAlternateAddress=>set OID as 1.3.6.1.4.1.1466.115.121.1.26=>Set Syntax as Case Insensitive String=>select Multi-Valued=>OK
- Refresh/Resort=>Right Click mailAlternateAddress=>properties=>select index this attribute=>ok
- On Houselian: vi /root/scripts/mailutils.sh
Notes/Troubleshooting
- ldapbasedn is the base search, and it searches everything below it. Added OUs must be under this basedn in order for mail authentication to work.
- to modify the tcp file, edit /var/qmail/control/qmail-smtp(auth).rules, then issue a make command from the /var/qmail/control directory
- only users added to the listarchive group in AD will be able to access https://listarchive.computerisms.com
- t64all is a command from your bashrc that is useful for watching interaction between samba and qmail-ldap. set -d3 or higher in samba's run script
- wget http://qmail.jms1.net/scripts/qfixpermissions <= run this if you are having permissions issues
- The LearnAsSpam folder should be disabled for users who can/do not understand the difference between usolicited mail and mail they don't want anymore.
- the samba4 patch basically allows qmail to know if the account is active. All other values, such as must change password at next logon, return as inactive.