Qmailscanner

Credits

Various bits of code, scripts, and procedures were put together with information from John Simpson's qmail.jms1.net website. It's an excellent resource on managing and setting up a Qmail server.

Qmail-Scanner is (was?) a popular option for a Qmailrocks-style mail server but is slowly falling out of favor to Simscan. Hence, these instructions will no longer be updated as I am no longer using Qmailscanner on my own servers.

http://toribio.apollinare.org/qmail-scanner/

yum -y install perl-suidperl
groupadd qscand
useradd -c "Qmail-Scanner Account" -g qscand  -s /bin/false qscand
vi /etc/group
  add "clamd" and "spamd" to the "qscand" group
cd /extra/src
wget http://toribio.apollinare.org/qmail-scanner/download/q-s-2.01st-20070204.tgz
tar zxvf q-s-2.01st-20070204.tgz
cd qmail-scanner-2.01st

vi go
#!/bin/sh
./configure \
--spooldir /var/qmail/scan \
--admin postmaster \
--domain somedomain.com \
--notify admin \
--log-details syslog \
--sa-delete 1 \
--sa-alt 1 \
--sa-debug 1 \
--sa-report 1 \
"$@"
chmod 700 go
./go
./go --install

chown -R qscand:qscand /var/spool/qscan
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -z
setuidgid qscand /var/qmail/bin/qmail-scanner-queue.pl -g

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 4 days ago
    Drupal 10/11 config
  • 9 months 6 days ago
  • PHP
    9 months 6 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 6 days ago
    New version of Pound