LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2011, 08:48 PM   #1
vockleya
Member
 
Registered: Aug 2009
Posts: 87

Rep: Reputation: 16
Postfix outgoing SMTP authentication


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.
 
Old 03-18-2011, 10:14 PM   #2
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
Could you post your postfix config file?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 9.04 outgoing postfix authentication radcom123 Linux - Server 0 11-07-2009 04:00 PM
Outgoing Smtp authentication for Postfix on ubuntu 9.04 radcom123 Linux - Software 0 11-07-2009 11:17 AM
Postfix SMTP Authentication lomax0990 Linux - Server 1 10-30-2009 12:23 PM
Postfix SMTP Authentication lasantha Linux - Server 0 10-26-2007 01:06 PM
Postfix smtp authentication help dt23 Mandriva 1 09-28-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration