You are not logged in.
Hello everyone,
First timer in these forums although I've been lurking for a while now. Thing is that although the Mutt package in the repositories is compiled with SMTP support I wanted to make my system more *NIX-like hence I thought of making use of an external program. I went for msmtp since it was a well documented setup, but I can't really send emails. My current setup looks like the following:
# Accounts will inherit settings from defaults section
defaults
auth on
tls on
host smtp.domain.tld
port 587
protocol smtp
tls_nocertcheck
# Main, personal account
account me
from me@domain.tld
user me@domain.tld
password pass1
# Mailing list mail goes here
account ml
from ml@domain.tld
user ml@domain.tld
password pass2I know for a fact these setting work since I have Thunderbird working with the very same settings in other computer running Ubuntu. However when trying to send an email with msmtp it always get stuck like:
130:272:alex@archie ~/tmp ]$ cat testmail | msmtp -d -a me -- test@mailinator.com
ignoring system configuration file /etc/msmtprc: No such file or directory
loaded user configuration file /home/alex/.msmtprc
using account me from /home/alex/.msmtprc
host = smtp.domain.tld
port = 587
timeout = off
protocol = smtp
domain = localhost
auth = choose
user = me@domain.tld
password = *
passwordeval = (not set)
ntlmdomain = (not set)
tls = on
tls_starttls = on
tls_trust_file = (not set)
tls_crl_file = (not set)
tls_fingerprint = (not set)
tls_key_file = (not set)
tls_cert_file = (not set)
tls_certcheck = off
tls_force_sslv3 = off
tls_min_dh_prime_bits = (not set)
tls_priorities = (not set)
auto_from = off
maildomain = (not set)
from = me@domain.tld
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
aliases = (not set)
reading recipients from the command lineAm I missing some essential parameter that I'm not aware of? Is there any better way to debug? This output is not really helpful...
Offline
Sorry, ignore this post.
Last edited by loafer (2014-03-31 21:06:53)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Try adding a default account:
account default : meOffline