Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent loss of emails due to Amavis removal #288

Closed
stijneikelboom opened this issue Jun 23, 2024 · 1 comment
Closed

Prevent loss of emails due to Amavis removal #288

stijneikelboom opened this issue Jun 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@stijneikelboom
Copy link

Is your feature request related to a problem? Please describe.
The Plesk Email Security extension uses Amavis as a content filter behind Postfix. The conversion process removes Amavis, but leaves the Postfix config as is. When the server comes back online, routing mails to Amavis fails, leading to the unrecoverable loss of messages.

Describe the solution you'd like
During conversion, either:

  • Remove or comment the line content_filter = smtp-amavis:[127.0.0.1]:10024 in /etc/postfix/main.cf, if present.
  • Reinstall and enable Amavis when Plesk Email Security is installed on the server.

Describe alternatives you've considered
Manually reinstall Amavis or the entire Plesk Email Security extension directly after the conversion.

@stijneikelboom stijneikelboom added the enhancement New feature or request label Jun 23, 2024
SandakovMM pushed a commit to plesk/dist-upgrader that referenced this issue Aug 2, 2024
The Plesk Email Security extension configures Dovecot to always use Amavis for sending emails.
To ensure emails can still be sent after the conversion, we need to reinstall Amavis
More details can be found at plesk/centos2alma#288
SandakovMM pushed a commit that referenced this issue Aug 2, 2024
@SandakovMM
Copy link
Collaborator

I have added the reinstallation of the Amavis antivirus in #321.
I also discovered that AlmaLinux 8 needs more RAM to ensure proper operation. Therefore, I added a pre-check to verify available RAM to prevent conversion if there's uncertainty about Amavis functioning afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants