Il 12/03/07, [EMAIL PROTECTED]<[EMAIL PROTECTED]> ha scritto:
>> uno semplice script di phamm.org
questo phamm funziona solo con ldap vero? io ho mysql! cosa mi consigli
in ogni caso ecco un maildroprc di esempio:
logfile "/var/log/maildrop.log"
MAILDIR=$HOME
`test -d "$MAILDIR"` # check if dir exist
if ($RETURNCODE != 0)
{
`mkdir -p $MAILDIR` # create dirs with parents
`rmdir $MAILDIR` # remove dir for init
`/usr/bin/maildirmake $MAILDIR` # create maildir
`/usr/bin/maildirmake -f Spam $MAILDIR` # create
"Spam" folder inside maildir
}
to "${HOME}"
ciao
stefano
--
---------------------------------------------------------------
Per favore non mandate allegati in Word o PowerPoint.
Si veda http://www.fsf.org/philosophy/no-word-attachments.html
---------------------------------------------------------------
Stefano Sasso
[EMAIL PROTECTED]
Linux User #330315
http://www.gnustile.net/
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]