Martin,

I think you might be looking for something that's not there. When qmail-smtp rejects a message due to size, it does not generate a separate email message. It sends an error message and code as part of the smtp session, then the smtp session is abnormally terminated. What happens on the sender's side depends on who the sender is.

If the sender is another mail server (external email coming in), then it is the responsibility of that server to generate a notification (bounce) to the sender's (submitter's) account.

If the sender is an email client program (squirrelmail, ThunderBird, Outlook, etc) that's submitting an email (via port 25 or 587), then the client program will simply show the error to the user, and the submission fails. (Note, technically Outlook works slightly differently since it has its own mail queue, but I won't go into that here). In this case there is no bounce message, which is a good thing. The fewer bounces the better. :)

Does that clear things up, or am I missing something?

--
-Eric 'shubes'

Mike Canty wrote:
Martin,
        I followed the installation documentation I have run for a few years
now, it is basically the wiki information, copied across to a document.  A
quick look at the documentation
(http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install) is
pretty much exactly what I do.  This is the original script I ran and found
it very helpful
(http://howtoforge.org/how-to-install-qmailtoaster-centos-5.3).
I can see the "oversized-reject" notice in the "/var/qmail/smtp/*" logs, but
there is no response back to the sender.  I tried to do the same, that is
send one to myself, but all I saw was the log (see below).

@400000004c8f0dbd2556a1c4 qmail-smtpd: oversized-reject:
MAILFROM:<m...@collotype.com.au> RCPTTO:<m...@collotype.com.au>

What information could I provide you to give an understanding of where I
have gone wrong?

Cheers

-----Original Message-----
From: Martin Waschbuesch [mailto:mar...@waschbuesch.de] Sent: Tuesday, 14 September 2010 4:50 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Oversized message notifications

Hi Mike,

QMT should already be doing that.

I have a 20 MB limit and tried to send myself some oversized attachment
using a gmail account I have:

Delivery to the following recipient failed permanently:

    mar...@waschbuesch.de

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
information about the cause of this error. The error that the other server
returned was: 552 552 sorry, that message size exceeds my databytes limit
(#5.3.4) (state 18).

Note that I also run CentOS 5.5 (x86_64).

If you do not get such reject messages, please let us know more about your
configuration - did you follow the installation instructions on the Wiki 10%
or did you customize anything?

Thanks,

Martin

--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München

Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
mar...@waschbuesch.de
http://martin.waschbuesch.de

Am 14.09.2010 um 08:27 schrieb Mike Canty:

To All,
        Is it possible to send a "rejected" message notification is a sender
has sent an Email with an attachment that exceeds the allowable limit?

I am running QMT on CentOS 5.5

Mike Canty



----------------------------------------------------------------------------
-----
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!

----------------------------------------------------------------------------
-----
    Please visit qmailtoaster.com for the latest news, updates, and
packages.
     To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com



----------------------------------------------------------------------------


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to