From owner-freebsd-isp Tue Jan 23 2:24:39 2001 Delivered-To: freebsd-isp@freebsd.org Received: from www.golsyd.net.au (ftp.golsyd.net.au [203.57.20.1]) by hub.freebsd.org (Postfix) with ESMTP id CEAC437B699 for ; Tue, 23 Jan 2001 02:24:22 -0800 (PST) Received: from [203.164.12.28] by www.quake.com.au (NTMail 4.30.0012/AH9370.63.d1acf55c) with ESMTP id ehvsaaaa for ; Tue, 23 Jan 2001 21:32:48 +1100 Message-ID: <3A6D5BD1.4C0863FC@quake.com.au> Date: Tue, 23 Jan 2001 21:24:17 +1100 From: Kal Torak X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: heckfordj@psi-domain.co.uk Cc: freebsd-isp@freebsd.org Subject: Re: sendmail rulesets References: <20010123092722.A234@freefire.psi-domain.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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