Re: mailSizeMax

Luiz Morte <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
Philipp Kolloczek escreveu:
> Hi Luiz
>
>   
>> 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.
>
> 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?).
>
> 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.
>
> Greets
> Phil.
>   
Philipp, the last thing: who can I chance the return of the subject with 
the subject the original message? Is this possible?

Luiz.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.