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

Can we have postlog enabled in redhat? #416

Open
reypanganiban opened this issue Nov 4, 2024 · 0 comments · May be fixed by #417
Open

Can we have postlog enabled in redhat? #416

reypanganiban opened this issue Nov 4, 2024 · 0 comments · May be fixed by #417

Comments

@reypanganiban
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: v7.18.0
  • Ruby: 2.0.0
  • Distribution: RockyLinux 8.6
  • Module version: 5.0.0

How to reproduce (e.g Puppet code you use)

We need to enable the postfix logging on our smarthost server by adding the maillog_file parameter to the main.cf file

profile::postfix::configs:
  maillog_file:
    value: '/var/log/postfix.log'

What are you seeing

postfix/postfix-script: fatal: missing 'postlog' service in master.cf - run 'postfix upgrade-configuration'
postfix/postfix-script: fatal: Postfix integrity check failed!

What behaviour did you expect instead

It enables postfix logging to the maillog_file

Output log

postfix/postfix-script: fatal: missing 'postlog' service in master.cf - run 'postfix upgrade-configuration'
postfix/postfix-script: fatal: Postfix integrity check failed!

Any additional information you'd like to impart

We are deploying postfix to RedHat, but postlog is not included in master.cf.redhat.erb
https://github.com/voxpupuli/puppet-postfix/blob/master/templates/master.cf.redhat.erb

@vchepkov vchepkov linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant