Outils pour utilisateurs

Outils du site


exim4

Ceci est une ancienne révision du document !


Server SMTP : exim4

Présentation

Exim (version 4) est un agent de transport de courrier, en anglais mail transport agent (MTA).

Installation

root@mazarini:~# apt-get install exim4

Configuration Exim4

/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.

Domaine des mails

Fichier /etc/mailname

mazarini.ovh

Envoi direct de mail et de smarthost pour d'autres

# /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'
                                

Envoi de mail via un smarthost



Commandes

Gestion du daemon

root@mazarini:~# /etc/init.d/ntp stop
root@mazarini:~# /etc/init.d/ntp start
root@mazarini:~# /etc/init.d/ntp restart

Interrogation



Références

exim4.1545581960.txt.gz · Dernière modification : 2023/07/04 10:55 (modification externe)