MS + Sendmail question

Tony Johansson tony.johansson at SVENSKAKYRKAN.SE
Mon Sep 15 19:44:33 IST 2003


I have some specific needs with a MS+Sendmail installation and have quite a
few doubts that what I've built is the optimum solution, any tips or
pointers are greatly appreciated.

I want the possibility to add a domain at any time and have MS and
Sendmail "pick up" the changes in, at the most, 15 minutes.

The system is running on RedHat9 with Sendmail 8.12.8

Here is how I do it:
The domain is added to all relevant rule-files
A directory with the domain name is created in /var/spool/mqueue/
(sendmail.cf contains "O QueueDirectory=/var/spool/mqueue/*" )
I makemap hash for both mailertable (ip's to forward to) and relay-domain
(domains to accept)
I HUP sendmail and reload MailScanner every 15 minutes.


While it seems to work, it does bring a few problems:
On busy servers lots of garbage get put in mqueue.in. This seems to be
partial messages getting stuck when sendmail is restarting.
The constant "up and down" of MailScanner and Sendmail takes alot of time.

With this setup, are there any shortcuts I could take and still get the
result I desire?

I figure HUP'ing sendmail and reloading MailScanner only when a change has
been made is better but I also want the log data flushed to SQL as often as
possible.


Regards, Tony



More information about the MailScanner mailing list