.AGP Files

Greg Matthews gmatt at nerc.ac.uk
Fri Jun 6 10:13:02 IST 2008

Pedro Bordin Hoffmann - [M]orpheus wrote:
> Hello.
> I have this client that sends attached in the message a file, with the
> extension .agp
> This file is a security signature to work with banks, but if Mailscanner
> scan it for virus, it gets corrupted.

this is almost certainly your signature - this was discussed way back on 
the list. It is alleged that there is a bug in perl itself which means 
that the signature adding bit of MailScanner can end up changing the 
line terminations throughout the whole message body. This obviously 
affects digital signatures and the like. As far as I know it has never 
been fixed. I'm having difficulty tracking down the relevant threads on 
this list but it has been discussed a couple of times.

Either you have secure digital signatures, OR you add a corporate sig 
onto each message. You can't have both.

Of course you can add a rule-set for adding/not adding the corporate sig.


> How should I do to make mailscanner don't scan this kind a file?
> Already try to put this in /etc/MailScanner/filnename.rules.conf
> Something like this:
> allow   \.agp$  -       -
> But still getting corrupted.
> What should I do?
> Thanks for the help!
> Regards
> Pedro

Greg Matthews           01491 692445
Head of UNIX/Linux, iTSS Wallingford

This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

More information about the MailScanner mailing list