I'm trying to configure msmtp
(on Ubuntu 12.04). When I'm trying to send an email, it "hangs" (well, ctrl-c aborts it, so it's not really a hang, but it seems not to do anything anyway). Here's my .msmtprc
(here and further the password and all addresses are correct, of course):
account wmi
host smtp.wmi.amu.edu.pl
port 465
auth on
user mbork
password ***
from from@address
account default : wmi
When I invoke cat mailtest.txt | msmtp -v to@address
, I get this:
ignoring system configuration file /etc/msmtprc: Nie ma takiego pliku ani katalogu
loaded user configuration file /home/marcin/.msmtprc
falling back to default account
using account default from /home/marcin/.msmtprc
host = smtp.wmi.amu.edu.pl
port = 465
timeout = off
protocol = smtp
domain = localhost
auth = choose
user = mbork
password = *
passwordeval = (not set)
ntlmdomain = (not set)
tls = off
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 = on
tls_force_sslv3 = off
tls_min_dh_prime_bits = (not set)
tls_priorities = (not set)
auto_from = off
maildomain = (not set)
from = from@address
dsn_notify = (not set)
dsn_return = (not set)
keepbcc = off
logfile = (not set)
syslog = (not set)
aliases = (not set)
reading recipients from the command line
and nothing happens.
(The file mailtest.txt
looks like this:
To: to@address
From: from@address
Subject: A test
msmtp testing
)
What might cause this problem?
-v
and-d
are synonymous. – mbork Dec 30 '12 at 18:30msmtp
various inputs: e.g., first headers, then an empty line, then some body, or just a body, I didCtrl-D
, etc. Nothing seems to help. And I'm using it because I want to configuremu4e
to work with it (somehow I didn't manage to configure Emacs' native smtp library). – mbork Dec 31 '12 at 08:22