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 PlugIn: Critial error reported when max. message size set to more than 50 MB (50 MiB triggers error) #3952

Closed
3 tasks done
mas1701 opened this issue May 1, 2024 · 1 comment · May be fixed by #4330
Closed
3 tasks done
Labels
help wanted Contributor missing

Comments

@mas1701
Copy link

mas1701 commented May 1, 2024

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
Setting maximum mail size of Postfix plugin to more than 50 MB, for example 50 MiB (only slightly greater) causes fatal error in log:
fatal: configuration error: mailbox_size_limit is smaller than message_size_limit

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)

To Reproduce
Steps to reproduce the behavior:

  1. Services -> Postfix -> General -> set Message Size Limit to 52428800 (50 MiB, not 50 MB)
  2. Apply
  3. See critial error in Postfix Log

Expected behavior
No error should occur.

Screenshots
N/A

Relevant log files
one single line:
2024-05-01T10:02:41 Critical postfix/local fatal: configuration error: mailbox_size_limit is smaller than message_size_limit

Additional context
Caused by undefined mailbox_size_limit, defaulting to 50 MB.

Possible solution
Plugin should set mailbox_size_limit to the same value. Or to a valid user-supplied value.

Environment
Software version used and hardware type if relevant.
e.g.:

OPNsense 24.1.6-amd64

@OPNsense-bot
Copy link

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

@OPNsense-bot OPNsense-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
@OPNsense-bot OPNsense-bot added the help wanted Contributor missing label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributor missing
Development

Successfully merging a pull request may close this issue.

2 participants