1 message in net.sourceforge.lists.courier-users[courier-users] how to set up variabl...
FromSent OnAttachments
jenn...@thecomputerclinic.caSep 15, 2006 3:46 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:[courier-users] how to set up variable in maildroprcActions...
From:jenn...@thecomputerclinic.ca (jenn@thecomputerclinic.ca)
Date:Sep 15, 2006 3:46:37 pm
List:net.sourceforge.lists.courier-users

mail server setting is postfix virtual system mysql courier maildrop 2.0.2 squirrelmail 1.4.8 with plugin (courier_vacation)

Auto response has been set up by courier_vacation. The vacation.txt is under file system virtual user homedir. It works via /etc/maildroprc.

My question is how to get domain name (like example.com) and user name (like test) from LOGUSER in /etc/maildroprc , set $DEFINEDDIR and manuplate them so the maildrop can run next script:

`test -f $HOME/$DOMAIN/$USER/$DEFINEDDIR/vacation.txt` if ($RETURNCODE==0) ...

Is this possible? Any idea is apperciated.

-------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .