Hi
I have two servers:
1. name.example.net: web (https)
2. mail.example.net: mail server Modoboa/postfix (imap, smtp, )
I'm tryng to install Exim4 in name.example.net for sending mails from php scripts. All works ok unless you send a mail to a info@example.net address.
These are the logs in: /var/log/exim4/mainlog
2020-04-05 17:26:38 1jL92c-000677-LT <= info@example.net U=www-data P=local
S=6032 id=96559e6cbfe876343ae2270528ce938d@name.example.net
2020-04-05 17:26:38 1jL92c-00067A-R4 "<= xx.xx@outlook.com U=www-data
P=local S=6329 id=efd5df6bfd720fb47c937124deb1b55c@name.example.net
'2020-04-05 17:26:38 1jL92c-00067A-R4 "** info@example.net: Unrouteable address
This is the configuration: /etc/exim4/update-exim4.conf.conf
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='mail.example.net; localhost'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='name.example.net'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'dc_localdelivery='maildir_home'
If I read hostname:hostname -f
name.example.net
Reading on various blogs about this problem someone had solved it with this solutions maling tese changes into /etc/exim4/exim4.conf.template
driver = manualroute
transport = remote_smtp
domains = name.example.net
route_list = * mail.example.net
But, for me it didn’t work
Can you help me?