[EXIM] Exim (rmail) handling malformed addresses

Top Page
Delete this message
Reply to this message
Author: Stephen Marquard
Date:  
To: exim-users
Subject: [EXIM] Exim (rmail) handling malformed addresses
We are running Taylor UUCP on FreeBSD, and have lots of UUCP sites.

Often enough, UUCP users will try to send email to send email to
malformed addresses, typically with trailing or leading "."s in the
domain name, or mismatched <>s, eg.

    user@???.


When one of the messages gets to rmail, exim appears to fail it and
return a non-zero exit code, so that Taylor UUXQT mails an error
message to the system uucp account, eg.

    To: uucp@???
    Subject: UUCP execution files saved after failure
    Date: Fri, 9 Jan 1998 16:01:51 +0200


    Message from UUCP on picasso Fri Jan  9 16:01:51 1998


    A UUCP execution request failed:
            rmail a@???.
    (...)


But then exim also bounces the message, also (unusefully) to the uucp
system account, eg.

    Return-path: <>
    Envelope-to: uucp@???
    Delivery-date: Fri, 9 Jan 1998 16:01:50 +0200
    To: uucp@???
    Subject: Mail failure - malformed recipient address
    Date: Fri, 9 Jan 1998 16:01:50 +0200


    A message that you sent contained a recipient address that was
    incorrectly constructed:


      a@???.  domain missing or malformed


    Recipient addresses must not end with a '.' character.


    The message has not been delivered to any recipients.


(etc.)

Both of these behaviours are unuseful: surely exim should simply
bounce the message to the sender (not the uucp account), and not
return a failure code which makes UUXQT record it as failed?

uucp is listed in trusted_users in /usr/exim/configure, apart from
that it's a fairly standard setup.

Regards
Stephen

---
Stephen Marquard

Western Cape Schools' Network / SchoolNet SA
http://www.wcape.school.za
PO Box 44460, Claremont 7735, Cape Town
Phone (021) 683-8719 / 448-8463
Fax (021) 683-8719

--
*** Exim information can be found at http://www.exim.org/ ***