在~/.mailrc及/etc/mail.rc中都设置了
代码: 全选
set from=username@gmail.com smtp=smtp.gmail.com:465
set smtp-auth-user=username@gmail.com 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: test@gmail.com
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:
test@gmail.com
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 test@gmail.com; Mon, 09 Jun 2008 15:20:21 +0800
To: test@gmail.com
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
谢谢!