I have postfix installed on my computer to let scripts send email. I want to use my isp as the smtp server. In /etc/postfix/main.cf I have told postfix to use gmail as my smtp server using "relayhost = outgoing.verizon.net". However, when I send an email, it gets returned. The full email is included below (my server's address has been replaced with ***.com).
Quote:
Return-Path: <>
X-Original-To: vockleya@***.com
Delivered-To: vockleya@***.com
Received: by mail.***.com (Postfix)
id 0CAD514055F; Fri, 18 Mar 2011 21:34:24 -0400 (EDT)
Date: Fri, 18 Mar 2011 21:34:24 -0400 (EDT)
From: MAILER-DAEMON@***.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: vockleya@***.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="BA1A914055D.1300498464/mail.vockley.com"
Message-Id: <20110319013424.0CAD514055F@mail.vockley.com>
This is a MIME-encapsulated message.
--BA1A914055D.1300498464/mail.***.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host mail.***.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<***@gmail.com>: host outgoing.verizon.net[206.46.232.12] said: 550 5.7.1
Authentication Required (in reply to MAIL FROM command)
--BA1A914055D.1300498464/mail.***.com
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mail.****.com
X-Postfix-Queue-ID: BA1A914055D
X-Postfix-Sender: rfc822; vockleya@***.com
Arrival-Date: Fri, 18 Mar 2011 21:34:09 -0400 (EDT)
Final-Recipient: rfc822; ***@gmail.com
Original-Recipient: rfc822;***@gmail.com
Action: failed
Status: 5.7.1
Remote-MTA: dns; outgoing.verizon.net
Diagnostic-Code: smtp; 550 5.7.1 Authentication Required
--BA1A914055D.1300498464/mail.vockley.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: <vockleya@***.com>
Received: from ***.com (localhost [127.0.0.1])
by mail.vockley.com (Postfix) with ESMTP id BA1A914055D
for <***@gmail.com>; Fri, 18 Mar 2011 21:34:09 -0400 (EDT)
Message-Id: <20110319013416.BA1A914055D@mail.***.com>
Date: Fri, 18 Mar 2011 21:34:09 -0400 (EDT)
From: vockleya@***.com
To: undisclosed-recipients:;
oaeusntaoehu
aoeusntaoehu
--BA1A914055D.1300498464/mail.***.com--
|
I believe that I need to authenticate to outgoing.verizon.net from postfix, but I am not sure how to add these directives to the config file.