Thanks. However I don't want to forward the message on to the user ... I want them to have to clean out their mailbox. There won't be any motivation to do that if they are still getting their mail.
Question ... I notice that replace_entire_message does not replace the headers. Is that as designed? I was expecting to see my new FROM/TO/SUBJECT when I created my new replacement entity, but instead saw all of the original email headers. -----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Steffen Kaiser Sent: Wednesday, November 11, 2009 2:16 AM To: [email protected] Subject: Re: [Mimedefang] FW: quota alert -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 10 Nov 2009, Cliff Hayes wrote: > action_notify_sender("The mailbox for $userName is full. Subject: > $afoMsgSubject \n"); Hmm, if you get SPAM to an overquota mailbox, you generate backscatter to faked senders. How about to tempfail the message and send a new mail. Check out "resend_message()" in mimedefang.pl. David has a nice example calling sendmail, however, I think that this message runs through your filter as well. If this is a relay, you could use Net::SMTP and deliver the mail directly. Also with fork() to ensure the MIMEDefang process won't stall. Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSvpyttlJzF6z/k3SAQK4kgf/QGpUIycv+pVC3IuWMiUcahhHXWBzOTpH ssPm40Ym19f6lxIxevX3S9QngAzNTkUEjcUssKY7GjuxrrdYHz8UY/EdUPK53+KE rfLijZN+oFoK658jKFBbYw1Yd+Qx1rRJmCMlRsBBH1DCV1VidhBZF5aw2fH7sdqV YbDCW+/rqhrnPQXsXWL0SH7rpiEcE9qVBFsYJVfB38fXEzbxAOKJdLCYmM0WALme KzoeT7slb8vHeEKKywuOODZOlULYsbOtBt9E9WpEHEOMN1ldZ/mFUtO6PsKI+mYo U0L+dD5ES/uKqE4+AO5xullmhsccx3Sip0sloolrTH2EkkRzSPOp1g== =nB0z -----END PGP SIGNATURE----- _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

