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 x...@gmail.com
password XXXX


On Tue, May 10, 2011 at 2:17 PM, Dan Shimshoni <danshi...@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" danshi...@gmail.com < /dev/null
>
> and also this
>  mail -s "test" danshi...@gmail.com
> enter
> add some text
> enter
> ctrl-d
>
>
> I don't get any mail in danshi...@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@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

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to