Exim4 question

Kernels & Hardware, configuring network, installing services

Exim4 question

Postby phoenix_art » 2021-01-07 11:44

Hello,

I'd like to know how its possible if there isn't installed exim4 on my system, please look at my image:

Image

Thanks for the answer!
phoenix_art
 
Posts: 71
Joined: 2013-12-08 17:47

Re: Exim4 question

Postby Head_on_a_Stick » 2021-01-07 11:59

phoenix_art wrote:there isn't installed exim4 on my system

Are you sure?
Code: Select all
aptitude search '?narrow(?installed, exim4)'
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Exim4 question

Postby phoenix_art » 2021-01-07 12:33

Thanks for the quick reply. I meant when I tried to run this command:

sudo apt-get purge exim4

the system answered this package is not available so it remove is not possible.

But after running your command I found exim4-base exim4-config and exim4-daemon-light are available. So I need to remove them all too, thank you.

UPDATE:

Originally my problem is I would like to use psad without exim4 on my system but I can't reinstall psad with this option yet. Any suggestions?
phoenix_art
 
Posts: 71
Joined: 2013-12-08 17:47

Re: Exim4 question

Postby Head_on_a_Stick » 2021-01-07 12:42

Install any one of these packages to satisfy the mail-transport-agent dependency (which is an accepted alternative to the default-mta dependency that pulls in exim4-daemon-light):

https://packages.debian.org/buster/mail-transport-agent

EDIT: or keep exim installed and just disable the relevant services:
Code: Select all
systemctl --all | grep exim
systemctl disable $unit # replace "$unit" with the name(s) of the unit file(s) returned by the first command
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Exim4 question

Postby phoenix_art » 2021-01-07 13:49

Good ideas, thanks for your help!
phoenix_art
 
Posts: 71
Joined: 2013-12-08 17:47

Re: Exim4 question

Postby Head_on_a_Stick » 2021-01-07 17:45

You're welcome. Please edit the title of the thread (in your first post) and prepend [SOLVED] to help others who encounter this issue. A more descriptive title would also help.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Exim4 question

Postby phoenix_art » 2021-01-08 07:08

:~$ sudo systemctl disable exim4.service

->>

exim4.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable exim4
insserv: warning: current start runlevel(s) (empty) of script `exim4' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `exim4' overrides LSB defaults (0 1 6).

~$ systemctl --all | grep exim
exim4.service loaded active running LSB: exim Mail Transport Agent


Head_on_a_Stick wrote:Install any one of these packages to satisfy the mail-transport-agent dependency (which is an accepted alternative to the default-mta dependency that pulls in exim4-daemon-light):

https://packages.debian.org/buster/mail-transport-agent

EDIT: or keep exim installed and just disable the relevant services:
Code: Select all
systemctl --all | grep exim
systemctl disable $unit # replace "$unit" with the name(s) of the unit file(s) returned by the first command
phoenix_art
 
Posts: 71
Joined: 2013-12-08 17:47

Re: Exim4 question

Postby Head_on_a_Stick » 2021-01-08 09:16

The "disable" option doesn't stop a service immediately, to do that you need to either pass the "--now" switch or use the "stop" option. Read the systemctl man page — you really shouldn't run commands unless you understand exactly what they do.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Exim4 question

Postby reinob » 2021-01-08 10:31

phoenix_art wrote:Originally my problem is I would like to use psad without exim4 on my system but I can't reinstall psad with this option yet. Any suggestions?


If you don't need MTA-specific tasks, such as queuing, etc. and you just want to be able to send e-mails via a mail relay, I can recommend nullmailer.

The configuration is extremely easy, and it works as it should.
reinob
 
Posts: 865
Joined: 2014-06-30 11:42


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable