procmail
[Top] [All Lists]

names of files

2002-06-01 08:47:22
Bonjour,

I have two questions:

1) I want to make autoreply to some mails, here is my recipe:

        :0
        * !^FROM_DAEMON
        * !^X-Loop: $MOI
        |(formail -r -A"Precedence: junk";\
        cat $HOME/.procmail/messages)|$SENDMAIL -t -oi

It works, but there an error message that I don't understand:

procmail: Executing "(formail -r -A"Precedence: junk";\
        cat $HOME/.procmail/messages)|$SENDMAIL -t -oi"
procmail: [772] Sat Jun  1 16:28:30 2002
procmail: Error while writing to "(formail -r -A"Precedence: junk";\
        cat $HOME/.procmail/messages)|$SENDMAIL -t -oi"
procmail: Assigning "LASTFOLDER=(formail -r -A"Precedence: junk";\
        cat $HOME/.procmail/messages)|$SENDMAIL -t -oi"

2) At the end of the total recipe I want that the mail goes to a special folder:

$HOME/mail/poubelle/

and I don't understand the name of the file saved in this folder, for instance:

1022917128.30146_0.messages ) | $SENDMAIL -t -oijupiter

(jupiter is the name of the mailhost)

in a folder created by procmail:

$HOME/mail/poubelle/new/

If I send a message, using echo instead of cat, allmost the whole message is appended to the name of the file...

Does anybody can explain me what is this "error while writng...", why procmail created 3 folders in my folder "poubelle" ( new, cur, tmp) and what are they for, at last: how to reduce the name of file; 1022917128.30146_0.jupiter should be enough!

Merci.

--
François Patte. UFR de mathématiques et informatique.
45 rue des St Pères. 75270 Paris Cedex 06
Tél: 01 44 55 35 44 -- Fax: 01 44 55 35 35
http://www.math-info.univ-paris5.fr/~patte

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>