[sendmail] One Spam Per Day..


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [sendmail] One Spam Per Day..
# 1  
Old 03-09-2015
[sendmail] One Spam Per Day..

Hi,
I have sendmail 8.14.4 on a CentOS 6.6-RELEASE virtual machine. This box is primary MX for our domain, and everything is swell.

Every single day, one spam gets through. This spam has the 'From' address '<>', and my google search reveals that blocking the null sender is not a good idea.

In my sendmail.mc, I have:

dnl FEATURE(`enhdnsbl',`sbl-xbl.spamhaus.org',`"Message from "$&{client_addr}" rejected - see: http://www.spamhaus.org/sbl"


But this blocks e-mail from two of our clients.

One spam per day isn't that bad, but it's frustrating that I can't stop it. The IP is different every day. The e-mail always comes from 'david[randomcharacters]@something.com, so I can't block 'david,' because that will stop legitimate e-mails.

I think that this is a job for procmail, but reading the recipes, they look like they were written in postgrad maths.

Can someone help?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Julian day to dates in YEAR-MONTH-DAY

hello, I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc. I need to do it for several years and leap years as well. What is the best way to do it ? Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies

2. UNIX for Dummies Questions & Answers

Move the files between Current day & a previous day

Hi All, I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day. i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies

3. Shell Programming and Scripting

Script to check if last modified day is previous day

Hi, I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it. For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies

4. Shell Programming and Scripting

Code creates day 32 instead of 1st day of next month.

I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help! yy=`date +%Y` mm=`date +%m` dd=`date +%d` echo "Today is : $yy $mm $dd" #!/usr/bin/ksh date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies

5. Solaris

May i know the day to day activities of a Solaris system administrator?

Recently i have attended a telephonic interview. As i dont have work experience in solaris i was not able to deliver correct answer for this question. Your answer will help for the people like me who is looking to become Solaris System administrator. (4 Replies)
Discussion started by: Sesha
4 Replies

6. Shell Programming and Scripting

Script to find previous month last day minus one day timestamp

Hi All, I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this. My Requirment is as below: Input for me will be 2000909(YYYYMM) I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies

7. Solaris

/var size is increasing day by day

Hi experts, I am facing a big problem. i use solaris 9. i found size of /var is increasing day by. snapshot of a yester moring- /dev/vx/dsk/var 15G 14G 1.1G 94% /var snapshot of a yesterday everning- /dev/vx/dsk/var 15G 14G 824M 95% /var I am... (11 Replies)
Discussion started by: thepurple
11 Replies

8. Solaris

(anti spam )Sendmail v8.11.6 on sun solaris 8

hay i have a problem in sendmail i have many spam and i can't stop it i was read some ruls and i add it in sendmail config file but nothing happend i recived about 300 spam mail daily in users mail .... can any one help me .... (4 Replies)
Discussion started by: monn99
4 Replies

9. Shell Programming and Scripting

Write a shell script to find whether the first day of the month is a working day

Hi , I am relatively new to unix... Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell.. This is very urgent. Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies
Login or Register to Ask a Question
dspam_stats(1)							       DSPAM							    dspam_stats(1)

NAME
dspam_stats - display spam statistics SYNOPSIS
dspam_stats [--profile=PROFILE][-HhrSst] [username] DESCRIPTION
dspam_stats displays the spam filtering statistics for one or all users on the system. Displays TP (True Positives (Spam)), TN (True Nega- tives (Innocent)), FP (False Positives), FN (False Negatives), SC (Spam Corpusfed) and NC (Nonspam Corpusfed). OPTIONS
--profile=PROFILE Specify a storage profile from dspam.conf. The storage profile selected will be used for all database connectivity. See dspam.conf for more information. -H Uses multi-line, human-readable output displaying the fully-qualified names for each class of totals, instead of their abbreviated terms. -h Displays help syntax -r Resets the current snapshot -s Displays stats since last snapshot (instead of since epoch) -S Displays accuracy percentages in addition to stats -t Displays a total of all statistics displayed [username] Specifies the username to query. If no username is provided, all users will be queried. EXIT VALUE
0 Operation was successful. other Operation resulted in an error. COPYRIGHT
Copyright (C) 2002-2011 DSPAM Project All rights reserved. For more information, see http://dspam.sourceforge.net. SEE ALSO
dspam(1), dspam_admin(1), dspam_clean(1), dspam_crc(1), dspam_dump(1), dspam_logrotate(1), dspam_merge(1), dspam_train(1) DSPAM
Apr 17, 2010 dspam_stats(1)