本地msmtp和ovh托管


1

我的个人电子邮件托管在OVH(个人托管计划)上,我无法使用msmtp发送邮件。

这是一个典型的会话

ignoring system configuration file /etc/msmtprc: File o directory non esistente
loaded user configuration file /home/klez/.msmtprc
using account default from /home/klez/.msmtprc
host                  = ssl0.ovh.net
port                  = 465
timeout               = off
protocol              = smtp
domain                = localhost
auth                  = choose
user                  = federicoculloca%xxxxxxx
password              = *
ntlmdomain            = (not set)
tls                   = on
tls_starttls          = off
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                  = federicoculloca@xxxxxxxx
dsn_notify            = (not set)
dsn_return            = (not set)
keepbcc               = off
logfile               = (not set)
syslog                = (not set)
reading recipients from the command line
TLS certificate information:
    Owner:
        Common Name: ssl0.ovh.net
        Organizational unit: Domain Control Validated
    Issuer:
        Common Name: OVH Secure Certification Authority
        Organization: OVH SAS
        Organizational unit: Low Assurance
        Country: FR
    Validity:
        Activation time: lun 31 gen 2011 01:00:00 CET
        Expiration time: mer 15 feb 2012 00:59:59 CET
    Fingerprints:
        SHA1: F9:DC:41:F9:A2:38:51:9B:56:E4:98:E6:CD:81:31:42:E6:0E:26:6D
        MD5:  FC:EC:F3:8F:28:E4:7E:28:99:89:E6:BB:C9:DF:71:CE
<-- 220 ns0.ovh.net ssl0.ovh.net. You connect to mail427.ha.ovh.net ESMTP

--> EHLO localhost

<-- 250-ssl0.ovh.net. You connect to mail427.ha.ovh.net

<-- 250-AUTH LOGIN PLAIN

<-- 250-AUTH=LOGIN PLAIN

<-- 250-PIPELINING

<-- 250-8BITMIME

<-- 250 SIZE 109000000

--> AUTH PLAIN xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

<-- 235 ok, go ahead (#2.0.0)

--> MAIL FROM:<federicoculloca@xxxxx>

--> RCPT TO:<example@example.com>

--> DATA

<-- 250 ok

<-- 250 ok

<-- 354 go ahead

--> hello world

--> .

<-- 554 mail server permanently rejected message (#5.3.0)

和我的配置

# ~/.msmtp
# Mostly from Peter Garrett's examples
#  https://lists.ubuntu.com/archives/ubuntu-users/2007-September/122698.html
# Accounts from Scott Robbins' `A Quick Guide to Mutt'
#  http://home.nyc.rr.com/computertaijutsu/mutt.html

account xxxxx
host ssl0.ovh.net
from federicoculloca@xxxxxx
auth on
user federicoculloca%xxxxxx
password xxxxxx
tls on
tls_certcheck off
tls_starttls off

任何想法?


也许你的邮件正文是空的。使用空消息正文(也)发生错误。

Answers:


0

你确定user federicoculloca%xxxxxx是正确的设置吗?我的意思是百分号,而不是其余的 - 也许@比%好。

Bu通常554 mail server permanently rejected message意味着由于垃圾邮件的怀疑,接收方不接受您的邮件。你有没有尝试过其他邮件和其他收件人?


根据%我订阅时寄给我的设置是正确的。我也尝试过@,但仍然无法正常工作。我也试过其他收件人,但没有用。
Federico klez Culloca 2011年

对不起,我现在没有选择了。也许您应该咨询您的提供商的帮助台。或尝试使用thunderbird或其他邮件程序发送邮件。如果thunderbird工作,问题与msmtp配置有关,否则问题不在您的身边。
guenter 2011年

问题几乎肯定是配置,因为Thunderbird和Evolution都能正常工作。我会尝试咨询我的提供商。谢谢
Federico klez Culloca 2011年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.