I'm having problems getting mail messages to my phone. I can send them
manually, but was under the impression that I should use the
"FORMAT=SMS" option to send to my phone since it has <160 characters
allowed.
When sending, I get the "DSN: Data format error" from the mail server at
my cell company. Do I have to have a script written for this to work,
or should it work as I have it configured?
Here is the only entry in hobbit that I have configured that has
anything to do with this message being sent. Any help would be
appreciated!
Hobbit v4.0.2
hobbit-alerts.cfg
----snip----
PAGE=%mon/* SERVICE=* EXSERVICE=mrtg TIME=W:0800:1700
MAIL user-fe5c6937c554@xymon.invalid FORMAT=SMS DURATION>120
COLOR=red
----end snip----
/var/log/maillog
----snip-----
Jun 2 16:37:29 hobbit sendmail[2124]: j52LbTok002124:
from=<user-414139e0bbe7@xymon.invalid>, size=385, class=0, nrcpts=1,
msgid=<user-463396ebf92d@xymon.invalid>, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 2 16:37:29 hobbit sendmail[2119]: j52LbThb002119:
to=user-fe5c6937c554@xymon.invalid, ctladdr=hobbit (500/500),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30070,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j52LbTok002124
Message accepted for delivery)
Jun 2 16:37:29 hobbit sendmail[2130]: j52LbTok002124:
to=<user-fe5c6937c554@xymon.invalid>, ctladdr=<user-414139e0bbe7@xymon.invalid>
(500/500), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30385,
relay=mms-mta.cellular.com. [20.30.40.50], dsn=5.6.0, stat=Data format
error
Jun 2 16:37:29 hobbit sendmail[2130]: j52LbTok002124: j52LbTok002130:
DSN: Data format error
----end snip----
Thanks,
Michael