Link to home
Start Free TrialLog in
Avatar of aloknet21
aloknet21Flag for India

asked on

when i am sending mail to gmail or yahoo it goes in spam folder. What could be the reason? I am using sendmail.

when i am sending mail to gmail or yahoo it goes in spam folder. What could be the reason? I am using sendmail.
Avatar of Peter Hart
Peter Hart
Flag of United Kingdom of Great Britain and Northern Ireland image

sendmail has probably been identifiy by users of thoses systems that sendmail is used by spammers
google and yahoo have active spam filters where the users report back what spam they receive and I think over time people have got fed up recevieng mail shots from users of sendmail.
Avatar of jar3817
jar3817

The problem is most likely your configuration:
1. Are you on a static business internet connection? Using a residential class dynamic cable/dsl connection is going to guarantee your email is either classed as spam or rejected outright. If you're on a residential connection, setup your ISP's email server as a SMART_HOST in your /etc/mail/sendmail.mc file

2. Do you have valid, non-generic looking reverse DNS on the IP of this sendmail server? Ideally it should match your MX record and your LOCAL_DOMAIN from the sendmail.mc file. Make sure it's specific like "smtp.yourdomain.com" or "mail.yourdomain.com" and not generic like "host-1-2-3-4.bigisp.com". You'll probably have to talk to your ISP to get that changed. If they won't change it for you, you'll have to setup the SMART_HOST like in #1 to get around it.

3. Check your IP to see if it's blacklisted: http://mxtoolbox.com/blacklists.aspx

This has nothing to do with being a "user of sendmail."
Avatar of aloknet21

ASKER

205.236.16.61.in-addr.arpa domain name pointer mail.glyphinternational.com.

This is my reverse entry i found after running #host 61.x.x..x

i am using Fibre lease line with dedicated ip with speed of 4mbps at my office.
How about the SMTP banner address? I telnetted to that IP address on port 25 from my desktop and I see your server is advertising itself as "glyphinternational.com". The problem is "glyphinternational.com" resolves to 72.32.184.116 which is NOT the IP address of your mail server. This mismatch might be enough to cause problems.

You should change the banner address to "mail.glyphinternational.com". You should do that in two places:

