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

relayhost not working #187

Closed
ploeghvander opened this issue Oct 4, 2017 · 2 comments
Closed

relayhost not working #187

ploeghvander opened this issue Oct 4, 2017 · 2 comments

Comments

@ploeghvander
Copy link

ploeghvander commented Oct 4, 2017

Hi, the resource relayhost is not working; I got this code;

  class { postfix:
    relayhost => 'smtp.server.nl',
    mailman => true,
  }

resource mailman is working correctly. relayhost is not.

@nohaj
Copy link

nohaj commented Oct 17, 2017

Hello,

With hiera, relayhost is also not working :

postfix::relayhost: "mailhost"

Regards,

Johan

@ploeghvander
Copy link
Author

ploeghvander commented Oct 22, 2017

Sorry, wrong syntax used. I have this now;

include postfix
postfix::config {
    'relayhost':   ensure => 'present',  value => 'localhost host.foo.com';
    'mynetworks':      ensure => 'present',  value => '127.0.0.1/8, 37.94.0.0/16';
}

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

No branches or pull requests

2 participants