Chris L. Franklin wrote:

>Pooling for changes that might or might not have been made to the 
>mailusers.tab is just a plain waste. When in the end you could just push the 
>changes.
>
>  
>

Polling for changes to mailusers.tab takes relatively no resources, and 
can be done in very few lines of code:

#!/bin/sh
#
XMAIL_USERFILE=/var/MailRoot/mailusers.tab
TMP_FILE=/tmp/tmp_mailusers.tab
while true
do
if [ $XMAIL_USERFILE -nt $TMP_FILE ]
 then
   # file has been updated
   sleep 1
   # run my sync script here
   /myscriptspath/myupdtatescript
   touch -r $XMAIL_USERFILE $TMP_FILE
fi
sleep 2

It's difficult for me to ask Davide to implement a feature like CTRL 
filters for something I can solve otherwise so easily.

If Davide was to add CTRL filters, I rather see it hit the filter for 
every CTRL command, allowing one to implement just about anything -- 
including CTRL access restrictions based on the CTRL user.  However, 
native IMAP support is still much higher on my list of wants.

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to