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

Postfix Relay Rules are not applied after creation #7264

Closed
stephdl opened this issue Jan 17, 2025 · 3 comments
Closed

Postfix Relay Rules are not applied after creation #7264

stephdl opened this issue Jan 17, 2025 · 3 comments
Assignees
Labels
verified All test cases were verified successfully

Comments

@stephdl
Copy link

stephdl commented Jan 17, 2025

Steps to reproduce

on NS8 mail server, configure a mail relay rule
disable the mail relay rule

Expected behavior
I expect the mail relay rule is always used/not_used once created or disabled
Actual behavior
the mail relay rule is not used until I restart postfix or the server

Components

pull ghcr.io/nethserver/mail:1.5.1

See also

see https://community.nethserver.org/t/mail-relay-rule-not-really-disabled-until-reboot/25238


thank pagaille

@stephdl
Copy link
Author

stephdl commented Jan 17, 2025

QA

test the package 1.5.2-dev.2

ghcr.io/nethserver/mail:1.5.2-dev.2

install the mail server with an account provider and does the steps below inside the UI of ns8-mail

create a relay rule
update a relay rule
disable a relay rule
remove a relay rule

after each action, you must find in logs that the postfix is reloaded, do journalctl -f _UID=$(id -u mail1)

@stephdl stephdl removed their assignment Jan 17, 2025
@stephdl stephdl moved this from In Progress to Testing in NethServer Jan 17, 2025
@stephdl stephdl added the testing Packages are available from testing repositories label Jan 17, 2025
@DavidePrincipi DavidePrincipi changed the title Postfix: Rules are not applied after creation Postfix Relay Rules are not applied after creation Jan 17, 2025
@lucagasparini lucagasparini self-assigned this Jan 21, 2025
@lucagasparini
Copy link

I confirm that after each operation performed the log always reports the Reload of Postfix:

systemd[64004]: Reloading Postfix MTA/MSA server...
postfix[65277]: systemctl --user is-enabled clamav.service
postfix[65278]: enabled

VERIFIED

@lucagasparini lucagasparini added the verified All test cases were verified successfully label Jan 21, 2025
@github-actions github-actions bot removed the testing Packages are available from testing repositories label Jan 21, 2025
@nethbot nethbot moved this from Testing to Verified in NethServer Jan 21, 2025
@stephdl
Copy link
Author

stephdl commented Jan 27, 2025

@stephdl stephdl closed this as completed Jan 27, 2025
@github-project-automation github-project-automation bot moved this from Verified to Done in NethServer Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Status: Done
Development

No branches or pull requests

3 participants