Philipp Kolloczek escreveu:
Hi Luiz
Hi Philipp,
Thanks Philipp for the answer. My problem is: for my customer, he wants
only his message as a return (not include the qmail message), but it´s
working :)
Isn't it that what he gets already?
The sender get's a bounce containing the Info
"The message exceeded the maximum size the user accepts. (#5.2.3)"
and if you haven't used bouncemaxbytes the complete message
should be attached.
Maybe I understand you wrong but I see no gain in removing the bounce
info/reason out of a bounce message. And as mailMaxSize isn't a parameter
checked on smtpd time you can't just reject a mail an let the bounce
do the senders MTA.
You are right. The return is perfect. The user always ask for something
different, but I've talked to him about that.
But just to be complete the text/info you place in quotawarning is
only send to the receiver and only if he exceeds his mailQuotasize
and/or mailQuotaCount by more than 70% ( or what you have set in
qmai-ldap.h => QUOTA_WARNING_LEVEL ... btw, someone here who made that
an env or controlfile?).
ok.
I a very easy way you may change the return string in
qmail-lspwan.c to get qmail-send only to bounce the mail without a reason.
But to remove all bounce related text I guess you have to change
addbounce() or injectbounce() in qmail-send.c but make sure that it
only makes it "short" on a mailMaxSize-bounce.
I think the best way is how the things are working. I'll not change that :)
Thanks any way for your help :)
See you.
Luiz.