Ok
msmtp loaded and I think I have it configured for my ISP, I hope it will accept on port 25, I normally use starttls on port 587.
It accepts a telnet connection so may be.
looking for a config file for mail on the system, all I can find is /etc/mailrc
In that file I can see nowhere for it to use send mail, but
it wants to use sendmail
I tried this :-
[root@Pogopig ~]# echo "hello world" | mailx -s "test subject"
richard@g8jvm.info|msmtp
msmtp: no recipients found
[root@Pogopig ~]# /usr/sbin/sendmail: No such file or directory
. . . message not sent.
I also tried mail -s as well, same results
/root/.msmtprc :-
root@Pogopig ~]# cat .msmtprc
# Example for a user configuration file
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# A 1and1 service
account 1and1.co.uk
host auth.smtp.1and1.co.uk
from
richard@g8jvm.infoauth on
user
richard@g8jvm.infopassword xxxxxxxxxxxx
# Set a default account
account default : 1and1.co.uk
Strange?