Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: E-mail providers issue
PostPosted: Sat Dec 24, 2011 10:58 am 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Hello!

My name is Vlad and I am noob. :lol:

I have a problem which confuses me - my email server seems to be choosing to which e-mail provider should be sent verification e-mail and to which-not. It works with gmail.com (users get mails there) but no letters are recived in ukr.net (It is very popular in my counry e-mail provider).

Can anyone help me with it?

Thanks!

PS - As far as I remember, I am on Send-only Mail Server with Exim on Ubuntu 10.04 LTS (Lucid).


Top
   
 Post subject:
PostPosted: Sat Dec 24, 2011 4:18 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Try sending some test e-mails while monitoring your mail server's log files. (They should be under /var/log, with some obvious-looking name such as mail.err for error logs.) If any suspicious entries appear at the time you send your test e-mails, you can Google them, post them here, etc.

Also, some e-mail service providers just refuse e-mails from random servers. Unfortunately there's very little you can do about it in that case, other than switching to an external e-mail sending service (such as Amazon SES) that the recipient trusts.


Top
   
 Post subject:
PostPosted: Mon Dec 26, 2011 6:29 pm 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Hello!
I am back.

I could find nothing in var/log , but I got something in exim4 dir. -

"15:37:37 1RfHIe-0002Jl-K8 ** ....@ukr.net R=dnslookup T=remote_smtp: SMTP error from remote mail server after RCPT TO:<.....@ukr.net>: host mxs.ukr.net [195.214.192.100]: 550 Sender verify failed"

What could it mean and how to fight that?

PS What about external e-mail sending service I am now using Google apps, but as I was told, it anyway needs internal (on-serrver) mail, so the only way to do it is through the problem above.

Help me pls, as I am going th give up soon:(


Top
   
 Post subject:
PostPosted: Mon Dec 26, 2011 8:33 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
shopz wrote:
550 Sender verify failed

ukr.net is probably applying very strict sender verification rules. You may have to change a few things about your mail server setup in order to get past their spam filters.

1. Whose address is in the "From" field of your outgoing messages? If it's your own Hotmail/Gmail/etc. address, the recipient might reject it because your Linode is not authorized to send e-mail on behalf of Hotmail/Gmail/etc. addresses. Try using an address at your own domain. Also make sure that you have an SPF record at your domain, explicitly permitting your Linode to send e-mail on behalf of it.

2. What does exim think its hostname is? This needs to be a fully qualified domain name (preferably a subdomain of your own domain) that actually points to your Linode's IP address.

3. Do you have a proper Reverse DNS entry for your Linode's IP address? (The default members.linode.com entry is fine.)

Note that it can take a few hours to a couple of days before DNS changes take effect.


Top
   
 Post subject:
PostPosted: Wed Dec 28, 2011 5:55 pm 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Thanks for Your advices, but I got lost now:)

1- I have my domain adress in "from", its ok.
But what about SPF record - I cannot find whereit is.

2 - Also OK, fully qualified domain name is there.

3 - As well I have no idea where is it.

All I could find there was
"NS Records
ns1.linode.com
ns2.linode.com
ns3.linode.com"


Top
   
 Post subject:
PostPosted: Wed Dec 28, 2011 8:05 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
You can add SPF to your domain by going to the DNS manager and adding a TXT record. (An SPF record is a kind of TXT record.)

If the website is hosted on the same Linode, something like "v=spf1 a mx ~all" (without the quotes) should do. See here for more info.

As for reverse DNS, it's in the Network tab of your Linode Manager. It should be valid if you didn't touch it.

You might also want to check online forums in your own country (Ukraine?) to see if other people are having difficulty sending e-mail to ukr.net. They might be particularly strict about e-mails sent from small websites outside of the country.


Top
   
 Post subject:
PostPosted: Sat Dec 31, 2011 8:43 am 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Hi!

I used Your advice about SPF (I added it without name, right?), but nothing changed(

As to my provider (I mean ukr.net), it occures to have such problems often. And not only they. Few more mail providers in UA/RU have such restrictions that prevent lots of sites from sending mails to that providers.

Is thereany way tosolve that problem, or I should give up trying now?


Top
   
 Post subject:
PostPosted: Sat Dec 31, 2011 9:35 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Try sending a mail to me at rtucker@hoopycat.com ... I'll take a look at the headers and my mail server logs to see if there's anything bad going on in there.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Jan 02, 2012 6:30 pm 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Hello, hoopycat!

I have just registred an account with Your e-mail on my site. So You should get message now.

Can You check what is wrong with it?

PS - I s that possible that problem will be solved after I change my VPS to other one?

Thanks for Your help!


Top
   
 Post subject:
PostPosted: Tue Jan 03, 2012 10:12 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Ah-ha:

Code:
Jan  3 10:06:20 framboise postfix/smtpd[13602]: NOQUEUE: reject: RCPT from redacted.members.linode.com[redacted]: 450 4.1.8 <www-data@redacted.example.com>: Sender address rejected: Domain not found; from=<www-data@redacted.example.com> to=<rtucker@hoopycat.com> proto=ESMTP helo=<redacted.example.com>


It looks like your system hostname is redacted.example.com, but that doesn't resolve in the DNS. Try adding an A record for redacted and see if that makes it happy...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Jan 03, 2012 6:10 pm 
Offline
Senior Newbie

Joined: Sat Dec 24, 2011 10:49 am
Posts: 16
Hoopycat, You rock!!!!!

I added proper A - name in DNS and it just started to send mails.

That is amazing!!!!

Many thanks for You, hoopycat, I could be in difficult situation still if not You!


Top
   
 Post subject:
PostPosted: Tue Jan 03, 2012 11:19 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Woot! I did get the e-mail.

Not every mail server checks for that condition, so it's simply luck that mine does... I'm not sure if it catches much spam, but it does catch this problem! :-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group