Email to cell phones


#1

I just setup nagios on a soekris board… work very good
the only thing left is to send the alert to the cell phone of the 4 admins

Right now its succesfully send the alert to our [email protected]
but it wont send it to the cellphones [email protected]

mail.log
This is went i send it to a bell phone

Jul 23 14:39:21 Soekris sm-mta[2890]: o6MJONJi001921: to=506#######@txt.bell.ca, ctladdr=[email protected] (0/0), delay=23:14:58, xdelay=00:00:00, mailer=esmtp, pri=11730367, relay=mail.txt.bell.ca., dsn=4.0.0, stat=Deferred: Connection timed out with mail.txt.bell.ca.
Jul 23 14:39:21 Soekris sm-mta[2890]: o6MJIBCd001865: to=506#######@txt.bell.ca, ctladdr=[email protected] (0/0), delay=23:21:10, xdelay=00:00:00, mailer=esmtp, pri=11730367, relay=mail.txt.bell.ca., dsn=4.0.0, stat=Deferred: Connection timed out with mail.txt.bell.ca.
Jul 23 14:39:21 Soekris sm-mta[2890]: o6MJ4vOl001776: to=506#######@txt.bell.ca, ctladdr=[email protected] (103/105), delay=23:34:24, xdelay=00:00:00, mailer=esmtp, pri=12000494, relay=mail.txt.bell.ca., dsn=4.0.0, stat=Deferred: Connection timed out with mail.txt.bell.ca.
Jul 23 14:39:22 Soekris sm-mta[2890]: o6MI5Hll002306: to=506#######@txt.bell.ca, ctladdr=[email protected] (103/105), delay=1+00:34:05, xdelay=00:00:00, mailer=esmtp, pri=12360494, relay=mail.txt.bell.ca., dsn=4.0.0, stat=Deferred: Connection timed out with mail.txt.bell.ca.

This is the telus phone
ul 23 14:42:53 Soekris sm-mta[2952]: o6NIgkMY002952: from=[email protected], size=369, class=0, nrcpts=1, msgid=[email protected], proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jul 23 14:42:54 Soekris sm-mta[2952]: o6NIgkMY002952: to=506#######@msg.telus.com, ctladdr=[email protected] (0/0), delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=30369, relay=msg.telus.com. [216.198.158.21], dsn=5.0.0, stat=Service unavailable
Jul 23 14:42:54 Soekris sm-mta[2952]: o6NIgkMY002952: o6NIgkMZ002952: DSN: Service unavailable
Jul 23 14:42:55 Soekris sm-mta[2952]: o6NIgkMZ002952: to=rbiadmin, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=30000, dsn=2.0.0, stat=Sent
Jul 23 14:42:55 Soekris sendmail[2951]: o6NIgjip002951: to=506#######@msg.telus.com, ctladdr=root (0/0), delay=00:00:09, xdelay=00:00:09, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o6NIgkMY002952 Message accepted for delivery)

anyone have any idea how to fixed this
Let me know if you need anything else

thanks
Plurnay


#2

actually I just tried my hotmail.com account and that didn’t work to…

maybe and cant go outside my network…
how do I fixed this

thanks


#3

You can get outside of your network.

Jul 23 14:42:55 Soekris sendmail[2951]: o6NIgjip002951: to=506#######@msg.telus.com, ctladdr=root (0/0), delay=00:00:09, xdelay=00:00:09, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o6NIgkMY002952 Message accepted for delivery)

That mail was sent.

Looks like postfix logs, so having a look at www.postfix.org sounds as a good start :slight_smile:


#4

So I am still not able to send email to cell phone but its work fine for a pager and a regular email account…

I thought its was working for a while but what happen is that I am connected to two network a dsl line (ping the main router so we know when our system is down) and our network (so the i know the Ip address and can ssh into it) but went I disconnect the network port and only use the dsl line its doesn’t work i get timeout on either msg.telus.com or txt.bell.ca

Aug 18 14:52:57 Soekris postfix/smtp[13625]: 7BD2A46064: to=[email protected], relay=msg.telus.com[216.198.158.21]:25, delay=13137, delays=13131/0.41/34/0, dsn=4.4.1, status=deferred (connect to mail.txt.bell.ca[206.47.78.138]:25: Connection timed out)
Aug 18 14:53:22 Soekris postfix/smtp[13624]: connect to mail.txt.bell.ca[206.47.78.138]:25: Connection timed out
Aug 18 14:53:22 Soekris postfix/smtp[13624]: 6023F45FC1: to=[email protected], relay=none, delay=88773, delays=88741/0.56/31/0, dsn=4.4.1, status=deferred (connect to mail.txt.bell.ca[206.47.78.138]:25: Connection timed out
Aug 18 15:32:50 Soekris postfix/qmgr[1615]: EA2C845FC6: from=[email protected], size=316, nrcpt=1 (queue active)
Aug 18 15:32:50 Soekris postfix/smtp[13938]: EA2C845FC6: lost connection with bm.srvr.bell.ca[209.226.175.252] while receiving the initial server greeting
Aug 18 15:32:51 Soekris postfix/smtp[13938]: EA2C845FC6: lost connection with bm.srvr.bell.ca[206.47.199.69] while receiving the initial server greeting
Aug 18 15:33:21 Soekris postfix/smtp[13938]: connect to mail.txt.bell.ca[206.47.78.138]:25: Connection timed out
Aug 18 15:33:21 Soekris postfix/smtp[13938]: EA2C845FC6: to=[email protected], relay=none, delay=90959, delays=90928/0.41/31/0, dsn=4.4.1, status=deferred (connect to mail.txt.bell.ca[206.47.78.138]:25: Connection timed out

is there something i have to do differently because i am using a bell/aliant DSL connection???
thanks let me know


#5

as you can see i tried postfix instead of sendmail… i got the same error


#6

“lost connection with bm.srvr.bell.ca[209.226.175.252] while receiving the initial server greeting”

Where are you sending your email when you are connected to the network?


#7

when I am connecting to bm.srvr.bell.ca[209.226.175.252] I try to send an email to a bell cell phone…

and when i connect to
Aug 19 10:42:52 Soekris postfix/smtp[23428]: 7BD2A46064: to=[email protected], relay=msg.telus.com[216.198.158.21]:25, delay=84532, delays=84531/0.43/0.57/0, dsn=4.0.0, status=deferred (host msg.telus.com[216.198.158.21] refused to talk to me: 554 flying.telusmobility.com)

i try to send to a telus cell phones

I tryied to telnet 209.226.175.252 25 (the bell server) from my pc which is on our network and its worked. but not when I am connected straight to the DSL connection it did not… (but i know there is way that its could work because our network is connected to aliant fiber at some point)


#8

Looks like the telus server doesn’t like your direct DSL address. Could it be it’s a dynamic IP? many mail servers refuse emails from dynamic ip ranges.


#9

I think you need to update your phone. Check also the configuration setting of your phone and I guess it has something to do with the problem. If you cannot really determine, the best thing you can do is to bring the phone to the nearest shop and they will find out what seems to be the problem.