LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-29-2012, 10:32 AM   #1
jocef
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware 13.0
Posts: 11

Rep: Reputation: 0
Sendmail smart_host gmail and centos


I'm trying to get smarthost on my CentOS 6.2 server and gmail to work but with no success.

In my sendmail configfile.
Code:
dnl SMART HOST
define(`confRELAY_MAILER', `esmtp')
define(`RELAY_MAILER_ARGS',`TCP $h 587')
define(`SMART_HOST',`relay:smtp.googlemail.com')dnl
And in my /etc/mail/access

Code:
AuthInfo:smtp.googlemail.com "U:xxxxxxx" "P:xxxxxxx" "M:PLAIN"
AuthInfo:smtp.googlemail.com:587 "U:xxxxxx" "P:xxxxxxxx" "M:PLAIN"
But it trys to connect on port 25.
 
Old 02-29-2012, 12:17 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,900

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
Hi,

Have a look at this howto.

Regards
 
Old 02-29-2012, 02:03 PM   #3
jocef
LQ Newbie
 
Registered: Oct 2009
Distribution: Slackware 13.0
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks it works.
 
  


Reply


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
Sendmail with SMART_HOST venikathir Linux - Server 8 09-30-2011 07:16 AM
Sendmail Problems (using smart_host) c00kie Linux - Server 3 01-03-2008 08:55 PM
Sendmail, SMART_HOST, and website ScooterB Linux - Server 1 01-10-2007 04:38 AM
sendmail SMART_HOST configuration henrycoffin Linux - Enterprise 0 12-18-2006 08:59 AM
smart_host configuration in sendmail.mc sln Linux - General 5 12-02-2003 03:36 AM


All times are GMT -5. The time now is 11:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration