procmail
[Top] [All Lists]

Re: Detect Mail Size

2000-10-02 09:34:35
perhaps something like this (untested, of course!)

:0hc
* > 2000000
| (formail -A"X-Loop: your(_at_)own(_dot_)mail(_dot_)address" ; \
 echo "message too big!") | $SENDMAIL -t


On Sun, 1 Oct 2000, Joe Cheong wrote:

How could I detect an email file size if more than 2MB then bounced it back?

Thanks,
Joe




_______________________________________________
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>
  • Re: Detect Mail Size, Matt Dunford <=