On Monday 29 September 2003 02:45 pm, Matthias F. Brandstetter wrote:
> If you only want to send mails from the command line, you first have to set
> up ssmtp (under /etc/ssmtp ... or something like that).
>
> After that, you can send an email via
>
> $ cat /path/to/mail.txt | mail -s <subject> <[EMAIL PROTECTED]>
I probably don't have /etc/ssmtp/ssmtp.conf configured correctly. I get this
error:
# cat file.txt | sendmail -s "mailing from the command line"
[EMAIL PROTECTED]
sendmail: Cannot open mail.localdomain:25
Any hints?
--
Stephen
From here to there
and there to here,
funny things are everywhere. -- Dr Seuss
--
[EMAIL PROTECTED] mailing list