Problem in sending from other mail server

Problem in sending from other mail server SearchSearch
Author Message
lee vitez
New member
Username: Leevitez

Post Number: 1
Registered: 03-2011
Posted on Wednesday, March 23, 2011 - 05:55 am:   

Hi, i have installed nowsms trial version today. I was successful in sending an sms trial from the web interface (in my local PC) by following the instruction from http://www.nowsms.com/doc/e-mail-to-smsmms-connectivity/configuring-the-smtp-ser ver.
but my concern is, when i tried to send from the gmail web interface (google.com) to an addressed e.g. admin@sms.txtport.me, where “sms.sms.txtport.me” is my domain name defined in the “Domain Name for SMS E-Mail”, google mail always failed to connect. I always recieved this message:
Delivery to the following recipient failed permanently:

admin@sms.txtport.me

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <admin@sms.txtport.me>: Relay access denied (state 14).

looking forward fro your reply. thnx
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3032
Registered: 08-2008
Posted on Wednesday, March 23, 2011 - 11:05 am:   

Hi Lee,

Do you have an MX record defined for sms.txtport.me?

It should point to a host record (A or CNAME) that resolves to the NowSMS server.

Also, is an account named admin defined under "MMSC Users"?

If you enable the MMSCDEBUG.LOG do you see any attempts at SMTP connections?

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 2
Registered: 03-2011
Posted on Wednesday, March 23, 2011 - 01:41 pm:   

Hi Des,

Thank you for giving time in my problem.

(Do you have an MX record defined for sms.txtport.me?) Yes. This is the result issued by mxtoolbox.com where i had a mx lookup:

Pref Hostname IP Address TTL
5 mail1.no-ip.com 204.16.252.100 30 min
10 mail2.no-ip.com 69.65.5.113 30 min

(Also, is an account named admin defined under "MMSC Users"?) Yes. i had it placed, also in "SMS Users".

What else did i missed?

Thank you again.
lee vitez
New member
Username: Leevitez

Post Number: 3
Registered: 03-2011
Posted on Thursday, March 24, 2011 - 01:51 am:   

Follow-up inquires:

You said: "It should point to a host record (A or CNAME) that resolves to the NowSMS server."

Could you pls educate me how to do this basically becoz im just a novice in terms of technicalities in DNS service.

Thanx again...
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3038
Registered: 08-2008
Posted on Thursday, March 24, 2011 - 02:10 am:   

The procedure varies greatly based upon who you have your domain name registered with. (And in some cases, you register your domain with one provider and use DNS and hosting services from another provider.)

A DNS MX record is how other Internet hosts now how to deliver email for a domain name. (An A record maps a host name to an IP address to allow the name to be used for connecting to a server instead of the IP. A CNAME record points a name to another name as an alias.)

I don't know any good tutorials, but one that might be good is the one for Google Apps: http://www.google.com/support/a/bin/answer.py?answer=140034

It talks about when you have email for your domain hosted by Google, and has pointers for how to configure this with different providers. What you are doing is similar, so you might find this helpful.

Two important differences, you are creating an MX record for a subdomain (sms.domain.me) instead of a domain (domain.me), and there will be only one MX record, not multiple as with Google Apps and all their servers.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 4
Registered: 03-2011
Posted on Wednesday, March 30, 2011 - 09:06 am:   

HI Des,
Thank you for your time again. Im so sorry that I was not able to respond to your latest answer bcoz I was hospitalized 4 days due to my mini-stroke.
Btw, I appreciated the information you gave me, it helped me a lot to have insight on the matter.
Just one last call for help. I need to know if you have successfully setup the nowsms in your own server. Did you successfully send an email outside your network like sending from yahoo.com or other email server and received the sms in your mobile? how did you do that? What was your setup? Did you use an email client connecting nowsms? Pls. kindly give me a detailed description of your setup as a guide for me?
This is just the scenario I’d like to make it happen: User A sends email (let’s say user_a@yahoo.com, using the yahoo server, of course) to User B (sms recipient). When UserB receives the sms message, he replies back to User A as email format. This is bi-directional or two-way communication, isn’t it? And this is NowSMS works, isn’t it?
So I really need your help badly, my friend b4 I purchase this software.
Looking forward again for your reply. Thank you.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3071
Registered: 08-2008
Posted on Wednesday, March 30, 2011 - 08:53 pm:   

Hi Lee,

Sorry to hear about your health issues.

Installing a mail server can be difficult. That is basically what you are doing when you configure NowSMS this way.

These days, most people use a mail server that is hosted by someone else.

It is especially difficult to install a mail server when you are using a dynamic IP address.

There are two sides to the equation ... receiving e-mail and sending e-mail.

Receiving e-mail requires that you publish an MX record in DNS. This tells other mail servers how to deliver SMTP e-mail to your server.

The MX record has a pointer to your server, and your server listens for SMTP connections on port 25 in order to receive e-mail.

However, your ISP might block SMTP port 25, so even if you correctly setup your MX record using a dynamic DNS service like no-ip.com, you might have to use their paid alternate port SMTP service (http://www.no-ip.com/services/managed_mail/outbound_port_25_unblock.html).

Sending mail from a dynamic IP address is also difficult. Technically you can do it ... but practically speaking, most other e-mail servers will have spam blockers running that consider all unauthenticated e-mail messages sent from a known dynamic IP address range as being spam.

In order to get around the spam issue, you need a service that provides a relay host, such as the no-ip alternate SMTP port service that I referenced above.

It is unfortunate that it is so complicated, but when you setup NowSMS this way, it is like you are installing your own SMTP mail server. SMTP mail servers were not designed to be installed on systems with dynamic IP addresses, they expected to be installed in business environments. Work-arounds are necessary when working in dynamic IP environments.

I have never used no-ip.com's alternate port SMTP service, so I cannot comment on it.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 5
Registered: 03-2011
Posted on Friday, April 01, 2011 - 03:44 am:   

Thanks for the time, Des. This is really of great help to me. I'll follow this basic information while configuring NowSMS.

Thank you, again.