LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-03-2012, 12:15 PM   #1
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Rep: Reputation: 0
Cannot send email to cell phone


Hi friends,
My CentOS cannot send mails (message) to my verizon cell-phones. I tested to send it to yahoo or gmail, it worked fine.
I can send mail to my cell-phone from gmail.
I view the log in /var/log/maillog, it shows:
Feb 3 09:04:08 Acp1 sendmail[15792]: q125PsaF031608: to=<root@Acp1.localdomain>, delay=1+11:38:14, xdelay=00:00:00, mailer=esmtp, pri=3274220, relay=postbox.fabulous.com., dsn=4.0.0, stat=Deferred: Connection refused by postbox.fabulous.com.
Feb 3 09:04:08 Acp1 sendmail[15792]: q120UuaE006119: to=<root@Acp1.localdomain>, delay=1+16:33:12, xdelay=00:00:00, mailer=esmtp, pri=3722978, relay=postbox.fabulous.com., dsn=4.0.0, stat=Deferred: Connection refused by postbox.fabulous.com.
Please help!
Thank you!
 
Old 02-03-2012, 01:43 PM   #2
linuxguy7820
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS, RHEL
Posts: 17

Rep: Reputation: 0
Is the machine you're sending from using a DHCP address? I've seen some email services only allow connections from static i.e. not dynamic IP's. If it's a static IP could it be blacklisted or lacking a reverse DNS entry?
 
Old 02-03-2012, 02:01 PM   #3
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks linuxguy7820,
The server is local which is set with static IP. The external IP is also static.
Thanks
 
Old 02-03-2012, 02:09 PM   #4
linuxguy7820
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS, RHEL
Posts: 17

Rep: Reputation: 0
Can you connect to the Verizon mail server from the CentOS machine and run some basic SMTP commands and see if you can get can get a better error message? It looks like it's using ESMTP to send mail, is it possible to try using only SMTP.
 
Old 02-03-2012, 02:21 PM   #5
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
I'm a Linux newbie. Honestly, I use the email server with everything in default setup. I don't know how to change it from ESMTP to SMTP. Could you help me to do that?
Thanks
 
Old 02-06-2012, 08:40 AM   #6
linuxguy7820
LQ Newbie
 
Registered: Mar 2011
Distribution: CentOS, RHEL
Posts: 17

Rep: Reputation: 0
To be honest my sendmail skills are pretty basic. I believe there's a special process where you need to edit /etc/mail/sendmail.mc then compile the configuation file into something sendmail will read at startup.
 
Old 02-06-2012, 12:51 PM   #7
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
I don't know how to edit the file /etc/mail/sendmail.mc. I's afraid that I will make it worst. Could you or anyone else help please!
 
Old 02-06-2012, 06:05 PM   #8
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
I got different error msg in maillog:
---------------
Feb 6 14:51:21 localhost sendmail[29547]: q16MpLsZ029547: from=root, size=51, class=0, nrcpts=1, msgid=<201202062251.q16MpLsZ029547@Acp3>, relay=root@localhost
Feb 6 14:51:21 localhost sendmail[29548]: q16MpLmP029548: from=<root@Acp3>, size=298, class=0, nrcpts=1, msgid=<201202062251.q16MpLsZ029547@Acp3>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Feb 6 14:51:21 localhost sendmail[29547]: q16MpLsZ029547: to=7144939333@vtext.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30051, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q16MpLmP029548 Message accepted for delivery)
Feb 6 14:51:22 localhost sendmail[29551]: q16MpLmP029548: to=<7144939333@vtext.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120298, relay=smtp-sl.vtext.com. [69.78.67.53], dsn=5.0.0, stat=Service unavailable
Feb 6 14:51:22 localhost sendmail[29551]: q16MpLmP029548: q16MpMmP029551: DSN: Service unavailable
Feb 6 14:51:22 localhost sendmail[29551]: q16MpMmP029551: to=<root@Acp3>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31519, relay=acp3, dsn=5.1.2, stat=Host unknown (Name server: acp3: host not found)
Feb 6 14:51:22 localhost sendmail[29551]: q16MpMmP029551: q16MpMmQ029551: return to sender: Host unknown (Name server: acp3: host not found)
Feb 6 14:51:22 localhost sendmail[29551]: q16MpMmQ029551: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32543, dsn=2.0.0, stat=Sent
-----------------------------
Could anyone help me,please!
thanks
 
Old 02-09-2012, 11:17 AM   #9
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
Anyone help, please!
 
Old 02-09-2012, 11:22 AM   #10
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,744
Blog Entries: 5

Rep: Reputation: Disabled
@DanStrong, you may not like this answer, but have you considered simply sending emails to your phone as SMS messages? That's what I do. (My service provider is Sprint.)

Wikipedia keeps a nice list of SMS gateways that you should be able to email to:
http://en.wikipedia.org/wiki/List_of_SMS_gateways

-------

edit01: Sorry, I see you are already doing that. ("7144939333@vtext.com" <-- from your failed message.)

-------

edit02: BTW, here's an example of using telnet(1) to do SMTP testing -

http://www.freebsdwiki.net/index.php...ing_via_Telnet

Last edited by anomie; 02-09-2012 at 11:28 AM.
 
Old 02-09-2012, 09:29 PM   #11
frankbell
Senior Member
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 3,738

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
I don't know how to edit the file /etc/mail/sendmail.mc. I's afraid that I will make it worst. Could you or anyone else help please!
Don't fear editing the sendmail configuration files.

Make a copy before editing, then edit away using a text editor.

If they get messed up, just copy the originals back into place.

I've never set up sendmail (I want to take a whirl at it), but here's a link to the documentation: http://www.sendmail.org/documentation
 
Old 02-15-2012, 11:51 AM   #12
DanStrong
LQ Newbie
 
Registered: Oct 2010
Location: California, USA
Distribution: CentOS
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks to Anomie, FrankBell,
I finally use PEAR and it works after 3 days of trying to edit sendmail.mc and other files.
Happy Valentines week!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell phone help phantom_cyph General 0 10-29-2007 06:36 PM
need new cell phone rmakers General 0 08-16-2006 10:51 AM
Use cell phone as modem Oxagast Linux - Software 4 05-02-2006 12:16 AM
cell-phone to modem sparker1968 Slackware 0 04-12-2003 12:22 AM
Cell phone for Mandrake 8.1? jjay02 Linux - Distributions 0 08-11-2002 11:33 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration