Sometimes, when I run makealiases, etc., the process does not seem to properly notify courier of the change. I'm triggering these processes like this (from a php script)
`/usr/lib/courier/sbin/makehosteddomains`; sleep(1); `/usr/lib/courier/sbin/makeacceptmailfor`; sleep(1); `/usr/lib/courier/sbin/makealiases`;
Now, my question, is if there is nothing wrong with what I'm doing, and courier is just too bust and somehow misses the signal that changes have occured:
makehosteddomains needs a 'courier restart' command. This does not happen automatically, since this stops all new mail processing until all pending delivery attempts conclude (which may take a little while).
You should not run makehosteddomains unless you really need it, and then run 'courier restart' afterwards. None of the other commands need anything else to be done.
pgp00000.pgp
Description: PGP signature
