RE: how to use gmail smtp server for outgoing mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx [mailto:users-bounces@xxxxxxxxxxxxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxxxxxxxx> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux