-
Notifications
You must be signed in to change notification settings - Fork 24
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 mail_default_enable param #49
base: master
Are you sure you want to change the base?
Conversation
It seems that the code already logs mail with |
btw: do you know what the dash in front of /var/log/maillog is for? having a hard time finding it in the docs, though I know it is logging mail.* correctly. |
Yeah, I need the ability to turn it off. I have servers that have several instances of postfix running which requires me to drop individual rsyslog.d configurations for each of them. The global (default) mail.* in rsyslog.conf overrides these. The dash "-" disables sync()'s after writing out each line. |
You could add Would that work for you? I think it would give us more flexibility. |
@joshuabaird Hi Josh, just checking in on this PR as it seems to have gone cold. Does my suggestion work for you? I could code it if necessary, but want to ensure it is going to meet your needs. |
Sorry - been busy here. I do think that would work fine, although I haven't personally tested the functionality. |
Will this be picked back up? |
@jyaworski would you like to pick this up? |
This adds a "mail_default_enable" param which defaults to true which is typical for most deployments. I know this likely needs test updates as well but I wanted initial feedback on this option. It's a necessary parameter for my environment.