MailScanner sometimes strips Outlook attachments?

Scott Silva ssilva at
Tue Nov 18 00:18:35 GMT 2008

on 11-17-2008 12:36 AM Edward Dekkers spake the following:
> I keep thinking I've hit the nail on the head, then another customer
> complains there's no attachment.
> Basically we invoice customers using a program called MYOB, which converts
> the invoice to a pdf and attaches it to a message to be sent to your default
> e-mail client (Outlook in this case).
> This has worked up until we upgraded out server from Ubuntu 8.04 to Ubuntu
> 8.10. It killed mailscanner and dovecot completely, so I set up both from
> scratch.
> I used the deb package from the mailscanner Ubuntu page, then had to get the
> tarball to fill in the missing wrappers and reports etc. The deb package
> seems pretty incomplete.
Since mailscanner doesn't seem to have an Ubuntu page, could you be looking at
Ubuntu's mailscanner page? I see tons of posts about the Ubuntu packagers
version of MailScanner. Since Julian only creates the tarballs, and the two
RPM based packages, the Ubuntu packager is missing some things. I have heard
that the Debian "backports" package is somewhat better, but I do not run
Debian or Ubuntu.
> Anyway - most warnings are now gone (still complaining about deprecated
> unrar command even with the latest wrapper), and after installing tnef, it
> even expands then checks any TNEF attachments (according to the log anyway).
> IN ALL CASES it says "uninfected - delivered" etc. This was after modifying
> MailScanner.conf to NOT replace TNEF contents, as that was causing problems
> with winmail.dat as well.
This might be perl module problems. MailScanner can be picky on which modules
work properly.
> Now - it seems to keep the pdf attachments complete - about 50% of the time.
> No rhyme or reason, and the log always says all is OK, uninfected and
> properly delivered, yet it seems something (and I have to presume it's
> mailscanner), is stripping the pdfs about 50% of the time.
Again-- more than likely Mimetools or another perl module. Especially since
you had it working before the upgrade to 8.10. If mailscanner strips an
attachment, it logs it.
> I hate non-consistent problems as they are harder to diagnose, but does
> anyone have any idea what may be causing this?
> Regards,
> Ed.
Maybe it would be easier to try the tarball of the latest version instead of
the .deb package. The maintainer will probably get it fixed if he gets enough
complaints and actually wants to fix it. All indications are that the Ubuntu
package is horribly dysfunctional.

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the MailScanner mailing list