LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-12-2009, 08:28 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Configure sendmail as gmail relay

Hello !

I took the template file /usr/share/sendmail/cf/cf/ and added those 3 lines :

FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl

I created the file /etc/mail/auth/client-info with this content : "U:root" "" "P:mypassword"

After that I changed the permissions and created de db file with those commands :

chmod 600 /etc/mail/auth/client-info
makemap -r hash /etc/mail/auth/client-info.db < /etc/mail/auth/client-info

And finaly compiled the configuration file and restarted sendmail :

m4 >
cp /etc/
/etc/rc.d/rc.sendmail restart

When I try to send a mail, it's always "stat=Defered" and stays in the queue and never use the relay. Now, if I delete de port 465 I get this error : "stat=Deferred: No route to host"

Why ???

Thanks for your help.
Old 02-14-2009, 11:01 AM   #2
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Pretty sure you need to use SSL for the authority mechanism along with port 995. Don't think Gmail will allow anything else. Probably means you'll need to rebuild your cf file with SSL in mind. Slackware should ship with an ssl/tls example cf/mc file so try using that one.

Last edited by jong357; 02-14-2009 at 11:04 AM.


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 relay local domain. rroman81 Linux - Server 0 02-08-2009 03:12 AM
configure sendmail to relay mail to exchange server goldwing Red Hat 3 10-18-2008 05:07 PM
How to configure sendmail with gmail? athanatos Slackware 1 07-18-2006 05:37 PM
Configure sendmail to *use* authenticated SNMP relay? TotalDefiance Linux - Software 1 11-22-2005 10:37 AM
sendmail configure relay for specific e-mail addresses LeovanBussel Linux - Newbie 1 07-29-2003 04:08 AM

All times are GMT -5. The time now is 05:42 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