how to use gmail smtp server for outgoing mail

SOLOMON solomonone at gmail.com
Tue Jan 18 21:03:27 UTC 2011


Hi,
If memory serves me correct the email client allows you to change your
incoming and outgoing mail servers.  If you can change your outgoing mail
server to smtp.gmail.com with your username and password, change your
incoming post to 995 and your outgoing port to 465 (SSL) you may be OK.
Solomon
 

When the power of love overcomes the love of power, the world will know
peace....J. Hendrix 

 

  _____  

From: users-bounces at lists.fedoraproject.org
[mailto:users-bounces at lists.fedoraproject.org] On Behalf Of Donald Russell
Sent: Monday, January 17, 2011 10:29 PM
To: Community assistance, encouragement,and advice for using Fedora.
Subject: how to use gmail smtp server for outgoing mail


I have a domain associated with my comcast IP address (I use dyndns.org)

I installed sendmail on Fedora 14 and I can receive mail OK, but when I try
to send outgoing mail, gmail.com rejects it with the following error:

   ----- Transcript of session follows -----
... while talking to smtp.gmail.com:
>>> MAIL From:<don at drussell.dnsalias.com> SIZE=634
<<< 530-5.5.1 Authentication Required. Learn more at
<<< 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257
v19sm7563260wfh.0
554 5.0.0 Service unavailable

I've tried to update /etc/mail/auth/client-info
and run makemap -r has /etc/mail/auth/client-info.db < client-info
/etc/mail/make
service sendmail restart

but not having any success. :-(

Obviously I don't have it configured properly for when sendmail is acting as
a client. :-(

Here are the changes I've made to sendmail.mc (and then cd /etc/mail; make)

#diff sendmail.mc sendmail.mc.original
26d25
< dnl # DNR 2011-01-12 Specify gmail, and add 2 lines to use port 587
28,30d26
< define(`SMART_HOST', `smtp.gmail.com')dnl
< define(`RELAY_MAILER_ARGS',`TCP $h 587')
< define(`ESMTP_MAILER_ARGS',`TCP $h 587')
88,89d83
< dnl # DNR 2011-01-16 Add auth file
< dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl
122,124c116
< dnl # DNR 2010-12-29 Accept mail from anywhere, not just local host
< dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
< DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
---
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
157,158c149
< dnl # DNR 2011-01-17 Remove following line as per above recommendation
< dnl FEATURE(`accept_unresolvable_domains')dnl
---
> FEATURE(`accept_unresolvable_domains')dnl
169d159
< dnl # DNR 2010-12-29 Masquerade...
171d160
< MASQUERADE_AS(`drussell.dnsalias.com')dnl
175,176c164
< dnl # DNR 2010-12-29 turn on following feature
< FEATURE(masquerade_envelope)dnl
---
> dnl FEATURE(masquerade_envelope)dnl
180,181c168
< dnl # DNR 2010-12-29 turn on following feature
< FEATURE(masquerade_entire_domain)dnl
---
> dnl FEATURE(masquerade_entire_domain)dnl


Any suggestions?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110118/323b48c8/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4934 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110118/323b48c8/attachment.bin 


More information about the users mailing list