Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 21:24:17 +1100
From:      Kal Torak <kaltorak@quake.com.au>
To:        heckfordj@psi-domain.co.uk
Cc:        freebsd-isp@freebsd.org
Subject:   Re: sendmail rulesets
Message-ID:  <3A6D5BD1.4C0863FC@quake.com.au>
References:  <20010123092722.A234@freefire.psi-domain.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Jamie Heckford wrote:
> 
> Hi,
> 
> Bit stuck trying to implement the following:
> 
> I would like to have any email that contains a .exe or .vbs file
> in the body or attached to be removed, and an email sent to the
> recipient and the sender along the lines of "Sorry but due to new policy.."
> 
> Can anyone give advice on the configuration of sendmail.cf to due this,
> or am i going to have to write my own perl wrapper?


Have you looked at procmail? /usr/ports/mail/procmail

To quote the description:

# more pkg-descr
This is ProcMail, the ultimate incoming mail processor.

WWW: http://www.procmail.org/

That should do what you want and more...


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6D5BD1.4C0863FC>