Hello,

I've updated or modified the dbmail_acl.sh script.

This version supports adding acl/subscription to all folders in a mailbox, not 
only the default INBOX.

The syntax is as follows:

./dbmail_acl.new.sh add admin sbon 'Sent'

The last argument is the folder. If omitted, it wil take the default INBOX.

./dbmail_acl.new.sh list will show next to the mailbox also the folder:

MAILBOX    FOLDER     USERID  LOOKUP  READ  SEEN  WRITE  INSERT  POST  CREATE  
DELETE  ADMIN
sbon       INBOX      admin   1       1     1     1      1       1     1       
1       1
sbon       spam       admin   1       1     1     1      1       1     1       
1       1
sbon       Sent       admin   1       1     1     1      1       1     1       
1       1
sbarchief  INBOX      admin   1       1     1     1      1       1     1       
1       1
sbarchief  Sent       admin   1       1     1     1      1       1     1       
1       1
spam       INBOX      admin   1       1     1     1      1       1     1       
1       1


More changes:

- read the configuration and do some checks.

- commands to run a MySQL script

- local parameters in functions and procedures

- more checks.

My question is now, how can I upload this script to the dbmail webpages.. I can 
put it on my own 
server, but IMHO it's the best to put it somewhere on the dbmail site.

Stef Bon 

BTW it lacks still a GPL2 note.

Attachment: dbmail_acl.new.sh
Description: application/shellscript

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to