Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi everybody. To clue you in, I am setting up a small server that can be text-messaged from a cell phone and it responds with a server status message. It works fine on my Cricket phone. I send a message to the address, and it replies, sending the response via sms.mycricket.com port 25 (I am using a Ruby script to do this). My friend with a TMobile phone wanted to do the same thing. I got the incoming message just fine, but when the script tried to reply, lo and behold, it could not resolve "tmomail.net". I tried dig and it came up with zilch.
After browsing Google for a bit, I found a SMTP server called "myemail.t-mobile.com" that I tried sending the message to. It gave me a 530 Authentication Required error. So my question is, why is it that when I send a message to XXXXXXXXXX@tmomail.net from my GMail account it gets through, but if I try to send it with the raw Net::SMTP Ruby implementation it goes nowhere? Does my IP have to be registered as a legitimate mail-sender or something?
Does my IP have to be registered as a legitimate mail-sender or something?
My sendmail uses a smart_host which sends all of my outgoing mail to my ISP's mail server. This allows me to aviod any potential situations where mail will only be accepted from "legitimate mail-senders."
Ok, so what should I do? Does anybody with a "legitimate" mail server know how to get around this? I tried using smtp.gmail.com to send the messages, but it rewrites the return address to the GMail email! This isn't so much of a problem, but I would really like to be able to send these messages directly. Any help?
Qwest doesn't seem to allow relaying for any of the SMTP servers I tested. What I can't figure out is where the T-Mobile server actually is! Try pinging tmomail.net! How the heck do the big guys get the information on where to send stuff?
When you signed up to your ISP, surely they told you to connect you mail client to POP.something and SMTP.something or similar? Simply send through the SMTP server they specified originally. Just because you are sending from a server through their relay rather than a client doesn't matter (you may need to set up authentication at your server end though).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.