procmail
[Top] [All Lists]

Unidentified subject!

1996-05-24 08:19:53

should be:
:0
* ^TO.*
! mc8885(_at_)mclink(_dot_)it
 
Regards
Clemens


Dear Clemens,

first af all thank you very much for your help.

Of course I was wrong, but with this now correct, I don't resolve my problem.

Now I have this setup of .procmailrc :

***** cut here *********

VERBOSE=on
SENDMAIL=/usr/lib/sendmail
MAILDIR=$HOME/mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
FILEDIR=$HOME/fileserver

:0
* ^TO.*federico
! gigliof(_at_)mbox(_dot_)vol(_dot_)it

:0
* ^TO.*giuseppe
! mc8885(_at_)mclink(_dot_)it

:0 
* ^TOinfo 
*!^FROM_DAEMON
*!^X-Loop: info(_at_)giglio(_dot_)com
|(formail -r -a "Precedence: junk"\
-I"From: Auto Replay from giglio.com " \
-I"Subject: Received email" \
-A "X-Loop: info(_at_)giglio(_dot_)com";\
cat $FILEDIR/info.txt ) |$SENDMAIL -t

:0
* ^TO.*
! mc8885(_at_)mclink(_dot_)it

*****cut here *********

and this results :

- messages mailed to giuseppe are forwarded correctly.
- messages mailed to federico are forwarded correctly.
- who send messages to info, receive correctly the autoreplay,
 but I LOSS THE ORIGINAL MESSAGE (it doesn't forwarded neither left on pop
of server)
- all other messages mailed to anythingelse(_at_)giglio(_dot_)com are forwarded 
correctly

According with the log file, I think that procmail when receive a mail to info
it found :
- No Match for (1st condition)
- No Match for (second condition)
- Match on (3rd condition) so it process the mail sending the autoreplay.
AND AFTER ??? what about the original mail ?
The log file finish here non considering the last (^TO.*     )condition.


Thank you very much for your help.


Giuseppe 
*********************************
--> giuseppe(_dot_)giglio(_at_)giglio(_dot_)com
--> http://www.giglio.com
*********************************

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