#!/bin/sh # To be called if a submitted message is too large. # Tell the user it has been postponed, # and tell the maintainer to check it. # # Hans-Albert Schneider, May 2001 # Copyright (C) Siemens AG, CT SE 4, 2001 # ( formail -rt -A "Cc: $maintainer" -I "From: $listreq" cat <<-EOF1 Dear submitter, your submission to $listaddr is exceeding the current size limit ($size_limit bytes, counting both headers and body). It has therefore been forwarded to the list maintainer for further decision. Please note that this is a simple-minded sanity check, targeting at the avoidance of undesired effects like run-away mail loops or overflowing mailboxes. It will, unfortunately, also be triggered by large attachments. If you feel that the maintainer should be given some comments on your submission, feel free to contact $listreq Thank you for your patience. $listreq EOF1 ) | $SENDMAIL $sendmailOPT -t