sending mail from the command line
Constantine Shulyupin
const at linuxdriver.co.il
Tue May 10 14:38:23 IDT 2011
I use msmtp
with msmtprc:
account default
auth on
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
syslog LOG_MAIL
domain XXXX.net
from XXXXX
account gmail : default
host smtp.gmail.com
port 587
user XXXX at gmail.com
password XXXX
On Tue, May 10, 2011 at 2:17 PM, Dan Shimshoni <danshimsh at gmail.com> wrote:
> I am trying this from a Linux machine which is connected to the
> internet via PPPoE ( for the test, no firewall):
> mail -s "test" danshimsh at gmail.com < /dev/null
>
> and also this
> mail -s "test" danshimsh at gmail.com
> enter
> add some text
> enter
> ctrl-d
>
>
> I don't get any mail in danshimsh at gmail.com.
>
> What is wrong here ? what should I do in order to send successfully an
> e-mail from the command line with "mail" ?
>
> DS
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
--
Constantine Shulyupin
http://www.MakeLinux.co.il/
Embedded Linux Systems,
Device Drivers, TI DaVinci
More information about the Linux-il
mailing list