I cannot find any information in the $DEFAULT variable. I changed my script to use $DEFAULT but the variable was empty.


prove it

Well .. this is my script:

logfile "/tmp/maildrop.log"
log "Init"

import RECIPIENT
import HOME
import DEFAULT

DOMAINDIR=`echo $HOME | cut -d "/" -f 4`
USER=`echo $RECIPIENT | cut -d "@" -f 1`
MAILOUT="$USER/Maildir"

`echo $DEFAULT > $HOME/variable`

`test -e $HOME/$USER`
if ( $RETURNCODE != 0 )
{
  `/bin/mkdir $HOME/$USER`
}

`test -e $HOME/$USER/Maildir`
if ( $RETURNCODE != 0 )
{
  `cd $HOME/$USER && maildirmake Maildir`
}

to $MAILOUT

The variable file gets created, but the information is empty. Please
tell me if I have done something wrong! ;)

-stian



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to