So in the case where a new domain is added (not a new alias to an existing domain) then I just need to call
/usr/lib/courier/sbin/courier restart after make hosted domains? Sounds good to me - thanks! m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam Varshavchik Sent: Thursday, June 12, 2003 10:00 AM To: [EMAIL PROTECTED] Subject: [courier-users] Re: Courier restarting / signalling This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail software does not support MIME signed messages. --=_mimegpg-ny.email-scan.com-3288-1055437202-0002 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 7bit Mitch (WebCob) writes: > 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. --=_mimegpg-ny.email-scan.com-3288-1055437202-0002 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+6LGTx9p3GYHlUOIRAg7xAJ47IQ39bCxWff5Aktku9/BmQSWW9ACfciBv WcwV/8wV8UgN0ISsNIQBOKM= =KbvF -----END PGP SIGNATURE----- --=_mimegpg-ny.email-scan.com-3288-1055437202-0002-- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
