procmail
[Top] [All Lists]

Reply with attachement

2002-07-19 06:38:05
Hi,

at this moment I have written a procmailrc which replies to the sender some 
information due to a keywork in the subject
line.
I would like to attach a html file to this email, how can I achieve that?
I posted already a similar question and somebody told me about some program 
called "real tools". Until today I haven't
found anything about this program.

By the way, as I already posted, my procmailrc works fine, the only problem I 
see, is that the mail doesn't reach its
destination. It's replied (most important) but I'd like to receive the mail 
still.


Here is my procmailrc:

VERBOSE=yes
LOGFILE=/var/log/procmail/procmail.log
:0
* ^TOftp-admin
* ^Subject:.*ftp-liste
* ! ^X-Loop: ftp-admin(_at_)mydomain\(_dot_)net
{

:0 c:
| sudo /usr/sbin/ftp-mail-text.cfg > /etc/ftp-mail-text.txt

:0 h w
| ( formail -r -A "X-Loop: ftp-admin(_at_)mydomain(_dot_)net" -I "From: 
ftp-admin(_at_)mydomain(_dot_)net" ; cat /etc/ftp-mail-text.txt ) |
$SENDMAIL -oi -t
}


_______________________________________________
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>