Does gmail banned my sales email address?
I have many email address on my linode.
If I send email from my
if I send email from my
no error but the gmail user will never receive my mail.
Any idea on why of this?
Thanks.
28 Replies
Do you know if gmail has some problem with aliases?
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.
tail -f /var/log/mail.log
(or whatever your mail log file is).
Here's what a successful transaction looks like from Postfix:
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</username@gmail.com></username@myserver></username@myserver></username>
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.
@haus:
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:
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.
tail -f /var/log/mail.log
(or whatever your mail log file is).
Here's what a successful transaction looks like from Postfix:
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</username@gmail.com></username@myserver></username@myserver></username>
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.
@dcraig:
Is the missing mail in the Gmail user's spam folder?
you got it…
damn why it goes into the spam folder?
@sblantipodi:
@dcraig: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)
@obs:
@sblantipodi:
@dcraig: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?
@hoopycat:
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".
@sblantipodi:
I don't know what spf/dkim is.
What is it? How can I check?
Check here
I'm using the linode dns manager, how can I add "this SPF" in the linode manager?
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
@obs:
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 ???
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" ???
@obs:
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.
thanks!!!
what is the rDNS???
if you mean reverse DNS I specified it in the remote access tab of my linode manager.
my currente rdns is:
xx.xx.xx.xx mydomainname.org.
here a picture of my dns manager,
does it lack something or it is ok?
@obs:
Yep looks fine.
if I dns query my domain I can clearly see that TXT records has benn propagated…
gmail continues to put my "sales" and "support" emails in the spam folder…
I will wait 24 hours, hope that time and better dns propagation will be the solution.
@haus:
Gmail puts certain emails in the Spam folder regardless of what you do. Are you sending blank "test" emails? Those almost always get sent to spam. If so, try sending a message with actual content (not fake text; remember, Gmail scans mail and it will know if the message is gibberish).
I'm not sending gibberish message.
the message contains normal text as a normal email.
Gary Thorne
@gthornejr:
Is it possible for the user to send you a screenshot of what they see in their gmail account for your message, or to reproduce it yourself with a dummy gmail account? When I look at my spam folder messages, they have a message at the top that says something like "Why is this message in Spam? We've found that lots of messages from infinfolkin.info are spam." and has a link for more information on the different classifications. You can also select "Show original" and read the headers Gmail adds for some hints sometimes on what is going wrong.
Gary Thorne
thanks for the answer gary.
I have done what you have saied.
There is no reason on why they marked the mail as spam but in the "show original" I can see this:
Received-SPF: neutral (google.com: IPREMOVEDBYMETOPOSTONLINODE is neither permitted nor denied by best guess record for domain of apache@mail.MYDOMAIN.org) client-ip=IPREMOVEDBYMETOPOSTONLINODE ;
Authentication-Results: mx.google.com;
spf=neutral (google.com: IPREMOVEDBYMETOPOSTONLINODE is neither permitted nor denied by best guess record for domain of apache@mail.MYDOMAIN.org) smtp.mail=apache@mail.MYDOMAIN.org
X-PHP-Originating-Script: 501:proz.php
What do you think about this?
mail.mydomain.org in the reverse dns.
Before of this thread my reverse dns was mydomain.org
Received-SPF: pass (google.com: best guess record for domain of
spf passed and mail are not marked as spam from gmail.
good.
Why the reverse DNS should be mail.mydomain.org instead of mydomain.org ???
What is the reason of this? Why google want this?
@sblantipodi:
I bump this old thread for a question.
Why the reverse DNS should be mail.mydomain.org instead of mydomain.org ???
What is the reason of this? Why google want this?
I don't believe it should be mail.mydomain.org - iirc, the best thing is to have the reverse DNS set to what you mail from. So if you mail from
@Nuvini:
@sblantipodi:I bump this old thread for a question.
Why the reverse DNS should be mail.mydomain.org instead of mydomain.org ???
What is the reason of this? Why google want this?
I don't believe it should be mail.mydomain.org - iirc, the best thing is to have the reverse DNS set to what you mail from. So if you mail from
foo@bar.com set your rDNS to bar.com. Some mailservers check the RDNS records to prevent spam.
I try to set it to bar.com and see what google does.
@Nuvini:
I don't believe it should be mail.mydomain.org - iirc, the best thing is to have the reverse DNS set to what you mail from. So if you mail from
foo@bar.com set your rDNS to bar.com. Some mailservers check the RDNS records to prevent spam.
There is no reason whatsoever why the rDNS needs to match the domain of the email. Lots of email on the internet is sent by third-party servers that do not match the name of the sending domain. The only things that might be checked on the rDNS would be that it matches forward DNS, matches the HELO name of your SMTP server, and that it doesn't contain obvious terms like "dialup".