[Exim] Sending when size > ESMTP server advertises

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Phillips, Alan
Datum:  
To: 'exim-users@exim.org'
CC: Patterson, Norman
Betreff: [Exim] Sending when size > ESMTP server advertises
Looking at some connectivity problems to hotmail we've been having for a few
days (Exim 3.03), I noticed when forcing a delivery that most of their MX hosts
advertise ESMTP, and respond to Exim's EHLO with "250 SIZE value"

In the case we were looking at, the message size (7.9Mb) far exceeded the value
advertised by the remote side (1048576 bytes) , but Exim went ahead and tried
to send it anyway:

  delivering 11sbEg-0003E2-00 to mc4.law5.hotmail.com [216.33.151.136]
(user@domain)
  set_process_info:   649 3.03 delivering 11sbEg-0003E2-00 to
mc4.law5.hotmail.com [216.33.151.136] user@domain)
  Connecting to mc4.law5.hotmail.com [216.33.151.136] ... connected
  SMTP response timeout = 300
    SMTP<< 220-HotMail (NO UCE) ESMTP server ready at Wed Dec 01 02:58:08 1999 
           220 ESMTP spoken here
    SMTP>> EHLO alliance.lancs.ac.uk
  SMTP response timeout = 300
    SMTP<< 250 SIZE 1048576
  use_size=0
    SMTP>> MAIL FROM:<user@domain>
  SMTP response timeout = 300
    SMTP<< 250 Requested mail action okay, completed
    SMTP>> RCPT TO:<user@domain>
  SMTP response timeout = 300
    SMTP<< 250 Requested mail action okay, completed
    SMTP>> DATA
  SMTP response timeout = 300
    SMTP<< 354 Start mail input; end with <CRLF>.<CRLF>
    SMTP>> writing message and terminating "."
  writing data block size=8188 timeout=300
  writing data block size=8188 timeout=300
  writing data block size=8188 timeout=300....


We don't have size_addition set to anything for the SMTP transport, so
shouldn't we have sent a SIZE value in the MAIL command? Could Exim be set to
fail the message transfer directly after the EHLO response here, since it knows
what's acceptable to the remote side?

Alan