[问题]请教mailx怎样配置外部SMTP及POP?
发表于 : 2008-06-09 15:24
google了一个,网上有很多文章说mail是可以用外部smtp的,但是我的GMAIL账号始终没用得起来。
在~/.mailrc及/etc/mail.rc中都设置了
但是没用,老是收到发送失败的回信
请教路过的大侠有没有办法?别外,gmail的SMTP支持SSL,这个选项应该怎么设呢?
谢谢!
在~/.mailrc及/etc/mail.rc中都设置了
代码: 全选
set [email protected] smtp=smtp.gmail.com:465
set [email protected] smtp-auth-password=password
et smtp-auth=login
代码: 全选
Message 1:
From MAILER-DAEMON Mon Jun 09 15:20:22 2008
Envelope-to: zw@zw-server
Delivery-date: Mon, 09 Jun 2008 15:20:22 +0800
X-Failed-Recipients: [email protected]
Auto-Submitted: auto-replied
From: Mail Delivery System <Mailer-Daemon@zw-server>
To: zw@zw-server
Subject: Mail delivery failed: returning message to sender
Date: Mon, 09 Jun 2008 15:20:21 +0800
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
Mailing to remote domains not supported
------ This is a copy of the message, including all the headers. ------
Return-path: <zw@zw-server>
Received: from zw by zw-server with local (Exim 4.69)
(envelope-from <zw@zw-server>)
id 1K5bfx-0003TA-C2
for [email protected]; Mon, 09 Jun 2008 15:20:21 +0800
To: [email protected]
Subject: test
Message-Id: <E1K5bfx-0003TA-C2@zw-server>
From: zhengwei <zw@zw-server>
Date: Mon, 09 Jun 2008 15:20:21 +0800
dfdfs
dfdfdsf
谢谢!