Use procmail to scan the attachments.
Use a procmail script to look for the magic numbers of various image
formats. It could make use of the 'file' command, which would report
whether or not the file fits such a image format. It could then strip
these attachments out for storage or the bit bucket. Probably get a very
decent accuracy rate as well.
J.
On Mon, 29 Nov 1999, Phil Risby wrote:
> Date: Mon, 29 Nov 1999 15:11:15 -0500
> From: Phil Risby <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Stopping Pictures
>
> Manoj Alex wrote:
>
> > Hello,
> >
> > Is there any way that I can stop people sending and receiving mails with
> > attached files with extensions like .jpg,.mpg etc.I am using Linux 5.0.Need
> > help.Thanx in advance.
> >
> > Regards.
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
>
> Actually you can , sort of, for some mail clients allow you to limit the size
> of the file that is being sent.
> Of course this will limit all attachements but you will onblyget the header
> and then decide
> whether you want the attachment.
> Phil
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.