procmail
[Top] [All Lists]

Stripping attachments

2004-02-19 06:30:55
Hi,

I try to kill attachments in a copy of a message and forward
it if it is not bigger than 128000.

My try was the following:

:0:
* > 128000
{
        # msg bigger

        :0 c
  {
                INCLUDERC ${PMSRC}/pm-jamime-kill.rc

                :0
                * < 128001
                ! test(_at_)loclhost

                :0
                /dev/null
        }

        :0
        $MAIL/mbox
}

:0:
* < 128001
! test(_at_)localhost

Well, this doesn't lead me to success, I get 2 mails with
attachments.

Any solution how to strip attachments the right way?

Google led me to the solution I posted in this mail.

-sa

-- 
sa at programmers-world dot com http://www.livingit.de
Internet sites:
  http://www.not2long.net - Make long links short
  Boomarks online: http://www.mobile-bookmarks.info

Walk softly and carry a BFG-9000.

_______________________________________________
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>
  • Stripping attachments, Sascha Andres <=