1. Edit /etc/hosts and change the entry for 127.0.0.1 to mail.glyphinternational.com
2. Edit /etc/mail/sendmail.mc and make sure the LOCAL_DOMAIN is set accordingly:
   LOCAL_DOMAIN(`mail.glyphinternational.com')

You'll have to remake the sendmail.cf file (# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf), but make a backup first!

Then restart sendmail and give it another shot.
# Do not remove the following line, or various programs
# that require network functionality will fail.
#10.50.0.2      glyphinternational.com  localhost
10.50.0.6       glyphinternational.com  localhost
127.0.0.1       localhost.localdomain   localhost


this is the entry at /etc/hosts file.

if i will change here mail.glyphinternational.com then it will display user email address like abc@mail.glyphinternational.com
so i did this settings.

please suggest!
user email id should look like abc@glyphinternational.com

Well, try just changing the LOCAL_DOMAIN setting, see if that fixes it.

You can always masquerade the envelope domain from within sendmail, but you might not have to.
I have hosted my domain Rackspace (72.32.184.116) and created A Record and MX Record too.

I have hosted  my domain at Rackspace (72.32.184.116) and created A Record and MX Record too.
I have not masquerade it.
Did you make the change to the sendmail settings?
no not done yet as this server is live and currently using by 4 other locations so need to wait then can change.

currently i have sent mail to gmail now it is coming in inbox. very strange!
Maybe it was just the content of the message before that caused it to get flagged.
Thanks you Jar and Have a good Day!
http://manoj-domainkeys.blogspot.com/2008/04/domain-keys-with-sendmail.html

Here some one has referred that Domain Keys is responsible for this. Please suggest me.
Also i have done some test from EmailReach.com and found some settings at SpamAssasin is also wrong.

I want to show you this result before making any changes so that i should not go to any wrong step.
Emailreach-test-mail.doc
Hi I am attaching screen shot of my domain Records here.
domain.JPG
domain2.JPG
domain3.JPG
# Do not remove the following line, or various programs
# that require network functionality will fail.
#10.50.0.2      glyphinternational.com  localhost
10.50.0.6       glyphinternational.com  localhost
127.0.0.1       localhost.localdomain   localhost


This is my etc/hosts file entry.
That word document was completely unreadable, like you copied an html page with tables and just pasted it into word. Can you save it as a pdf to preserve the formatting?

As for DomainKeys, this probably won't help you. You don't have DK installed and running now, and they're not going to punish you for not using it, something is wrong with your current setup, adding something else to the mix might help, but it's not fixing the problem.

As for Spamassassin, that's for incoming mail on your system, nothing you do to spamassassin will affect how mail is handled when delivered to another system.

I still think the problem is the mismatch of your banner address. It's reporting the server as "glyphinternational.com" which resolves to one IP and the actual IP is different and resolves to "mail.glyphinternational.com". You should set the LOCAL_DOMAIN() option in the /etc/mail/sendmail.mc file to "mail.glyphinternational.com" and rebuild the sendmail.cf file and restart sendmail.
I have added mail.glyphinternational.com at sendmail now. But still mails are going in spam folder.






From.doc
I have added word file again.
This is the Header when i sent a mail to rediffmail. Please see if any clue from there.

Return-Path: <alok.singh@glyphinternational.com>
Delivered-To: alokranjan1087@f1.p3.mail.in.rediffmail.com@f1.p3.mail.in.rediffmail.com
Received: (qmail 57171 invoked from network); 29 Jun 2009 06:09:10 -0000
X-CNFS-Analysis: score=0 v=1.0 c=1 a=d1iURoITwNOa+mwjtmkOag==:17 a=8a6LEqTaXAfCxHvbAnMA:9 a=YgJGZc6EZGHXzaCN7NYA:7 a=Mb4rrULfwWcuTxT1Kge_ncsPGPkA:4 a=mJ8TjSKhnmWu6eRT524A:9 a=rACYRH4wcwKUODO0jgwA:7 a=2oTzPmwTH5rlnfYoek92p2-HyxMA:4
X-REDIFF-SENDER-VERIFY: D=-2, P=G
Received: from mail.glyphinternational.com (HELO glyphinternational.com) (61.16.236.205)
by 0 with SMTP; 29 Jun 2009 06:09:10 -0000
Received: from LocalHost ([10.50.0.2])
(authenticated bits=0)
by glyphinternational.com (8.13.8/8.13.8) with ESMTP id n5T6APOp003462
for <alokranjan1087@rediffmail.com>; Mon, 29 Jun 2009 11:40:25 +0530
Message-ID: <6E4BD0F7197F4302B4D65691060897E0@LocalHost>
From: "Alok" <alok.singh@glyphinternational.com>
To: <alokranjan1087@rediffmail.com>
Subject: test
Date: Mon, 29 Jun 2009 11:41:08 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0087_01C9F8AE.7EAA0780"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-GlyphInternational-MailScanner-Information: Please contact the ISP for more information
X-GlyphInternational-MailScanner: Found to be clean
X-GlyphInternational-MailScanner-SpamScore: s
X-GlyphInternational-MailScanner-From: alok.singh@glyphinternational.com
X-Spam-Status: Yes
try using a meaning ful subject
some mail clients will see email a spam if they receive an email with the same title over and over. and its its got certian words in the title
No all mails are going to spam folder i have tried with meaning full subject too.
"Received: from mail.glyphinternational.com (HELO glyphinternational.com) (61.16.236.205)"

You're still reporting "glyphinternation.com" as the hello address which doesn't match that IP address. Did you rebuild the sendmail.cf file and restart sendmail after making the LOCAL_DOMAIN change?
yes i have added mail.glyphinternational.com at sendmail.mc file and rebuild and restarted services.


if i will change etc/hosts file to mail.glyphinternational.com

then need to change etc/aliases too like mail.glyph......

that will show users email id like abc@mail.glyphinternational.com But i want to see like abc@glyphinternational.com

is any possibility here. please suggest.
i have change etc/hosts to mail.glyphinternational.com now and checked but problem is same.
Hi Jar3817   Please suggest
Ok....

Try changing the /etc/hosts/ entry for both 127.0.0.1 AND the actual IP address to "mail.glyphinternational.com" and try setting these options in your /etc/mail/sendmail.mc file:

LOCAL_DOMAIN(`glyphinternational.com')
MASQUERADE_AS(`glyphinternational.com')
MASQUERADE_DOMAIN(`glyphinternational.com')
FEATURE(masquerade_envelope)

Send an email and then post the headers from the receiving end so I can see what they look like.
one thing i notice when i change /etc/hosts to mail.glyph....com . i was able to send mail to myself but mails are not coming to my inbox.

should it require to make changes at /etc/aliases tooo
LOCAL_DOMAIN(`glyphinternational.com')

This line tells sendmail to accept mail for this domain...
ok
or you can add the domain(s) to the /etc/mail/local-host-names file
From Alok Mon Jun 29 19:17:50 2009
Return-Path: <alok.singh@glyphinternational.com>
Authentication-Results: mta148.mail.in.yahoo.com  from=glyphinternational.com; domainkeys=neutral (no sig); from=glyphinternational.com; dkim=neutral (no  sig)
Received: from 61.16.236.205  (EHLO glyphinternational.com) (61.16.236.205)
  by mta148.mail.in.yahoo.com with SMTP; Mon, 29 Jun 2009 19:17:27 +0530
Received: from LocalHost ([10.50.0.2])
      (authenticated bits=0)
      by glyphinternational.com (8.13.8/8.13.8) with ESMTP id n5TDl7L9007219
      for <aloknet_21@yahoo.co.in>; Mon, 29 Jun 2009 19:17:07 +0530
Message-ID: <DEB47DBB55F04C549011687108F19813@LocalHost>
From: "Alok" <alok.singh@glyphinternational.com>
To: <aloknet_21@yahoo.co.in>
Subject: welcome to glyph
Date: Mon, 29 Jun 2009 19:17:50 +0530
MIME-Version: 1.0
Content-Type: multipart/alternative;
      boundary="----=_NextPart_000_009B_01C9F8EE.4B470420"
Content-Length: 723


this is the Header........


Received: from 61.16.236.205  (EHLO glyphinternational.com) (61.16.236.205)

Did you change the /etc/hosts file? Those 4 options from post id 24735768 should allow mail to be send from "glyphinternational.com" rather than mail.glyphinternational.com after changing the hosts file.
yes i did all your mention points.
From Alok Mon Jun 29 19:25:49 2009
Return-Path: <alok.singh@glyphinternational.com>
Authentication-Results: mta107.mail.in.yahoo.com  from=glyphinternational.com; domainkeys=neutral (no sig); from=glyphinternational.com; dkim=neutral (no  sig)
Received: from 61.16.236.205  (EHLO mail.glyphinternational.com) (61.16.236.205)
  by mta107.mail.in.yahoo.com with SMTP; Mon, 29 Jun 2009 19:27:05 +0530
Received: from LocalHost ([10.50.0.2])
      (authenticated bits=0)
      by mail.glyphinternational.com (8.13.8/8.13.8) with ESMTP id n5TDt7ci003090
      for <aloknet_21@yahoo.co.in>; Mon, 29 Jun 2009 19:25:07 +0530
Message-ID: <24BF5A381B054007BC2870EC0D81EC91@LocalHost>
From: "Alok" <alok.singh@glyphinternational.com>
To: <aloknet_21@yahoo.co.in>
Subject: Fw: TEBC_I_3_01
Date: Mon, 29 Jun 2009 19:25:49 +0530
MIME-Version: 1.0
Content-Type: text/plain;
      format=flowed;
      charset="iso-8859-1";
      reply-type=original
Content-Transfer-Encoding: 7bit
Content-Length: 6093
Excellent, that's those headers look good. BUT, your IP is listed in the UCEProtect level 3 blacklist:

http://www.uceprotect.net/en/rblcheck.php?ipr=61.16.236.205

Call your ISP to complain, they're the only ones who can get you off the list.
v=spf1 ptr:mail.glyphinternational.com ip4:61.16.236.205 a:mail.glyphinternational.com ~all


i have created spf record now at my hosting site tooo..
but still mails are going in spam folder at yahoo and rediffmail.
As per post# 24736207:

http://www.uceprotect.net/en/rblcheck.php?ipr=61.16.236.205

Call your ISP to complain that your IP is on the list, they're the only ones who can get you off the list.
i think there is only one solution now i.e. Domain keys
You're on a blacklist. Adding domain key probably won't outweigh that. You need to put pressure on your ISP to get your off the list.
ok talking to my ISP then.

Thanks for your help.
its gmail and Yahoo that does it not the ISP.
it just takes several users to provide fedback to the mail providers about spam from email client
Gmail and Yahoo use the list, they didn't add the IP to the list. It's the ISP's responsibility to get its own IP address off blacklists for it's customers.
not sure I agree, as I mentioned above, gmail and other mail servers decide who to blacklist, after clients press the "this is spam" button"  and also ISPs do the same, so there are 2 points of origin for becoming spam:

http://www.google.com/support/forum/p/gmail/thread?tid=3be45fef807d840f&hl=en
It's an independent blacklist, not owned and operated by google or yahoo, it is used by them as it can be by anyone who runs a mail server.

http://www.uceprotect.net/en/rblcheck.php?ipr=61.16.236.205

Read the third section from the bottom:

"Please send a compliant to your provider and request them to fix this problem immediatly.
Think about this: You pay them for, that you can use the Internet without problems."

Hi Jar3817

i have another domain that is mail.inttype.com and pointed to 203.196.139.146

that is also blacklisted here but all mails are reaching fine to gmail and yahoo etc.......

Here is same case ip is not blacklisted but ASN is listed.

please suggest.
see the Header of this domain when i sent a mail to yahoo id.

From Alok Tue Jun 30 11:03:08 2009
Return-Path: <aloks@inttype.com>
Authentication-Results: mta104.mail.in.yahoo.com  from=inttype.com; domainkeys=neutral (no sig); from=inttype.com; dkim=neutral (no  sig)
Received: from 203.196.139.148  (EHLO inttype.com) (203.196.139.148)
  by mta104.mail.in.yahoo.com with SMTP; Tue, 30 Jun 2009 11:02:48 +0530
Received: from LocalHost (unknown [10.50.0.2])
      by delhi.inttype.com (Postfix) with ESMTP id 324B998A80F
      for <aloknet_21@yahoo.co.in>; Tue, 30 Jun 2009 11:02:15 +0530 (IST)
From: "Alok" <aloks@inttype.com>
To: <aloknet_21@yahoo.co.in>
Subject: welcome to inttype
Date: Tue, 30 Jun 2009 11:03:08 +0530
Message-ID: <002101c9f944$402f64f0$c08e2ed0$@com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
      boundary="----=_NextPart_000_0022_01C9F972.59E7A0F0"
Thread-Index: Acn5RD/nGoOx7IieR/OkfxPanl74Ug==
Content-Language: en-us
Content-Length: 6295
there is no one blacklist - google and yahoo do not maintain  'blacklist' to get off, its created by users indicating "this is spam" and will look at the domain as well as the IP (as we all know its easy to change the IP).
one mans spam is another mans news update.
ASKER CERTIFIED SOLUTION
Avatar of jar3817
jar3817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alok21,
please see link below about "send reputation metircs" for Yahho.
gmail has a feature to upload what clients see as spam to allow gmail to stop others getting the same..

BTW ... what are you sending out and to how many?

here's advice on how to get off the Yahoo blacklist...who use "sender reputation metrics " 
http://www.rackaid.com/resources/rackaid-blog/racktips/remove_yahoo_blacklist/
for Google there is no place unless you have a website also where you  can ask for them to reconsider
http://googlewebmastercentral.blogspot.com/2008/07/requesting-reconsideration-using-google.html