Didier --

...and then didier   said...
% 
% Currently I do
% 
% mutt -s "hello" [EMAIL PROTECTED] </message_file
% 
% and it sends the message_file to [EMAIL PROTECTED]

Right...


% 
% and I would like not to send it but to pipe the result (the whole message) although 
sending it directly

Hmmm...  Hokay, then; replace your sendmail variable in your .muttrc
with a script or simple "cat" so that, when mutt tries to hand it off
to sendmail, it sends it somewhere else instead.

You could manage this and retain all of your other functionality by
creating a short .muttrc.stdout containing the lines

        source $HOME/.muttrc
        set sendmail="/bin/cat"

(since I don't know how to redefine a single variable on the command
line -- probably because I didn't look it up in the manual ;-) and then
running your command above about like

        mutt -F .muttrc.stdout -s "hello" [EMAIL PROTECTED] </message_file

instead.  Note that I haven't tried this myself; YMMV.


% 
% I hope I'm clear...

Well, we're moving forward :-)


% Didier
% Bye
% 
% 
% --== Sent via Deja.com http://www.deja.com/ ==--
% Share what you know. Learn what you don't.


:-D
-- 
David Thorburn-Gundlach         * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]         Helping out at Pfizer
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k?  Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to