On Thu, 2003-06-12 at 13:18, Mitch (WebCob) wrote:
> 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:
> 
> CAN I individually stop and start the process which effects these settings?
> 
> Currently, when I call my courer-start script, it does:
> 
> #!/bin/sh
> /usr/lib/courier/sbin/courier start &&
> /usr/lib/courier/libexec/authlib/authdaemond start && \
> /usr/lib/courier/sbin/esmtpd start && /usr/lib/courier/sbin/esmtpd-msa start
> && /usr/lib/courier/sbin/imapd start && \
> /usr/lib/courier/sbin/pop3d start && \
> /usr/lib/courier/sbin/imapd-ssl start && /usr/lib/courier/sbin/courierfilter
> start
> 
> If I stop and start, I disconnect all my POP and IMAP users (IMAP being the
> most noticable of course)...
> 
> Can I only restart courier or some other needed component INSTEAD of
> stopping and starting the whole thing?


I do /usr/lib/courier/sbin/courier restart. This doesn't disconnect
imap/pop sessions.
try: man courier




-------------------------------------------------------
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

Reply via email to