Hi, I couldn't find it on the documentation and the messages on the archive did not reflected exactly what I'm looking for, so I'm writing to the list. I would like procmail to check the size of the mbox file before droping the new arrived message down there. I think this should be something more hardcoded than a rc script. If the size exceeds "x" bytes (pre-defined), I want it to pick up the "From" email address on the begining of the mail and send a mail back to this guy, telling him his message was not delivered. I'm not sure if I have made myself clear, but what I want is something like this: john@foobar.com sends a mail to maria@mynetwork.com 1) the MX sendmail (MTA) for 'mynetwork.com' will accept the message and engage procmail to deliver the message. 2) procmail will check the size of "maria"s mailbox, and if it's larger than, let's say, MAXMAILBOX (defined in a configuration file anywhe- re), it will get the "From" line (containing john@foobar.com) from the body of the email, and send him a predefined message (perhaps a file also defined on the configuration file?). I couldn't find this feature on my release (3.15. 1), and nothing exa- ctly like this discussed here before. Does anyone knows how to do it? Or if it have to be coded, where in the code should I insert such routine? Thanks, Felipe -- Felipe Franciosi <fmfr@terra.com.br>
At 7:36 PM -0500 3/27/01, Felipe Franciosi is rumored to have typed:
I couldn't find it on the documentation and the messages on the archive did not reflected exactly what I'm looking for, so I'm writing to the list.
You are, however, writing to the _wrong_ list; you want to send to the procmail mailing list, not the SmartList mailing list: <mailto:procmail-request@lists.RWTH-Aachen.DE?subject=subscribe> ...and be prepared to take some flack for trusting the From: header field instead of using the out-of-band (envelope) information when you ask there... Charlie
participants (2)
-
Charlie Summers
-
Felipe Franciosi