[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim4 as a smarthost : Unrouteable address



Thank you Joe.

Le 07/08/2019 à 19:45, Joe a écrit :
On Wed, 7 Aug 2019 18:37:05 +0200
rudu <rudu@cegetel.net> wrote:

Thank you Dan for your input.

Le 07/08/2019 à 17:28, Dan Purgert a écrit :
rudu wrote:
Hi all,

Until recently my machines running debian testing used to send me
e-mails as reports from cron tasks or from LAMP applications.
This is not working anymore.
I did of course a dpkg-reconfigure exim4-config to get this
/etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames='*'
Not sure if it makes a difference or not; but my exim satellite
configs have this entry (dc_other_hostnames) set to the local
system's name.

[...]
dc_smarthost='mail.myprovider.fr::465'
This is another problem I noticed.  My satellite configs simply
state dc_smarthost='mail.djph.net'; without any port
configurations.
As you suggested, I changed both parameters and this is what I get :


Here's one of many how-tos:

https://somoit.net/linux/linux-exim-authenticated-and-tls-mail-through-smarthost

I have done it in the past for a client, but too long ago to remember
anything.
Thanks to this link, I tried to use port 587, and changed a few things to finally get it working \o/ !
For the record, here's my final /etc/exim4/update-exim4.conf.conf file :
[...]
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1;192.168.0.20'
dc_readhost='example.org'
dc_relay_domains='*.fr'
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.myprovider.fr::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

Many thanks to all
Have a good day
Rudu


Reply to: