"Greetings" -- sendmail block
Julian Field
mailscanner at ecs.soton.ac.uk
Fri Oct 25 21:10:28 IST 2002
In case you want to block this with sendmail, so that it never gets in to
your site in the first place, this will do the job in your sendmail.cf file:
HSubject: $>Check_Subject
D{FriendPat}you have an E-Card from
D{FriendMsg}This message is probably a nasty E-Card.
SCheck_Subject
R$* ${FriendPat} $* $#error $@ 5.7.1 $: ${FriendMsg}
Remember that the whitespace before "$#error" has to be tabs and not spaces.
If you want to expand the list of subjects, just make more pairs of "D"
lines to set the patterns and messages, and add a new R line for each one.
At 17:18 25/10/2002, you wrote:
>At 17:06 25/10/2002, you wrote:
>>On Fri, 25 Oct 2002, Julian Field wrote:
>> > Would people prefer
>> > 1) Replace the content of messages containing "nasty" headers such as
>> this,
>> > as if it was a virus
>> > 2) Just flag is as spam and handle according to the normal "Spam Actions"
>> > ?
>> >
>> > I'm writing (1) at the moment, but it just occurred to me that (2)
>> might be
>> > better.
>> >
>> > Your votes please...
>>
>>This is mere speculation and may be impractical, but...
>>
>>How about making the behaviour (currently a proposed two-list of
>>"virus-like" or "spam-like") somehow selectable by the sys.admin.??
>
>How did I know that someone was about to say that...
>:-)
>
>I'm going to go with the SpamAssassin solution for now, it means less work
>for me and I've had a long week. More brandy needed....
>--
>Julian Field Teaching Systems Manager
>jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
>Tel. 023 8059 2817 University of Southampton
> Southampton SO17 1BJ
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list