William Edwards Well-Known Member Proxmox Subscriber May 20, 2017 174 18 58 Netherlands cyberfusion.io Jan 4, 2021 #1 What is the correct way to add DKIM domains from CLI? Or can we simply write to `/etc/pmg/master/dkim/domains` and run `pmgconfig sync`?
What is the correct way to add DKIM domains from CLI? Or can we simply write to `/etc/pmg/master/dkim/domains` and run `pmgconfig sync`?
Stoiko Ivanov Proxmox Staff Member Staff member May 2, 2018 9,384 1,723 248 Jan 4, 2021 #2 William Edwards said: What is the correct way to add DKIM domains from CLI? Or can we simply write to `/etc/pmg/master/dkim/domains` and run `pmgconfig sync` Click to expand... That sounds about right - however you also need to restart the pmg-smtp-filter (since it's the one doing the signing) I hope this helps!
William Edwards said: What is the correct way to add DKIM domains from CLI? Or can we simply write to `/etc/pmg/master/dkim/domains` and run `pmgconfig sync` Click to expand... That sounds about right - however you also need to restart the pmg-smtp-filter (since it's the one doing the signing) I hope this helps!
William Edwards Well-Known Member Proxmox Subscriber May 20, 2017 174 18 58 Netherlands cyberfusion.io Jan 5, 2021 #3 Thanks a lot! I may be overlooking something in the manual, but when I write to `/etc/pmg/master/dkim/domains`, then run `pmgconfig sync`, I don't see any changes in `/etc/pmg/dkim/domains`. I thought files in `master/` are used as templates?
Thanks a lot! I may be overlooking something in the manual, but when I write to `/etc/pmg/master/dkim/domains`, then run `pmgconfig sync`, I don't see any changes in `/etc/pmg/dkim/domains`. I thought files in `master/` are used as templates?
Stoiko Ivanov Proxmox Staff Member Staff member May 2, 2018 9,384 1,723 248 Jan 5, 2021 #4 sorry my bad - edit the template on your master-node in '/etc/pmg/dkim/domains' (these get copied to /etc/pmg/master/ during the clustersync)
sorry my bad - edit the template on your master-node in '/etc/pmg/dkim/domains' (these get copied to /etc/pmg/master/ during the clustersync)
William Edwards Well-Known Member Proxmox Subscriber May 20, 2017 174 18 58 Netherlands cyberfusion.io Jan 5, 2021 #5 Stoiko Ivanov said: sorry my bad - edit the template on your master-node in '/etc/pmg/dkim/domains' (these get copied to /etc/pmg/master/ during the clustersync) Click to expand... Thanks, clear, so the exact opposite of what I thought . For future readers: I actually use 'pmgsh' now, that's a bit less 'ugly'... Reactions: Stoiko Ivanov
Stoiko Ivanov said: sorry my bad - edit the template on your master-node in '/etc/pmg/dkim/domains' (these get copied to /etc/pmg/master/ during the clustersync) Click to expand... Thanks, clear, so the exact opposite of what I thought . For future readers: I actually use 'pmgsh' now, that's a bit less 'ugly'...