Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 07, 2013 1:36 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
Hi,
I have many email address on my linode.

If I send email from my davide@myserver.org to gmail no problem,
if I send email from my sales@myserver.org to gmail gmail does not receive this email,
no error but the gmail user will never receive my mail.

Any idea on why of this?

Thanks.


Top
   
PostPosted: Tue Sep 10, 2013 5:01 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
I don't think that google banned my sales email. I noticed that google reject also the "support" email...
Do you know if gmail has some problem with aliases?


Top
   
PostPosted: Tue Sep 10, 2013 11:44 am 
Offline
Senior Member

Joined: Wed Mar 03, 2010 2:04 pm
Posts: 111
Is the return address valid (i.e., will your server accept mail sent to sales@myserver.org)? Many receiving mail servers check to see if the address sending mail is valid before accepting mail from it.

Best thing to do is probably to tail your mail log while sending a message from sales@ and see what the discussion with the gmail server looks like in real time.

Code:
tail -f /var/log/mail.log
(or whatever your mail log file is).

Here's what a successful transaction looks like from Postfix:

Code:
Sep 10 08:10:36 brightstar postfix/pickup[28133]: 35A46141C5: uid=1000 from=<username>
Sep 10 08:10:36 brightstar postfix/cleanup[28675]: 35A46141C5: warning: header Subject: Test from local; from=<username@myserver>
Sep 10 08:10:36 brightstar postfix/cleanup[28675]: 35A46141C5: message-id=<20130910151036.35A46141C5@myserver>
Sep 10 08:10:36 brightstar postfix/qmgr[27663]: 35A46141C5: from=<username@myserver>, size=376, nrcpt=1 (queue active)
Sep 10 08:10:37 brightstar postfix/smtp[28715]: 35A46141C5: to=<username@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.129.27]:25, delay=0.93, delays=0.01/0.01/0.22/0.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1378825837 sl4si17533021pac.184 - gsmtp)
Sep 10 08:10:37 brightstar postfix/qmgr[27663]: 35A46141C5: removed


The second to last line, where it says "250 2.0.0 OK..." will reflect an error message of some kind if gmail is refusing your mail.


Top
   
PostPosted: Tue Sep 10, 2013 2:00 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
haus wrote:
Is the return address valid (i.e., will your server accept mail sent to sales@myserver.org)? Many receiving mail servers check to see if the address sending mail is valid before accepting mail from it.


sure, I have sales and support in the aliases and my server is accepting mails on that addresses, it simply redirect mails to my personal email address when some email is sent to that address.

haus wrote:
Best thing to do is probably to tail your mail log while sending a message from sales@ and see what the discussion with the gmail server looks like in real time.

Code:
tail -f /var/log/mail.log
(or whatever your mail log file is).

Here's what a successful transaction looks like from Postfix:

Code:
Sep 10 08:10:36 brightstar postfix/pickup[28133]: 35A46141C5: uid=1000 from=<username>
Sep 10 08:10:36 brightstar postfix/cleanup[28675]: 35A46141C5: warning: header Subject: Test from local; from=<username@myserver>
Sep 10 08:10:36 brightstar postfix/cleanup[28675]: 35A46141C5: message-id=<20130910151036.35A46141C5@myserver>
Sep 10 08:10:36 brightstar postfix/qmgr[27663]: 35A46141C5: from=<username@myserver>, size=376, nrcpt=1 (queue active)
Sep 10 08:10:37 brightstar postfix/smtp[28715]: 35A46141C5: to=<username@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.129.27]:25, delay=0.93, delays=0.01/0.01/0.22/0.7, dsn=2.0.0, status=sent (250 2.0.0 OK 1378825837 sl4si17533021pac.184 - gsmtp)
Sep 10 08:10:37 brightstar postfix/qmgr[27663]: 35A46141C5: removed


The second to last line, where it says "250 2.0.0 OK..." will reflect an error message of some kind if gmail is refusing your mail.


gmail answer OK as in your log.


Top
   
PostPosted: Tue Sep 10, 2013 3:53 pm 
Offline
Senior Member

Joined: Sun Apr 26, 2009 3:37 am
Posts: 72
Website: http://wiggenhorn.org/
Is the missing mail in the Gmail user's spam folder?


Top
   
PostPosted: Tue Sep 10, 2013 3:58 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
dcraig wrote:
Is the missing mail in the Gmail user's spam folder?


you got it...
damn why it goes into the spam folder?


Top
   
PostPosted: Tue Sep 10, 2013 6:30 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
sblantipodi wrote:
dcraig wrote:
Is the missing mail in the Gmail user's spam folder?


you got it...
damn why it goes into the spam folder?


Do you have spf/dkim records set? (I've found google pays close attention to spf records)

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Sep 10, 2013 9:33 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
In my experience, click "Not Spam" when it happens and Google will eventually figure it out.

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


Top
   
PostPosted: Wed Sep 11, 2013 4:08 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
obs wrote:
sblantipodi wrote:
dcraig wrote:
Is the missing mail in the Gmail user's spam folder?


you got it...
damn why it goes into the spam folder?


Do you have spf/dkim records set? (I've found google pays close attention to spf records)


I don't know what spf/dkim is.
What is it? How can I check?


Top
   
PostPosted: Wed Sep 11, 2013 4:09 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
hoopycat wrote:
In my experience, click "Not Spam" when it happens and Google will eventually figure it out.


I can't say to all my customer to click "not spam".


Top
   
PostPosted: Wed Sep 11, 2013 6:45 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
sblantipodi wrote:
I don't know what spf/dkim is.
What is it? How can I check?


Check here http://support.google.com/a/bin/answer. ... swer=33786 it's aimed at google apps so you'll have to adjust it for your own set up. SPF is easier than DKIM, you can ignore DKIM if you wish most providers are happy with just SPF

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Wed Sep 11, 2013 8:44 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
wow, this is good to know, thanks!
I'm using the linode dns manager, how can I add "this SPF" in the linode manager?


Top
   
PostPosted: Wed Sep 11, 2013 8:48 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Add a txt record which looks something like this
v=spf1 mx a ~all
That will allow emails from your MX records and A record. If you send from other servers you can add them with a:fqdn

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Wed Sep 11, 2013 9:20 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:32 pm
Posts: 737
Location: Italy
obs wrote:
Add a txt record which looks something like this
v=spf1 mx a ~all
That will allow emails from your MX records and A record. If you send from other servers you can add them with a:fqdn


what does it means ???
Code:
v=spf1 mx a ~all


can I add a TXT with that string without warry about making spammers life easyer.
what does it means that string?

don't I need to use something like this:
v=spf1 a:mydomain.org ~all
and another line like this:
v=spf1 mx:mydomain.org ~all

doesn't this two line more secure than "v=spf1 mx a ~all" ???


Top
   
PostPosted: Wed Sep 11, 2013 10:12 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
v=spf1 states that it's a SPF record. A means that any server that has an A record for your domain can send email, MX means your receiving email servers can also send. You only ever want one spf record. Also make sure you have rDNS configured properly.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


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


Who is online

Users browsing this forum: No registered users and 0 guests


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:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group