Problems with mail settings

Show the contents of that file because I think you are using the split conf instead of the monolithic one and we should modify it.

cat /etc/exim4/update-exim4.conf.conf

Edit: What I want to see is whether the directive dc_use_split_config is set to true (it must be set to false) because I think exim is ignoring exim4.conf.template and reading conf.d/* instead.

The file must look like this (I’m not using Ubuntu so I don’t know whether there are some differences but as I suppose you are sleeping now, I left this example here so you can test later):

# /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='local'
dc_other_hostnames='cp.artwebsite.ru'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

The important directive is dc_use_split_config='false' so once you have modified update-exim4.conf.conf, save the file and restart exim.

systemctl restart exim4

And now you should have exim running with the right conf.

1 Like

root@cp:~# grep smtp_ports /etc/exim4/exim4.conf.template
daemon_smtp_ports = 25 : 465 : 587

image

Replace:
dc_relay_domains='artwebsite.ru' by dc_relay_domains=''
dc_use_split_config='true' by dc_use_split_config='false'
dc_localdelivery='maildir_home' by dc_localdelivery='mail_spool'

And restart exim:
systemctl restart exim4

1 Like

Dear colleague!
Allow me to describe, as far as possible, the fountain of my joyful feelings.
It’s like having a delicious sweet ice cream on the seashore on a hot summer day. When the sun, beautiful girls, and delicious cool food, relaxes your thoughts and gives you a feeling of bliss.

Your extensive experience is behind this, I realize that in a short time frame, to decide and make a decision clear and precise, for this you need to have an extensive base of precedents.
That is, you are still a huge practitioner.

To fall into your hands meant pure happiness for me. For which I am very grateful to you.
The mile tester showed a score of 9.5. This is great!

I will be ready to help you in return, at any moment, if necessary.
My level of competence is beginner.
Therefore, professional skills still need to be acquired.
My main competence is marketing and contextual advertising
I promote product cards on the marketplace without problems at low prices in Yandex.Direct
95% of specialists fail due to the lack of a Metrica counter. To correct rejected traffic and protect your budget from click fraud.

My experience makes this easy.

Now my customer, seller Wildberry, wants a breakthrough. And I will make a website for his products
Alexandro.Store
Because you just need to install the Metrica counter.

And so, when creating the site, we ran into this problem with mail.

With your kind help the problem is solved.
I’m your fan!
Please accept my deep gratitude!

If you need direct contact [email protected]

1 Like

You are welcome. I’m glad your mail is working now :partying_face: :hugs:

1 Like

A day and even more torment is behind us. Feeling lost. Some kind of viscous hopelessness haunted my feelings.
It’s so painful. And now the feeling of freedom is hard to believe.
I couldn’t trust myself when I saw the letters being sent.
I sent myself a letter and the treasured black header appeared in my inbox.
It was some kind of magic.
I had to force myself to believe it
Those hours were so difficult

Thank you and best wishes

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.