Great Circle Associates Majordomo-Users
(May 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: HTML Email and Majordomo
From: Dennis Black <Dennis . Black @ ualberta . ca>
Date: Tue, 15 May 2001 14:33:28 -0600
To: majordomo-users @ GreatCircle . COM
In-reply-to: <3B016842.81C3E609@netscape.com>
References: <005c01c0dcfd$a0e25d00$6bcd3bcb@r6j6g4>

At 12:32 PM 5/15/2001 -0500, Dan Liston wrote:
>If you need a solution for preventing HTML messages or 
>converting them into plain text, search the archives for 
>the word "demime".
>
>Dan Liston
>
>Cameron Blyth wrote:
>>  
>>  Was this ever resolved?  If so how do you send a HTML  email to majordomo
>>  without it being bounced? Are the default settings in the config file
>>  suitable?
>> 
>>  Regards
>>  Cameron Blyth
>

Cameron, if it was only attachments/HTML mailed to your list address that
you were concerned about, the following might be an alternative, if your perl 
and majordomo are as back-level as mine...
Demime requires several things, like perl5.005+ and some 'lib' pl's.
I'll research that when I get there, for my new majordomo machine.

I use stripmime.pl, written by alex@phred.org


If you don't want attachments/HTML going to your LIST, in your /etc/aliases
pipe

listname:"|/usr/local/bin/stripmime.pl | /home/majordomo/wrapper resend
 -l listname -h majordomo.srv.ualberta.ca listname-outgoing"
listname-outgoing::include:/usr/local/mail/lists/listname,


If you don't want attachments/HTML going to your ARCHIVES,

  "|/usr/local/bin/stripmime.pl |/home/majordomo/wrapper archive2.pl -a -m -f 
/usr/local/mail/archives/listname/listname.archive",


If you don't want attachments/HTML going to your DIGEST,

  "|/usr/local/bin/stripmime.pl | /home/majordomo/wrapper digest -r -C -l 
listname-digest listname-digest-outgoing",


The nice thing, no compiling, shBuilds, etc. Just copy it to your favourite
"bin", make it at least 755, and paste it into your aliases as above.

This does not "cure" the HTML/multipart/alternative/blabla/RichText/AOL6 
commands addressed to majordomo. 
You might have more spare time than I, to try a combination of piping all 
messages through procmail, in turn, piping through stripmime, in turn, 
piping to majordomo-real.


Dennis.Black@UAlberta.Ca
Computing and Network Systems
Internet Applications
352 General Services Bldg.
University of Alberta
Edmonton, Alberta T6G 2H1
Phone: 780-492-9329
Fax: 780-492-1729
Webhome: http://www.ualberta.ca/~dblack
Majordomo: http://www.ualberta.ca/cns/majordomo
LWGate: http://www.ualberta.ca/htbin/lwgate



Follow-Ups:
References:
Indexed By Date Previous: Re: how to approve a BOUNCE ?
From: Dan Liston <dliston@netscape.com>
Next: how to approve a BOUNCE
From: Camilo Rostoker <camilo@rostoker.com>
Indexed By Thread Previous: Re: HTML Email and Majordomo
From: Dan Liston <dliston@netscape.com>
Next: Re: HTML Email and Majordomo
From: "Adam H. Kerman" <ahk@chinet.com>

Google
 
Search Internet Search www.greatcircle.com