Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] Exim4 question
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
[SOLVED] Exim4 question
Hello,
I'd like to know how its possible if there isn't installed exim4 on my system, please look at my image:
Thanks for the answer!
I'd like to know how its possible if there isn't installed exim4 on my system, please look at my image:
Thanks for the answer!
Last edited by phoenix_art on 2021-03-13 23:29, edited 1 time in total.
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Exim4 question
Are you sure?phoenix_art wrote:there isn't installed exim4 on my system
Code: Select all
aptitude search '?narrow(?installed, exim4)'
deadbang
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
Re: Exim4 question
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?
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?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Exim4 question
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:
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
deadbang
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Exim4 question
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.
deadbang
-
- Posts: 134
- Joined: 2013-12-08 17:47
- Has thanked: 1 time
Re: Exim4 question
:~$ 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
->>
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
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Exim4 question
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.
deadbang
Re: Exim4 question
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.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?
The configuration is extremely easy, and it works as it should.