Hi, * Sascha Huedepohl [02-06-24 12:12:38 +0200] wrote:
> I think it should be possible to write a little shell script > which takes the mail per STDIN, then saves it to a .tmp file > and scp that file to the other machine. ~/bin/dieter.sh: #!/bin/sh tee > /tmp/to-be-scped && scp /tmp/to-be-scped ... rm -f /tmp/to-be-scped ~/.muttrc: macro pager ,s '|~/bin/dieter.sh' (just as a starting point) > The Command to Pipe the message to an external prog is '|' !? Yes. HTH, Cheers, Rocco