Hello,
On Mon, 23 May 2011 11:58:06 +1000
Russell Coker <russell@coker.com.au> wrote:
> I often use the -o option of reportbug and scp the file to somewhere
> I can send mail.
> It would be nice if there was a program that could take the output of
> reportbug -o and send it via email. Using cut/paste wastes a little
> time.
> Another option is to use ssh port redirection to tunnel SMTP over ssh.
Easier is to write a one-liner:
#!/bin/sh
ssh your-favourite-host-with-sendmail-set-up /usr/sbin/sendmail -f \
your@email.org -t "$@"
and tell reportbug to use it.
--
WBR, Andrew
Attachment:
signature.asc
Description: PGP signature