Outils pour utilisateurs

Outils du site


exim4

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
exim4 [2018/12/20 20:18] – created pascalexim4 [2023/07/04 10:55] (Version actuelle) – modification externe 127.0.0.1
Ligne 8: Ligne 8:
  
 ===== Configuration Exim4 ===== ===== Configuration Exim4 =====
 +==== Domaine des expéditeurs de mails ====
 +Fichier /etc/email-addresses
 +<code>
 +root: root@mazarini.ovh
 +</code> 
  
-===== Commandes ===== +==== Domaine des mails ==== 
-==== Gestion du daemon ====+Fichier /etc/mailname
 <code> <code>
-root@mazarini:~# /etc/init.d/ntp stop +mazarini.ovh 
-root@mazarini:~# /etc/init.d/ntp start +</code>  
-root@mazarini:~# /etc/init.d/ntp restart+==== /etc/exim4/update-exim4.conf.conf ==== 
 +Le fichier /etc/exim4/update-exim4.conf.conf permet de définir les réponses par défaut lors des dialogues avec l'outils de génération de la configuration. 
 + 
 +=== Envoi direct de mail et de smarthost pour d'autres === 
 +<code> 
 +/etc/exim4/update-exim4.conf.conf 
 +# 
 +# Edit this file and /etc/mailname by hand and execute update-exim4.conf 
 +# yourself or use 'dpkg-reconfigure exim4-config' 
 +
 +# Please note that this is _not_ a dpkg-conffile and that automatic changes 
 +# to this file might happen. The code handling this will honor your local 
 +# changes, so this is usually fine, but will break local schemes that mess 
 +# around with multiple versions of the file. 
 +
 +# update-exim4.conf uses this file to determine variable values to generate 
 +# exim configuration macros for the configuration file. 
 +
 +# Most settings found in here do have corresponding questions in the 
 +# Debconf configuration, but not all of them. 
 +
 +# This is a Debian specific file 
 + 
 +dc_eximconfig_configtype='internet' 
 +dc_other_hostnames='mazarini.ovh' 
 +dc_local_interfaces='127.0.0.1 ; 10.1.20.1' 
 +dc_readhost='' 
 +dc_relay_domains='mazarini.ovh' 
 +dc_minimaldns='false' 
 +dc_relay_nets='10.1.0.0/16' 
 +dc_smarthost='' 
 +CFILEMODE='644' 
 +dc_use_split_config='false' 
 +dc_hide_mailname='true' 
 +dc_mailname_in_oh='true' 
 +dc_localdelivery='mail_spool' 
 +                                
 </code> </code>
-==== Interrogation ====+=== Envoi de mail via un smarthost ===
 <code> <code>
 +# /etc/exim4/update-exim4.conf.conf
 +#
 +# Edit this file and /etc/mailname by hand and execute update-exim4.conf
 +# yourself or use 'dpkg-reconfigure exim4-config'
 +#
 +# Please note that this is _not_ a dpkg-conffile and that automatic changes
 +# to this file might happen. The code handling this will honor your local
 +# changes, so this is usually fine, but will break local schemes that mess
 +# around with multiple versions of the file.
 +#
 +# update-exim4.conf uses this file to determine variable values to generate
 +# exim configuration macros for the configuration file.
 +#
 +# Most settings found in here do have corresponding questions in the
 +# Debconf configuration, but not all of them.
 +#
 +# This is a Debian specific file
 +
 +dc_eximconfig_configtype='smarthost'
 +dc_other_hostnames=''
 +dc_local_interfaces='127.0.0.1'
 +dc_readhost=''
 +dc_relay_domains=''
 +dc_minimaldns='false'
 +dc_relay_nets=''
 +dc_smarthost='mail.mazarini.ovh'
 +CFILEMODE='644'
 +dc_use_split_config='false'
 +dc_hide_mailname='true'
 +dc_mailname_in_oh='true'
 +dc_localdelivery='mail_spool
 </code> </code>
 +=== dc_eximconfig_configtype ===
 +   * internet : envoi directe de mail
 +   * smarthost : envoi de mail via un smarthost
 +=== dc_other_hostnames ===
 +Liste de domaines pris en charge par le serveur.
 +=== dc_local_interfaces ===
 +Si le serveur n'envoie que des mails pour les utilisateurs locaux, 127.0.0.1 suffit.
 +Si le serveur envoie des mails pour d'autres machines, ajouter l'adresse de l'interface concerné à celle de localhost.
 +=== dc_relay_domains ===
 +Domaines utilisés par les serveurs utilisant ce serveur comme smarthost.
 +
 +===== Commandes =====
 +==== Envoi de mail ====
 +<code>
 +root@service:~# mail -s "test envoi" root
 +Cc: 
 +test
 +root@service:~# 
 +</code>
 +Faire CTRL-D pour terminer.
 +
 ===== Références ===== ===== Références =====
-  * Choix du pool de serveurs 
-    * [[http://documentation.online.net/fr/serveur-dedie/reseau/information-parametres-reseau-dedibox#serveurs_ntp|Documentation online.net]] 
-    * [[http://www.pool.ntp.org/fr/|NTP pool project]] 
  
-   
exim4.1545337126.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)