Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-21-2011, 07:56 PM   #1
Registered: Mar 2010
Distribution: Slackware
Posts: 602

Rep: Reputation: 72
Using Gmail as a relay server

I've read 5 different sets of instructions for how to do this. I still can't get it to work. I send messages with sendmail -t -v. Here's the output: Connecting to [] via relay...
220 ESMTP Sendmail 8.14.5/8.14.5; Thu, 20 Oct 2011 20:08:19 -0600
>>> EHLO Hello IDENT:25@localhost [], pleased to meet you
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<> SIZE=226
250 2.1.0 <>... Sender ok
>>> RCPT To:<>
>>> DATA
250 2.1.5 <>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <>... Connecting to port 587 via relay...
050 <>... Deferred
250 2.0.0 p9L28JvG007207 Message accepted for delivery Sent (p9L28JvG007207 Message accepted for delivery)
Closing connection to []
>>> QUIT

About 7 minutes elapses during the '>>> .' line.

/var/log/maillog records:

Oct 20 20:14:38 homedomain sm-mta[7207]: p9L28JvG007207: to=<>, delay=00:06:19, xdelay=00:06:19, mailer=relay, pri=30473, relay=587, dsn=4.0.0, stat=Deferred

Oct 20 20:14:38 homedomain sendmail[7206]: p9L28JLk007206:, (0/0), delay=00:06:19, xdelay=00:06:19, mailer=relay, pri=30226, relay=[] [], dsn=2.0.0, stat=Sent (p9L28JvG007207 Message accepted for delivery)

Oct 20 20:21:31 homedomain sendmail[7310]: p9L28JvG007207: to=<>, delay=00:13:12, xdelay=00:06:19, mailer=relay, pri=120473, relay=587, dsn=4.0.0, stat=Deferred

Last edited by RandomTroll; 10-22-2011 at 10:57 PM.
Old 10-31-2011, 09:02 PM   #2
Registered: Mar 2010
Distribution: Slackware
Posts: 602

Original Poster
Rep: Reputation: 72
My gmail relay problem: some places lack reverse DNS records for their IPs; gmail refuses to forward mail from such places. I have no ISP but reply upon public hosts; not all have reverse DNS records for their IPs.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configure sendmail as gmail relay mexx20 Slackware 1 02-14-2009 11:01 AM
postfix relay thru gmail NeptunEz Linux - Networking 17 12-09-2006 10:10 AM
Postfix for Gmail relay Sinedie Linux - Server 1 11-17-2006 12:51 AM
problem setting up home linux gmail relay emanresu Linux - Software 0 07-12-2006 12:58 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 AM.

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