procmail
[Top] [All Lists]

Re: Stop forwarding big files! Help needed

2002-12-12 03:00:34
Radu Popa <radu(_at_)technomatic(_dot_)de> schrieb:

Is there any way to tell unix box not to forward messages bigger than x MB,
but only for the accounts I want to?

Yes, there is.  And, wouldn'tcha know it, but, by George, *procmail* is
one such way!  :)

There are many examples of things very similar to this in "man procmailex".
Suggest you start there.  For example, here is something conceptually
close from p. 2 of that man-page set:

       Forward all mails shorter  than  1000  bytes  to  my  home
       address (no lockfile needed on this recipe).

              :0
              * < 1000
              ! myname(_at_)home

You should look over the man pages, formulate something you suspect
could work, try it out, and report back here if you need further help.
It would be useful if, at that point, you posted a short log entry
and similar specifics.

-- 
dman


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