MailScanner: extracting attachments

Hugo van der Kooij hvdkooij at
Sun Mar 16 09:10:34 GMT 2008

Hash: SHA1

Julian Field wrote:
| Devon Harding wrote:
|>     What do you mean by the "file consistency check"?
|> If you, for example, forget the </VirtualHost> in
|> /etc/httpd/conf/httpd.conf, you would get the following error:
|> [root at mars ~]# service httpd start
|> Starting httpd: httpd: Syntax error on line 1014 of
|> /etc/httpd/conf/httpd.conf: /etc/httpd/conf/httpd.conf:1014:
|> <VirtualHost> was not closed.
|>                                                            [FAILED]
|> Just wondering if thats possible with MailScanner.
| It already does syntax checking of the MailScanner.conf and complains in
| the logs about any errors it finds.

The usual way for me to restart MailScanner after a change is

service MailScaner restart;tail -f /var/log/maillog

Then the output of the syslog file will show wether or not MailScanner
was happy or if I had my fingers all thumbled up again and made some
horrible typos.

Apache does not always tell me what typo I made either. Most of the
times I have to dig into the error log to find it. But apache always
clearly indicates it did not start and I have seen cases where
MailScanner did not report a failure on the command prompt but it was
obvious from the logs that it did not startup either.


- --
hvdkooij at     

	A: Yes.
	>Q: Are you sure?
	>>A: Because it reverses the logical flow of conversation.
	>>>Q: Why is top posting frowned upon?

Bored? Click on and rate those images.

Version: GnuPG v1.4.7 (GNU/Linux)


More information about the MailScanner mailing list