9 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: Courier resta...
FromSent OnAttachments
Heberto del RioJun 11, 2003 3:58 pm 
Sam VarshavchikJun 11, 2003 4:40 pm 
Mirko ZeibigJun 12, 2003 12:14 am 
Keith PettitJun 12, 2003 6:57 am 
Mitch (WebCob)Jun 12, 2003 9:18 am 
Sam VarshavchikJun 12, 2003 10:01 am 
Mitch (WebCob)Jun 12, 2003 11:23 am 
Sam VarshavchikJun 12, 2003 12:15 pm 
Eduardo RoldanJun 12, 2003 2:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Re: Courier restarting / signallingActions...
From:Mitch (WebCob) (mit@webcob.com)
Date:Jun 12, 2003 11:23:43 am
List:net.sourceforge.lists.courier-users

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: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net]On Behalf Of Sam Varshavchik Sent: Thursday, June 12, 2003 10:00 AM To: cour@lists.sourceforge.net 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--