# dpkg-reconfigure exim4-config
- Выбираем «mail sent by smarthost; received via SMTP or fetchmail»
- System mail name: «localhost»
- IP-addresses to listen on for incoming SMTP connections: «127.0.0.1» — не будем принимать входящие соединения
- Other destinations for which mail is accepted: отставляем пустым, можно для всех
- Machines to relay mail for: отставляем пустым, можно для всех
- IP address or host name of the outgoing smarthost: тут IP-адрес почтовика на который все будем отправлять
- Hide local mail name in outgoing mail: NO
- Keep number of DNS-queries minimal (Dial-on-Demand): NO — в моем случае нет доступа даже к DNS
- Delivery method for local mail: я выбрал «mbox format in /var/mail/»
- Split configuration into small files: я выбрал YES