[CBLX] URL - Configure Exim to use Gmail as the SMTP Server | Island Linux |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/carrefourblinux Archives
]
A toutes fins utiles, voici l'URL de ref. de mon how-to utilisé pour
modifier ma conf Exim!
URL: http://islandlinux.org/howto/configure-exim-use-gmail-smtp-server
Configure Exim to use Gmail as the SMTP Server
Fri, 09/18/2009 - 10:37 — Dallas Vogels
Configuring Exim to use Gmail as the outgoing SMTP server is simple.
This HOWTO will walk you through installing, configuring and routing
email thru Gmail for exim.
The first step is to install exim4. Launch terminal and:
sudo apt-get install exim4
Run the following command to configure exim4:
sudo dpkg-reconfigure exim4-config
(sous Debian comme on devient root, on lance la commande sans le sudo)
Set the following:
General type of mail configuration: mail sent by smarthost; no local mail
(là déjà je ne comprends pas ce choix, le 3me dans la liste, où il devient
impossible d'envoyer du courriel en interne, j'ai essayé avec la 2me et la
3me option, mais dans aucun des deux cas ça ne fonctionne)
System mail name: (default)
IP-addresses to listen on for incoming SMTP connections: 127.0.0.1
Other destinations for which mail is accepted: (default)
Visible domain name for local users: yourdomain.com
IP address or host name of the outgoing smarthost: smtp.gmail.com::587
(ici je ne comprends pas et doute sur les deux "::")
Keep number of DNS-queries minimal (Dial-on-Demand)? No
Split configuration into small files? No
The exim4 SMTP server is now set to route emails thru Gmail. Now all we
need to do is to tell exim4 the username and password we are going to
use. To accomplish this create a text file called
/etc/exim4/passwd.client. Update the file to read:
# password file used when the local exim is authenticating to a remote
# host as a client.
#
# see exim4_passwd_client(5) for more documentation
#
# Example:
### target.mail.server.example:login:password
gmail-smtp.l.google.com:you@xxxxxxxxx:password
*.google.com:you@xxxxxxxxx:password
smtp.gmail.com:you@xxxxxxxxx:password
Replace you@xxxxxxxxx:password with your login information.
Reload the exim4 server:
sudo /etc/init.d/exim4 reload
....
Voilà jusq'où j'ai été et ça ne marche pas,
même pas quand dans /etc/email-addresses je met pour l'utilisateur aldo
l'adresse courriel gmail.
Aldo.
--
--
CarrefourBLinuX MailingListe
Pour obtenir de l'aide, envoyez le sujet help �
carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
Archives:
http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux