Am 2008-07-26 11:17:26, schrieb Jim Seavey:
The second thing the global procmail process does is send large
email's
directly to the users default incoming mail box; larger being greater
than
2MB so they do not cause procmail problems.
Are you joking? -- I process Logfiles over several 100 MByte with
procmail and procmail is faster then the hell.
The following is the filter to move large email's into the users home
directory.
:0 f
* > 2048000
| ${FORMAIL} -A"X-Note: Oversize/Not Filtered"
Works a treat.
Here is nothing moved. FORMAIL add only a Header.
This recipe is run prior to the individual users procmail recipes. I
would
like to be able add a condition to this recipe that allows me to
include
specific From: email addresses that will send the large email being
sent
by specific email addresses to /dev/null and any others to be sent to
the
users default mail box. This way I can police the continual offenders
who
eat up disk space with this type of stuff.
How do I code this?
:0
* From:(_dot_)*procmail(_at_)norseaodyssey(_dot_)com
/dev/null
I already remove the messages on a daily basis from the users backup
file
based on the From: email address.
This may sound Draconian to some but we do not have the luxury of
allowing
this kind of stuff eat up disk space; especially when people are out
of the
office and do not check their email for some time.
Diskspace ich cheap!
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
____________________________________________________________
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