msmtp?
那个有这个软件的配置文件模板,最好是能用的。哎!我试了好多次就是没能发出邮件。
一运行他就提示这个东东
msmtp: no recipients found
如果msmtp后面加个电子邮件地址他就提示
msmtp:/home/dwj/.msmtprc: must have no more than user read/write permissions
怎么弄,上面那个意思我不懂。
从网上抄的一个配置文件示例
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
# A freemail service
account freemail
host smtp.freemail.example
from [email protected]
auth on
user joe.smith
password secret
# A second mail address at the same freemail service
account freemail2 : freemail
from [email protected]
# The SMTP server of the provider.
account provider
host mail.provider.example
from [email protected]
auth on
user 123456789
password my_password
# Set a default account
account default : provider
msmtp:/home/dwj/.msmtprc: must have no more than user read/write permissions
这个提示是说权限不够么?
我把.msmtprc这个文件的权限设置为777,但是还是有这个提示啊。。
另外系统配置文件目录下没有msmtprc这个文件。 .msmtprc这样的文件不会显示,注意前面那个.。
页:
[1]