Hi,

I'm trying to set up msmtp as a local mail agent just for my machine so that i 
can get mail from, for example, cron jobs 
I keep getting this error

  cannot connect to localhost, port 465: Connection refused

and can find nothing as to how I might fix it which is really odd as i'm using 
the standard msmtprc config file and you'd think if it has this problem out of 
the box it would be relatively common.

Any ideas ?

-- 
Brian


the config file
---
account default

# The SMTP smarthost
host localhost

# Use TLS on port 465. On this port, TLS starts without STARTTLS.
port 465
tls on
tls_starttls off

# Construct envelope-from addresses of the form "[email protected]"
from %U@localhost

# Do not allow programs to override this envelope-from address via -f
allow_from_override off
# Always set a From header that matches the envelope-from address
set_from_header on

# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL

Reply via email to