LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   exim+gmail (http://www.linuxquestions.org/questions/linux-newbie-8/exim-gmail-293133/)

alessnet 02-21-2005 04:12 PM

exim+gmail
 
Hello,

someone can tell me how to configure exim to send email with my gmail account ?
thanks !

(
smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
)


This configuration doesn't work :

(/etc/exim4/update-exim4.conf.conf)
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='candimed'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.gmail.com'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'


(/etc/exim4/passwd.client)
*:<mylogin>@gmail.com:<mypassword>



:newbie:

foo_bar_foo 02-21-2005 07:59 PM

i don't know what gmail is but if it's using smtp.gmail.com as a smart host
under routers put this first
Code:

smarthost:
  driver = manualroute
  domains = ! +local_domains
  route_list = * smtp.gmail.com bydns
  transport = remote_smtp
  no_more

then later under transports
Code:

remote_smtp:
  driver = smtp

hope that helps


All times are GMT -5. The time now is 02:20 AM.