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

add badmailfrom patch #4

Merged
merged 1 commit into from
Mar 9, 2024
Merged

add badmailfrom patch #4

merged 1 commit into from
Mar 9, 2024

Conversation

brdelphus
Copy link

Create a trigger to decide if your qmail-smtpd instance should respect badmailfrom regex or not
This could be very handling if you decide to have very strict rules for your qmail-smtpd that you don´t want to be applied to qmail-submission.
Usage:
add export DISABLE_BADMAILFROM=1 to your instance run file service

@sagredo-dev
Copy link
Owner

sagredo-dev commented Mar 8, 2024

Hi, thanks for your contribution.
can I ask why are you adding the `if (!disable_badmailfrom) condition only to the badmailfrom block (flagbarfbmf) and not to the others (flagbarfbhelo, bmtok, flagbarfbmt)?

@brdelphus
Copy link
Author

Good point Roberto. I had several strict regex lines to block receiving mail from my own domain from qmail-smtpd instance that gets external mails. but those lines were too strict to my qmail-submission instance that I'm not even interested in filtering badmailfrom. That's all

@sagredo-dev sagredo-dev merged commit 418aac4 into sagredo-dev:main Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants