Hi I'd like to dynamically add users to postfix, using a php service I am writing, but I'd like to keep the /etc/alias
mechanic, and I've decided the best way I can do this is make individual user.cf
files each one with aliases in it. I don't want to $ echo "bob :bob" >> /etc/alias
I'm sure you sympathise
EG: in a directory like /etc/alias/users/*
What i'd love to be able to do is this:
alias_maps = hash:/etc/alias/users/*
Is this possible? How can I configure postfix to allow me to make my own dir to look after this? I can then simply check for an occurrence of this file in php and remove/rewrite it easily then restart postfix to handle name changes / new user creation.