[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LIH] Procmail recipe for MIME mail
* Raju Mathur [linux-india] <13/07/01 19:25 +0530>:
> |(formail -rt -I"Precedence: junk" -A"X-Loop:
> $RECIP@xxxxxxxxxx" ; cat $AUTOREPLY) | $SENDMAIL -f$RECIP1
> -t
> }
>
> Now i want it to check if $AUTOREPLY is an HTML file, and send a
> proper MIME message if it is. If it isn't, then the current rule is
> fine.
See ... as you are reading the contents of $MIME_FILE, directly into
sendmail, I guess having your autoreply contain all the MIME headers should
do. Or you could have your autoreply pipe things through mimencode
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin