MailScanner: extracting attachments

Julian Field MailScanner at ecs.soton.ac.uk
Sun Mar 16 12:37:25 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hugo van der Kooij wrote:
> * PGP Signed by an unverified key: 03/16/08 at 09:10:32
>
> 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.
Unfortunately, I read the config after I've forked, unlike Apache which 
appears to read it first. So by the time I've read the config it's 
already too late.
I'll take a look, but don't hold out much hope other than reading the 
conf then throwing it away, just to syntax check it before starting up. 
That might be possible.

>
> Hugo.
>
> -- 
> hvdkooij at vanderkooij.org               http://hugo.vanderkooij.org/
> PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
>
>     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 http://spamornot.org/ and rate those images.
>
> * Hugo van der Kooij <hvdkooij at vanderkooij.org>
> * 0x58F19981 - Unverified(L)
>

Jules

- -- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.1 (Build 2523)
Comment: Use Thunderbird Enigmail to verify this message
Charset: ISO-8859-1

wj8DBQFH3RSHEfZZRxQVtlQRAmzIAJ9xyXfXiLiGT/IM66nseH3pS5cECgCgmOqS
jDdp6LBfKUDUtsDMzsjK+RI=
=rqSu
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list