We want to send alerts to our admin staff from some of our remote servers. All the servers are Debian based and supply, smtp, imaps, file sharing (webdav), calendar and address book capabilities.

To send the alerts we have tried email and sms messaging. eMail works but can be slow depending upon the number and quailiy of hops needed to get from the server to the admin.

We had thought of of simply using a cell phone modem for each server. However cellular service at some of the locations is unreliable (too far north). To get round this we are thinking of using the email to SMS services offered by our telcos. We think SMS might be "faster" and more reliable as all network traffic passes through out telcos/ISPs centres fairly soon after leaving us.

So, why doesn't this work

echo "message text \r" | /usr/bin/mail -s "Server xxx - Alert" -r r...@example.com 4165551...@txt.bell.ca

If I run the above I get a test message with the subject and sender correct, but the message arrives with "this message was sent with attachments which were lost".

If I send same data using a thunderbird, outlook ... it works perfectly.

Looking in the various logs I cannot see any difference between the two message. Postfix seems to behave in exactly the same way all cases.

Help!
JohnA



Reply via email to