Questions tagged [spam]

DO NOT USE THIS TAG ON QUESTIONS THAT ARE SPAM, we have a special flag for that! Questions about bypassing somebody else's spam filter are also not welcome. And keep in mind that this is a programming Q&A site, not a general computer support site. Spam is the use/abuse of electronic messaging systems (e.g. e-mail) to send unsolicited bulk messages indiscriminately.

This tag would be appropriate for programming questions about spam classification, etc.

We do not control the email filters of Gmail, Hotmail, etc. If you want to learn how to bypass them, ask the people who maintain those filters instead (but be very much prepared for "are you serious?" replies, or, most likely, no reply at all).

Understand that spammers read this site and so divulging methods for bypassing somebody's spam filters is comparable to sabotage. Please do not post such solutions.

1049 questions
8
votes
3 answers

PermError SPF Permanent Error: Too many DNS lookup

I have SPF and TXT record configured. When i check the SPF record syntax. It says PermError SPF Permanent Error: Too many DNS lookup. v=spf1 include:_spf.google.com include:netcore.co.in ~all And my emails are landed in SPAM as well. 1) I am on…
n92
  • 7,424
  • 27
  • 93
  • 129
8
votes
1 answer

Can custom email headers trigger spam filters?

We do a lot of mailing and we use Sendgrid to give it unique arguments and categories. But for storage, archiving, filtering and search capabilities, I would like to give them some other custom headers too, something like a json format of this…
Swader
  • 11,387
  • 14
  • 50
  • 84
7
votes
1 answer

How to check spammyness of a link/url

I know that most spams are related with one or more links, so I am wondering if there is any web service which can check the spam-weight/spammyness of a URL. Similar to how Akismet can check the spammyness of text content. p.s. - I searched in…
Hasin Hayder
  • 818
  • 7
  • 8
7
votes
2 answers

Remove spam from git history

I have "inherited" a dirty git repository with about 5k valid commits and about 50k spam commits (this is the edit history for something that used to be a world-writable wiki). We're migrating formats so this is a good time to rewrite history. I…
Caleb
  • 5,084
  • 1
  • 46
  • 65
7
votes
2 answers

how to avoid my sent email not be classified as spam?

I am operating a website that can send invitation to other people, I encountered a problem that the emails sent from my website are all classified as spam in the major email sevice providers, I am just wondering how I can avoid this as much as…
Bin Chen
  • 61,507
  • 53
  • 142
  • 183
7
votes
2 answers

What does this line of PHP code do?

I extracted this from a wordpress-site, that happened to be infected and gets cleaned up by me. I suspect this line to be SEO spam, but I am not able to get the meaning of this line.
moestly
  • 1,681
  • 15
  • 19
7
votes
2 answers

X-Message-Delivery in Hotmail Messages

Recently I stared deciphering the hotmail inbox/junk folder placement. After long searching I found out that Hotmail/Outlook is using their X-Message-Delivery tag they input in each mail, to determine alot of things. If you go to source of an e-mail…
Jack Slayer
  • 71
  • 1
  • 3
7
votes
1 answer

Embedding image in email Python

Code used for sending an image embedded email using python is given below. from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage # Define these once; use them twice! strFrom =…
Nidhin Joseph
  • 1,461
  • 3
  • 15
  • 32
7
votes
4 answers

sending mail with php & escaping hotmails junk folder

I have been trying to get PEAR::mail to successfully deliver emails to hotmail users without being flagged as SPAM and ending up in the junk folder, i have no problems with yahoo/gmail only with hotmail. google suggested that this is a common…
JimmyJ
  • 4,311
  • 3
  • 27
  • 25
7
votes
1 answer

GMX's "Text Pattern Profiler" blocks transactional emails in English

My web application is sending transactional emails to its users (like "You received a payment", "Please activate your account", "Your article has been sold"). GMX users report regularly that those emails are marked as SPAM because of the "Text…
lacco
  • 882
  • 1
  • 10
  • 24
7
votes
5 answers

Sending SPAM bots to a blackhole

I have a few forms on my site that have been getting hammered by SPAM bots lately. I've finally got it under control (without the use of a captcha). Basically, I'm checking the form for various flags. If detected, I simply redirect them request to…
Paul Dessert
  • 6,363
  • 8
  • 47
  • 74
6
votes
1 answer

PHPmailer sending mail to spam in hotmail. how to fix?

I'm using the phpmailer class to send emails. Currently gmail and yahoo do not mark emails as spam, but hotmail always does. How can I prevent this? My code is below. require_once('../PHPMailer/class.phpmailer.php'); //include("class.smtp.php"); //…
Anonymous
  • 179
  • 2
  • 3
  • 10
6
votes
2 answers

How to avoid my mails sent from PHP mail() being marked as spam?

I'm using the following to send registration e-mails: $subject = 'subject is here'; $message_raw = 'e-mail text'; $message = base64_encode($message_raw); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/plain;…
Frantisek
  • 7,485
  • 15
  • 59
  • 102
6
votes
0 answers

AWS WAF ... how to improve results

I have a website served via AWS CloudFront. I've been getting a ton of entries in my nginx logs that look something like this: nginx_1 | 103.241.51.144 - - [09/Aug/2020:16:03:08 +0000] "GET /mysql/admin/index.php HTTP/1.1" 200 2311 "-"…
hugo
  • 1,175
  • 1
  • 11
  • 25
6
votes
1 answer

What is a good open source package for building flexible spam detection on a large Rails site?

My site is getting larger and it's starting to attract a lot of spam through various channels. The site has a lot of different types of UGC (profiles, forums, blog comments, status updates, private messages, etc, etc). I have various mitigation…
gtd
  • 16,956
  • 6
  • 49
  • 65