procmail
[Top] [All Lists]

mail client problem

2000-08-24 22:21:52
I have a recepie to deny all attachments in a mail and make a log of it.

RECEPIE:
:0 HBw
* ^Content-Type:[   ]+.*(multipart/|/enriched|coded)
        {
        :0 AHBcw
        | sh /usr/local/etc/procscripts/log.sh /var/spool/temp/file
"116" "Mails
 with attachment is denied"
        }
{
:0 A
/var/spool/mail/junkmail

-----------------

This works fine when i receive mails from netscape client or some other
client.
But when ever mail comes from OUTLOOK mail client mail without any
attachment also gets rejected.

OUTLOOK has a particular format that is there in its every mail.
---
MIME-Version: 1.0
Content-Type: multipart/alternative;
        boundary="----=_NextPart_000_00EF_01C00DD9.27501D40"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

This is a multi-part message in MIME format.
---

Can any one suggest a way by which i can over come this situation.
thanks,
cheers,
madhur
<Prev in Thread] Current Thread [Next in Thread>