Test mail messages in this directory contain the complete header. When testing amavisd, they must not be encapsulated in another mail wrapper or otherwise modified.
Instead, feed them directly to sendmail (or its lookalike):
$ sendmail -i your-address@example.com <sample-virus-simple.txt $ sendmail -i your-address@example.com <sample-virus-nested.txt $ sendmail -i your-address@example.com <sample-nonspam.txt $ sendmail -i your-address@example.com <sample-spam-GTUBE-junk.txt $ sendmail -i your-address@example.com <sample-spam-GTUBE-nojunk.txt $ sendmail -i your-address@example.com <sample-spam.txt # old sample $ sendmail -i your-address@example.com <sample-42-mail-bomb.txt $ sendmail -i your-address@example.com <sample-badh.txt
To avoid difficulty of downloading this package through firewalls which check contents for viruses, these sample files are now no longer included as a plain text, but are contained in a bit-complemented tar.gz archive.
Here is how to extract original files from the file sample.tar.gz.compl:
perl -pe 's/./chr(ord($&)^255)/sge' <sample.tar.gz.compl | zcat | tar xvf -
