Backups and Blat not sending attachments properly
I wrote a batch file to
* Dump MySQL databases and Subversion repositories
* Zip those files using 7 zip
* Email them using Blat
This was all working fine until my attachments reached about 5mb. At this point, I started receiving funny looking messages like this
begin 644 archive-2008-21-12-15-54.zip
M4$L#!`H``````,-^E3D````````````````(````4W1A9VEN9R]02P,$%```
M``@`PWZ5.66F^"0XN`,`V@H+`"P```!3=&%G:6YG+V%V:64M<F5P;W-I=&]R ...
Blat was automatically splitting large messages into multiple parts.
Suppressing this functionality using -nomps stopped the mail from being sent at all!
Checking my log revealed
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)
Message is too big to send. Please try a smaller message.
MailEnable was advertising an attachment size limit of 5mb.
If you are using MailEnable, you can alter the attachment size limit by opening MailEnable Administrator, clicking on "MailEnable Management", "Servers", "localhost" (or your server name), "Connectors", and right clicking on "SMTP". The message size limit setting is on the Inbound tab.