Hi ALL.
I try to use procmail + formail to send a "standard message" to the mailing
list.
I received the mail that sended to ex. linux(_at_)mailing_list(_dot_)com and I
want sent
message reply to sender with "custom" body. my mail address is not in the
header's mail.
When procmail process the mail incoming and match the rule, I see in the log
(VERBOSE=yes) that the formail command is executed, but the sender not receive
the mail.
I suppose that formail -r create a wrong mail address, but I not found the error
in the procmailrc file.
I use the following .procmailrc
:0fhw:
| $FORMAIL -I "From "
:0Whc
* ^TO_linux(_at_)mailing_list(_dot_)com
* !^FROM_DAEMON
* !^X-Loop: info(_at_)mailing_list(_dot_)com
* ^Subject:.*Luck
| (formail -rI"Precedence: junk" \
-A"X-Loop: linux(_at_)mailing_list(_dot_)com"
-A"From: info(_at_)mailing_list(_dot_)com" ; \
echo "Good Luck!"; \
echo "-- "; cat $HOME/.signature \
) | $SENDMAIL -oi -t
thank's a lot.
sorry for my bad english
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail