6. Mailscanner :: Sendmail :: Check List

Table of Contents

MailScanner:: Sendmail

Check List and Issues

Previous Issues

MailScanner never scans emails.

On a new CentOS 6 server emails enter the queue /var/spool/mqueue.in corretly from the sendmail process.

I have confirmed that this process is the one started by MailScanner for receiving emails in to /var/spool/mqueue.in

Once an email is placed in the directory, straight away it is proccessed and delivred to the intended user.

Mailscanner never gets a chance to take this message and send it though all it's filtering.

 

 

Current running sendmail processes.

root     26026  0.0  0.1  10032  2016 ?        Ss   10:11   0:00 sendmail: accepting connections
smmsp    26030  0.0  0.1   9788  1536 ?        Ss   10:11   0:00 sendmail: Queue runner@00:15:00 for /var/spool/clientmqueue
root     26034  0.0  0.1   9784  1624 ?        Ss   10:11   0:00 sendmail: Queue runner@00:15:00 for /var/spool/mqueue

 

Current running MailScanner processes

root     26055  0.0  2.2  34968 22644 ?        S    10:11   0:00 MailWatch SQL
root     26059  0.0  1.9  28000 20220 ?        Ss   10:11   0:00 MailScanner: master waiting for children, sleeping
root     26060  0.1  5.3  64172 54404 ?        S    10:11   0:03 MailScanner: waiting for messages
root     26079  0.1  5.3  64172 54416 ?        S    10:11   0:03 MailScanner: waiting for messages
root     26086  0.1  5.3  64132 54420 ?        S    10:11   0:03 MailScanner: waiting for messages
root     26091  0.1  5.3  64172 54416 ?        S    10:11   0:03 MailScanner: waiting for messages
root     26099  0.1  5.3  64124 54412 ?        S    10:11   0:03 MailScanner: waiting for messages

 

for i in `ps aux|grep send|grep "from queue"|cut -c8-16`; do echo $i;readlink -f /proc/$i/exe; done

 

Setting up Sendmail for the first time

Yum Installs

Perl Installs (Includes Spamassassin)

MailScanner Install

MailScanner Upgrade

Clam AV Install

Clam AV Upgrade

Razor Install

Procmail Install (Maildir or mail)

Quarantine releasing

Check List

Mail Watch

 

Dovecot issues

Using a seconday server to feed webmail activities though via Horde, I ran in to a problem where I could login via Horde to Centos 5.x server but my first Centos 6.x server I could not.

On the Centos 6.x server I added the folloing line to /etc/dovecot/conf.d/10-mail.conf

mail_location = mbox:~/mail:INBOX=/var/mail/%u

And restarted dovecot.

All fine.