Tu peux peu etre me dire pourquoi les reponses auto ne fonction pas alors
:))), en sachant que j'ai essaye MAILDIR=$HOME/Maidir et
MAILDIR=$HOME/Maidir/
et rien a faire
Merci d'avance pour ton aide
Marc

fichier .procmailrc :
VERBOSE=yes
MAILDIR=$HOME/Maildir/
VACATION=$HOME/.vacation_on
LOGFILE=$HOME/.procmail.log

:0 c
* ? /usr/bin/test -e $VACATION
| cat $VACATION | mail $USER

Fichier .procmail.log

procmail: Executing "/usr/bin/test,-e,/home/webmaster/.vacation_on"
procmail: Match on "/usr/bin/test -e /home/webmaster/.vacation_on"
procmail: Assigning "LASTFOLDER=echo"
procmail: Executing "echo"
procmail: Executing "/usr/bin/test,-e,/home/webmaster/.vacation_on"
procmail: Match on "/usr/bin/test -e /home/webmaster/.vacation_on"
procmail: Assigning "LASTFOLDER= cat $VACATION | mail $USER "
procmail: Locking "/var/spool/mail/webmaster.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/webmaster"
procmail: Opening "/var/spool/mail/webmaster"
procmail: Acquiring kernel-lock
procmail: Executing " cat $VACATION | mail $USER "
procmail: Unlocking "/var/spool/mail/webmaster.lock"
procmail: Notified comsat: "[EMAIL PROTECTED]:/var/spool/mail/webmaster"
>From [EMAIL PROTECTED]  Fri Jun 14 11:58:09 2002
 Subject: test 2
  Folder: /var/spool/mail/webmaster                                    1577


----- Original Message -----
From: "Nicolas Kowalski" <[EMAIL PROTECTED]>
To: "marc" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, June 13, 2002 6:49 PM
Subject: Re: Pb procmail ( BAT type MailDir )


> "marc" <[EMAIL PROTECTED]> writes:
>
> > Je souhaite savoir, car je n'arrive pas a avoir l'info, si procmail
> > fonctionne avec des boites aux lettres type MailDir
>
> Oui. C'est dans la page de manuel procmail(1) d'ailleurs.
> Exemple, en supposant que ton Maildir est dans $HOME/Maildir :
>
>
> MAILDIR=$HOME/Maildir
>
> :0
> * ^From:.*toto
> .toto/
>
> :0
> * ^From:.*titi
> .titi/
>
>
> Dans ces deux cas, cel� va te cr�er deux dossiers 'titi' et
> 'toto'. Notes bien le point comme prefixe et le '/' terminal pour les
> noms de dossiers.
>
> Nicolas.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Répondre à