LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2013, 11:12 PM   #1
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Rep: Reputation: 16
Spam Problem in sendmail


Hi Friends,

Recently I had configured sendmail in my linux centos version 6.
All is working fine. But when I send mail to gmail and hotmail its goes to spam folder. Even I added SPF record But still I am getting same problem. I had installed spamassassign and clamav but nothing happened.The following is the one of my test Email Header


Delivered-To: goog1emails@gmail.com
Received: by 10.58.107.193 with SMTP id he1csp794veb;
Fri, 14 Jun 2013 20:24:11 -0700 (PDT)
X-Received: by 10.15.27.194 with SMTP id p42mr5971431eeu.153.1371266650584;
Fri, 14 Jun 2013 20:24:10 -0700 (PDT)
Return-Path: <admin@example.com>
Received: from example.com ([2a00:1a48:7805:112:2731:a0d9:ff08:4b1a])
by mx.google.com with ESMTPS id a41si4264489eew.56.2013.06.14.20.24.10
for <goog1emails@gmail.com>
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Fri, 14 Jun 2013 20:24:10 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning admin@example.com does not designate 2a00:1a48:7805:112:2731:a0d9:ff08:4b1a as permitted sender) client-ip=2a00:1a48:7805:112:2731:a0d9:ff08:4b1a;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning admin@example.com does not designate 2a00:1a48:7805:112:2731:a0d9:ff08:4b1a as permitted sender) smtp.mail=admin@example.com
Received: from example.com (localhost [127.0.0.1])
by example.com (8.14.4/8.14.4) with ESMTP id r5F3O167020523
for <goog1emails@gmail.com>; Sat, 15 Jun 2013 03:24:01 GMT
Received: (from apache@localhost)
by example.com (8.14.4/8.14.4/Submit) id r5F3O1Hq020517;
Sat, 15 Jun 2013 03:24:01 GMT
X-Authentication-Warning: example.com: apache set sender to admin@example.com using -f
Received: from 115.248.201.217
(SquirrelMail authenticated user admin)
by example.com with HTTP;
Sat, 15 Jun 2013 03:24:01 -0000
Message-ID: <ccc02e92729cf7f4fa1cd97b8066ad4f.squirrel@example.com>
Date: Sat, 15 Jun 2013 03:24:01 -0000
Subject: Welcome today
From: admin@example.com
To: goog1emails@gmail.com
User-Agent: SquirrelMail/1.4.22-3.el6
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner-ID: r5F3O167020523
X-yoursite-MailScanner: Found to be clean
X-yoursite-MailScanner-From: admin@example.com
X-Spam-Status: No

Hi

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

I am tried last 3 days. But No use. Please help me on this issue. I am using sendmail version 8.14

Thank you
 
Old 06-15-2013, 01:33 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,445

Rep: Reputation: Disabled
Quote:
Originally Posted by saran_redhat View Post
Even I added SPF record But still I am getting same problem.
Assuming you're not actually using "admin@example.com" as your e-mail address address (which would be considered a forged "from" address and will cause your mails to be classified as spam), it seems there's something wrong with your SPF records:
Quote:
Originally Posted by saran_redhat View Post
Received-SPF: softfail (google.com: domain of transitioning admin@example.com does not designate 2a00:1a48:7805:112:2731:a0d9:ff08:4b1a as permitted sender) client-ip=2a00:1a48:7805:112:2731:a0d9:ff08:4b1a;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning admin@example.com does not designate 2a00:1a48:7805:112:2731:a0d9:ff08:4b1a as permitted sender) smtp.mail=admin@example.com
Your server obviously has both an IPv4 and an IPv6 address (good!), so make sure to create both an A and an AAAA record.
 
Old 06-15-2013, 01:51 AM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 222

Rep: Reputation: 62
You may need to set up a reverse DNS record so that it's more likely that your email won't get wrongly rejected as spam. Also, consider setting up SenderID and DKIM.
 
Old 06-15-2013, 02:13 AM   #4
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
Spam problem in sendmail

Quote:
Originally Posted by rosehosting.com View Post
You may need to set up a reverse DNS record so that it's more likely that your email won't get wrongly rejected as spam. Also, consider setting up SenderID and DKIM.
Thank you for the reply.

This is my SPF record:

v=spf1 ip4:172.13.4.9 mx a:www.example.com mx:mail.example.com ~all

Reverse DNS we already configured.
Thanks
 
Old 06-17-2013, 06:50 AM   #5
saran_redhat
Member
 
Registered: May 2009
Location: chennai
Posts: 247

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Ser Olmy View Post
Assuming you're not actually using "admin@example.com" as your e-mail address address (which would be considered a forged "from" address and will cause your mails to be classified as spam), it seems there's something wrong with your SPF records:

Your server obviously has both an IPv4 and an IPv6 address (good!), so make sure to create both an A and an AAAA record.
Thanks for the reply,

Sorry I cant understood, Please can you explain little bit.

Thanks
 
Old 06-17-2013, 07:04 AM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,445

Rep: Reputation: Disabled
The SPF error indicates that the receiving mail server fails to find an IPv6 record. You should add "ip6:2a00:1a48:7805:112:2731:a0d9:ff08:4b1a" to your existing SPF record.

You may also want to add an IPv6 AAAA record for your mail server.
 
Old 06-17-2013, 09:21 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by Ser Olmy View Post
Assuming you're not actually using "admin@example.com" as your e-mail address address (which would be considered a forged "from" address and will cause your mails to be classified as spam), it seems there's something wrong with your SPF records:
Your server obviously has both an IPv4 and an IPv6 address (good!), so make sure to create both an A and an AAAA record.
Ser Olmy, you may want to read some of saran_redhat's previous posts:
http://www.linuxquestions.org/questi...em-4175462017/
http://www.linuxquestions.org/questi...nx-4175462185/

...where they've been asked questions specifically about why they're pretending to be Wells Fargo Bank from the US, and doing website redirections to Nigeria (home of the 419 scam).

Saran_redhat, do you have any answers for the questions you've been asked before?? This seems like a continuation of some of your previous threads...and based on your avoidance of the questions before, it would lead someone to assume that you've modified the email headers posted, to be "admin@example.com", rather than what you previously posted:
Quote:
Originally Posted by saran_redhat
Tue, 14 May 2013 09:02:42 -0700
H??Reply-To: no-reply@rssda.org *************** Website in Nigeria ***************
H??From: "WellsFargo" <no-reply@rssda.org> *************** FROM Addressed spoofed to WellsFargo

H??Subject: 1 new message
Did you ever reply to the moderators direct email about this? Because you certainly didn't respond in the threads you posted. Personally, I will be more than happy to help you if you have reasons for such things, but I really will NOT help spammers/scammers shovel out more emails.

saran_redhat, can you please tell us the answers?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail PHP and spam problem walidaly Linux - Software 2 04-23-2007 05:09 AM
Spam blocking using sendmail linux_aru Linux - Server 3 11-03-2006 11:27 AM
spam and sendmail Ammad Linux - Networking 1 12-14-2005 09:55 AM
Spam and sendmail Jonpittam Linux - Software 2 09-30-2004 06:56 AM
Sendmail Spam MrJoshua Linux - Software 1 08-14-2003 10:54 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration