Hi all - another rambling brain dumb on issues I've been thinking 
about regarding our server systems...

We have a cap on our max message size accepted by sendmail because 
we're on a slow link and we pay by transfer amount - so we try to 
discourage our friends from sending us 20MB MPEG movies (unless 
they're really good! :)

Anyway - since we've started doing mail relaying for a client we've 
noticed a few of these "message rejected because it is too big" 
messages from sendmail...

Sep 16 02:41:07 server sendmail[4577]: AAA04577: message size 
(7376264) exceeds maximum (6000000)

I was just wondering if someone could clarify as to whether sendmail 
would have received 6000000 bytes of the message before realising it 
was too big and rejecting it... or would it have rejected it before 
any data was transferred?

I tried some tests with sending myself large messages from other 
hosts on our local net and remotely - and the message gets rejected 
by sendmail in the initial handshake - with no mention of a rejection 
in the log files...

I'm wondering if this is because the servers are all redhat 6.2 based 
systems and as such sendmail is doing some 'clever' checking before 
initiating transfers - hence the immediate rejection and no mention 
in the logs. The servers we're seeing rejection notices may be 
running other transport mechanisms which aren't checking with 
sendmail before starting the transfer and start sending blindly 
before sendmail on our server cuts them off at teh 6Mb limit...

but then how does sendmail know the total message size to report it 
in the logs?

hmm... going round in circles with this one - hopefully some sendmail 
guru will be able to fill me in a bit on the mechanisms involved.

Oh yeah - one other question - is there a way for me to customise the 
rejection messages sendmail gives with "message too large" or 
"unknown user" or "we don't relay" or other errors returned to people 
trying to send us mail?

TIA for any insights... or even pointers to somewhere more 
appropriate for this sendmail issues type conversation...

dan.
-- 

        Nitro - 3D Visualisation, Graphics & Animation
                Ph (+61 2) 9810 5177 - Fx (+61 2) 9810 0199
                        http://www.nitro.com.au/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to