sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #22253
Re: sendmail konfiguration
On Thu, 4 May 2000, Simon B. Nielsen wrote:
> Hvordan sættes sendmail op til at afvise mails med et bestemt subject
> og/eller attachment? Det kunne jo være rart at undgå den der
> ILOVEYOU virus :-)
På slashdot er der eksempler på dette til postfix og sendmail lige nu.
or Postfix (Score:4, Informative)
by njr on Thursday May 04, @07:54AM EST (#31)
(User Info)
If not active in /etc/postfix/main.cf uncomment the line and
change it to a line similar to:
header_checks = regexp:/etc/postfix/header_checks
Add the following line in /etc/postfix/header_checks:
/^Subject: ILOVEYOU/ REJECT
This will reject mails containing this subject.
Thanks to Claus Guttesen who posted this on the postfix
mailling list.
[ Reply to This | Parent ]
Re:Solution for Postfix (Score:1)
by otmar (otmar@xxxxxxxxxxxxx) on Thursday May 04, @08:04AM
EST (#81)
(User Info) http://cosy.sbg.ac.at/~lendl/
Sendmail can filter that crap as well, just add
HSubject: $>local_check_header_subject
D{loveletterMessage}"553 Your message may contain a worm."
Slocal_check_header_subject
RILOVEYOU $#error $: ${loveletterMessage}
to your sendmail.cf (version > 8.9 !).
(there is a tab between the ILOVEYOU and $#error.)
/ol (credits go to a cow-orker, though)
[ Reply to This | Paren
Jeg gider ikke rette teksten til, læs den selv på
http://slashdot.org/articles/00/05/04/0938227.shtml
Der er flere eksempler, automatisk til /dev/null, mv.
Der er aldrig nogen der sender mig Outlook virus. Snif... :-)
Mads
--
Mads Bondo Dydensborg. madsdyd@xxxxxxxxxxxx
When a single line of script in Linux can do things that'd keep you
pointing-and-clicking forever in Windows, you have great motivation to learn
that line of script.
- Chris Worth on The Microsoft Matrix
Follow ups
References