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

Open
3 tasks done
mas1701 opened this issue May 1, 2024 · 0 comments

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant