-
ok, quick and rough howto for other users as well. I am running postfixadmin for my exim/dovecot setup (yes, patched postfixadmin). I need postfixadmin to create the user directory under /var/mails/<DOMAINNAME>/<USERNAME>
config.php:
$CONF['mailbox_postcreation_script']='sudo /usr/local/bin/maildirmake.sh';
/etc/sudoers
www-data linux1 = NOPASSWD...
2009-10-25 17:14:10 UTC in Postfix Admin
-
I think my problem is the sudo setup. Can you give me some ideas how to set it up properly ?.
2009-10-25 15:27:26 UTC in Postfix Admin
-
Hello,
I am struggling with the mailbox_postcreation_script
$CONF['mailbox_postcreation_script']='sudo /usr/local/bin/maildirmake.sh';
I would like to create a directory called "Domainname/Username" after creating the mailbox. The script looks like:
stonki@linux1:~$ cat /usr/local/bin/maildirmake.sh
#!/bin/bash
set -e
mail_home="/var/mails/".
2009-10-25 14:37:23 UTC in Postfix Admin