Red Hat Topics - <mutt> settings

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > April 2005 > <mutt> settings





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author <mutt> settings
dainova

2005-04-14, 10:18 am

Hi, all

We just did migration from HP/UX to RedHat, and now switched to mutt to sent attachment.

On HP I have the following in my shell and it worked OK:
ux2dos $ATTFILE
echo "[include "$ATTFILE" image/zip base64]" > temp1
cat bodyl temp1 > temp2
elm -s " $FSUB $SUBJECT" -a $MAILTO < temp2 >> $LOGFIL


On RedHat I try to use:
unix2dos $ATTFILE
cat body bodyl > temp3
mutt -s " $FSUB $SUBJECT" -a $ATTFILE -c $MAILTO < temp3

$ATTFILE originated from MVS in ABCDEC , then FTPed to Linux. And if it contains Hex'00' or nulls when you open it in let say Notepad on $%^Windows all those nulls bytes got suppressed breaking the whole structrue of report.

Are there any other options to use with <mutt> like I did with <elm> e.g. image/zip base64, or I can somehow treat in unix2dos that also don't have too much options.
Remember that in first case while in HP it works well, somehow replacing null and keeping right structure.

I tried to use <elm> on Linux, but got a mess with attached file names, it alwayse says <data> not original file name, + can't work with zipped files.

Thanks
Dai
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com