[exim-dev] [Bug 1343] New: local_from_check influences local…

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1343] New: local_from_check influences local and TCP submitted messages
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1343
           Summary: local_from_check influences local and TCP submitted
                    messages
           Product: Exim
           Version: 4.72
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: Documentation
        AssignedTo: nigel@???
        ReportedBy: hs+exim@???
                CC: exim-dev@???



The spec.txt explains

    +----------------+---------+-------------+-------------+
    |local_from_check|Use: main|Type: boolean|Default: true|
    +----------------+---------+-------------+-------------+


    When a message is submitted locally (that is, not over a TCP/IP connection)
by
    an untrusted user, Exim removes any existing Sender: header line, and
checks
    that the From: header line matches the login of the calling user and the
domain
    specified by qualify_domain.




    For messages received over TCP/IP, an ACL can specify "submission mode" to
    request similar header line checking. See section 46.16, which has more
details
    about Sender: processing.


But, if I set "local_from_check = no", even messages submitted via
authenticated SMTP do not get the Sender-Header inserted. (But the
checks are done, because the return-path and envelope from are set
according to the authenticated ID.)

I believe, this is a bug in the documentation, or at least it should be
clarified, that

    local_from_check = no


suppresses the Sender:-insertion for network submitted messages too.
Maybe 46.16 should be reworked too.

--
Heiko


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email