Re: [exim] "Vista Mail" and errors after DATA

Top Pagina
Delete this message
Reply to this message
Auteur: Adam D. Barratt
Datum:  
Aan: Eli, exim-users
Onderwerp: Re: [exim] "Vista Mail" and errors after DATA
Eli wrote, on Wednesday, July 18, 2007 3:29 PM
>> Errors created during the RCPT ACL are correctly handled, with Vista
>> Mail returning the error message from exim to the client. However if
>> the reject occurs later in the process (in this specific case during
>> the MIME ACL) Vista Mail silently ignores the fact that a 550 was
>> returned and simply moves the outgoing mail in to the "Sent Items"
>> folder with no indication to the user that the mail has not been sent.
>
> Can you show me an exact debug output of a Vista Mail session? I myself
> have Vista (using it right now, however just a few days ago "upgraded" to
> Outlook 2k7 and somewhat wishing I was actually using MS Mail since it
> actually is a good client (yes, it actually works - and supports TLS!).


I can't easily generate debug output at the moment as I haven't had chance
to set up an appropriate test environment yet. However, if it's any help,
the relevant ACL snippet is (comments stripped for size reasons :):

check_mime:
  warn   decode    = default


  deny   condition  = ${if eq {$ACL_SCAN_TYPE}{SCAN_ONLY_TAG}{no}{yes}}
         condition  = ${if eq {$ACL_SCAN_TYPE}{NO_SCAN_TAG}{no}{yes}}
         message    = This message has been rejected because it has \
                        potentially executable content (an attachment with 
the \
                        extension ${extract{-1}{.}{${lc:$mime_filename}}}). 
\
                        This form of attachment has been used by \
                        recent viruses or other malware. \
                        If you meant to send this file then please \
                        package it up as a zip file and resend it. \
                        CONTACTTEXT
         condition  = ${if 
match{${extract{-1}{.}{${lc:$mime_filename}}}}{\N^(BAD_ATTACHMENTS)$\N}}


Where the first two condition clauses allow the scanning to be bypassed
under certain circumstances. This correctly generates an appropriate log
entry, viz:

2007-07-18 16:28:32 1IBBS4-00022u-43 H=lexx.dmz (7of9) [192.168.0.1]
F=<mark@???> rejected during MIME ACL checks: This message has
been rejected because it has potentially executable content (an attachment
with the extension exe). This form of attachment has been used by recent
viruses or other malware. If you meant to send this file then please package
it up as a zip file and resend it. Please e-mail postmaster@???
or telephone +44 (0) 1234 123456 if you believe this to be in error.

With the exception of the HELO (the mail server and the clients are on
opposite sides of the firewall, so all appear to come from the same machine
DNS-wise) and the sender address, the above entry is identical to those
generated by machines running various versions of Outlook. The Outlook
clients fail to deliver the mail and leave it in the user's outbox,
displaying the final line of the multi-line error in the progress dialog;
the Vista Microsoft Mail client simply moves it to Sent Items with no hint
of an error.

I've verified that attempting to send mail from the Vista Microsoft Mail
client to an invalid local recipient fails and displays the content of the
550 message to the user, so it does appear to be an issue relating to errors
after DATA.

Adam