Brian Snead <BSnead@...> wrote:
> Would you be willing to share the script. I agree that the mxsync should
> not sync the conf file, but I think you can make a case for it treating
> each mx servers' hardcoded addr records on startup?
Well, there is nothing exciting here:
On each MX, I have /etc/mail/greylist.conf.local that contains the peer
statements
The script that pushes the new configuration does that:
MX="mx1.example.net mx2.example.net mx3.example.net"
for m in $MX ; do
scp greylist.conf $m:/etc/mail/
ssh $m cat /etc/mail/greylist.conf.local \
>> /etc/mail/greylist.conf
done
And everything is done with RSA keys so that it won't ask a password.
You can do it with an unprivilegied account, it just needs to have a
write right on /etc/mail/greylist.conf on each MX server.
--
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent
le binaire et ceux qui ne le comprennent pas.
manu@...Message
Re: [milter-greylist] Greylist.conf Sync Question
2004-06-23 by manu@netbsd.org
Attachments
- No local attachments were found for this message.