well, after you suggested that I read about resend_message in the man doc. It said that it sends the original unmodified email, which I don't want to do. So I don't know how to generate the mail you mentioned using resend_message. That's why I was using replace_entire_message.
-----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Steffen Kaiser Sent: Wednesday, November 11, 2009 9:23 AM To: [email protected] Subject: Re: [Mimedefang] FW: FW: quota alert -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 11 Nov 2009, Cliff Hayes wrote: > 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. Where did I wrote about to forward the incoming mail to the user? I said to tempfail the message to avoid backscatter. And generate a mail with the "you did not get a mail from XYZ because your are overquota" to the user and with your local postmaster as from. Bye, > -----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 > > > ---------------GPG signed/encrypted data------------------ > 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 > ---------------Output of GPG------------------ > gpg: Signature made Wed 11 Nov 2009 09:15:50 AM CET using RSA key ID B3FE4DD2 > gpg: Good signature from "Steffen Kaiser <[email protected]>" > _______________________________________________ > 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 > - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSvrWy9lJzF6z/k3SAQKAFAgAqFmKkF5ltd4VZEaGeeA/fXNNXM4mZ6JS GDWL4yo8kmVWpcslXpARF+MsLIELh3x7n8yeZtXLAPoD2+BMR2C8kDPFX4QCxQ62 l+1WNjNuyJm+mzsmeaVfSOpuZmz8/bdJJ5Qe6Njq5tjUf6Al9pErLR7/eoe8FB63 Fg+lq+GMUvb1glKPvAeGCpBw9oCA5s3Efuz5Go3MUPc7xIcaCSlexzt4X2NeLQrw laDKCSZnTFjJduluYeP4r6vEmGrxeSG0wxj8lHQNwGgeol/+NDk6Ft1h5ZpHFote b+alQS9OSu0TV40hwrm0DTes0gAeffYn+ief8omEdALNDnkelRG0Sg== =Zq9w -----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

