[EMAIL PROTECTED] wrote:
> How can I just ignore all the sub funcs in mimedefang-filter or make
> them return immediately and get on to the `fiter_end' function where
> I can hopefully insert some simple code to create and deposit a copy.
Use the following four-line filter file:
# ---- CUT HERE ----
sub filter_end {
add_recipient('[EMAIL PROTECTED]');
}
1;
# ---- CUT HERE ----
And then make an alias "archive-bot" that just appends to a file. For
example, you might put this in /etc/mail/aliases:
archive-bot: /var/spool/mail-archive.mbox
(Don't forget to run "newaliases")
There. That wasn't so painful, was it?
> My perl is way too shakey to know how to do that withoug wreaking
> major havic.
This is becoming a common theme on the MIMEDefang list. :-(
MIMEDefang is written for people WHO KNOW PERL! That's the
whole point of the program.
Regards,
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang