Development info?
Julian Field
MailScanner at ecs.soton.ac.uk
Sun Aug 24 22:15:02 IST 2008
Hugo van der Kooij wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Julian Field wrote:
>
>
>> /usr/lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm, it could
>> not be "require"d. Make sure the last line of the file says "1;" at
>> /usr/lib/MailScanner/MailScanner/Config.pm line 624
>>
>
> Without the debugging this is all you get. The error could be anything
> but this line points in a rather specific direction al the time.
>
> Rewording this line to be more generic would push me sooner to looking
> at another section instead of that one line. Now I spend some time
> thinking wether or not an empty line could be the problem. While it was
> in fact a missing " somewhere else.
>
I think requiring you to do a "MailScanner --lint" to check the syntax
of your Custom Functions is okay.
> With fingers not always doing exactly what I want them to do I am used
> to finding typo's in every line I write. But when an error points to
> something specific I start looking for the indicated error.
>
> Rephrasing it in the next version will prevent such misunderstandings.
>
Suggested wording?
> Hugo.
>
> PS: I spotted and fixed 15 finger mismatches in this simple message
> before I did send it. Just curious how many I still missed.
>
Learn to type more accurately? :-)
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
--
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