Vulnerability Development mailing list archives
Re: Unwanted automagic processing (Was: Re: [Q] CORBA, IIOP)
From: Liviu.Daia () IMAR RO (Liviu Daia)
Date: Sat, 11 Mar 2000 04:05:32 +0200
On 10 March 2000, Nicolas Justin <nicolas.justin () FREE FR> wrote:
Add this lines to your procmailrc :0 * ^Content-Type.*text/html* | (formail -r ; echo "You have sent a mail in HTML format, please resend it in plain text format") | /usr/sbin/sendmail -oi -t :0 * ^Content-Type.*multipart/alternative* | (formail -r ; echo "You have sent a mail in HTML format, please resend it in plain text format") | /usr/sbin/sendmail -oi -t So, if you receive a mail in HTML format, it will be trashed and a mail will be sent to the sender.
Actually, "multipart/alternative" messages don't necessarily contain HTML attachments, some Sun mailers f.i. send "text/plain" and "text/enriched" alternatives. There are a few other problems with the above recipes. Here's a more realistic version: :0 h * ! ^FROM_DAEMON * $ ! ^X-Loop: $USER@$HOST * BH ?? ^Content-Type:[ ]+text/html\> | (formail -rA "X-Loop: $USER@$HOST" -I "Precedence: junk"; \ echo "You have sent a mail in HTML format, please \ resend it in plain text format.") | $SENDMAIL -oi -t Regards, Liviu Daia -- Dr. Liviu Daia e-mail: Liviu.Daia () imar ro Institute of Mathematics web page: http://www.imar.ro/~daia of the Romanian Academy PGP key: http://www.imar.ro/~daia/daia.asc
Current thread:
- Re: spoofing the ethernet address, (continued)
- Re: spoofing the ethernet address Seth R Arnold (Mar 05)
- Re: spoofing the ethernet address H D Moore (Mar 05)
- Re: spoofing the ethernet address Ex Machina [xm] (Mar 06)
- Re: spoofing the ethernet address Buhrmaster, Gary (Mar 06)
- Re: spoofing the ethernet address Pauli Ojanpera (Mar 06)
- Re: spoofing the ethernet address Ex Machina [xm] (Mar 07)
- Re: spoofing the ethernet address Dimitrios Petropoulos x9234 Singer / 4 (Mar 08)
- [Q] CORBA, IIOP Simon Tamás (Mar 08)
- Unwanted automagic processing (Was: Re: [Q] CORBA, IIOP) Mikael Olsson (Mar 09)
- Re: Unwanted automagic processing (Was: Re: [Q] CORBA, IIOP) Nicolas Justin (Mar 10)
- Re: Unwanted automagic processing (Was: Re: [Q] CORBA, IIOP) Liviu Daia (Mar 10)
- MS Frontpage shtml.dll Path Leak Vulnerability Greg (Mar 12)
- NT 4.0 (Workstation) Logon Authentication Vulnerability jhw1970 () HOTMAIL COM (Mar 14)
- Re: NT 4.0 (Workstation) Logon Authentication Vulnerability Phil Cox (Mar 14)
- Re: NT 4.0 (Workstation) Logon Authentication Vulnerability Maxime Rousseau (Mar 15)
- Re: spoofing the ethernet address Ex Machina [xm] (Mar 07)
- Re: MS Frontpage shtml.dll Path Leak Vulnerability Marc (Mar 14)
- Re: Unwanted automagic processing (Was: Re: [Q] CORBA, IIOP) Simon Tamás (Mar 13)
- (another) MS Outlook hole in embedded metafiles? Michael Wojcik (Mar 08)
- Re: spoofing the ethernet address Pavel Kankovsky (Mar 09)
- Extending the FTP "ALG" vulnerability to any FTP client Mikael Olsson (Mar 10)
- DoS in ArGoSoft FTP Server, Version 1.04 (1.0.4.4) for win* Knud Erik Højgaard (Feb 11)