Re: [exim] about Sender: and envelope reverse-path in today'…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Exim User's Mailing List
CC: Marc Haber
New-Topics: [exim] Wishlist item: synchronous deliver
Subject: Re: [exim] about Sender: and envelope reverse-path in today's systems
On Mon, 22 Nov 2004, Greg A. Woods wrote:

> Given all this perhaps there's a simple way to configure Exim so that it
> can only accept mail via the command-line interace and so that it can
> only deliver mail to a local transport?


Interestingly, a recent addition to Exim allows it to do the first of
those, but exactly the opposite for the second! With mua_wrapper=true,
you get the following:

    When run in MUA wrapping mode, the behaviour of Exim changes in the
    following ways:


    (a) A daemon cannot be run, nor will Exim accept incoming messages from
        inetd. In other words, the only way to submit messages is via the
        command line.


    (b) Each message is synchonously delivered as soon as it is received (-odi
        is assumed). All queueing options (queue_only, queue_smtp_domains,
        control=queue, control=freeze in an ACL etc.) are quietly ignored. The
        Exim reception process does not finish until the delivery attempt is
        complete. If the delivery was successful, a zero return code is given.


    (c) Address redirection is permitted, but the final routing for all
        addresses must be to the same remote transport, and to the same list of
        hosts. Furthermore, the return_address must be the same for all
        recipients, as must any added or deleted header lines. In other words,
        it must be possible to deliver the message in a single SMTP
        transaction, however many recipients there are.


    (d) If the conditions in (c) are not met, or if routing any address results
        in a failure or defer status, or if Exim is unable to deliver all the
        recipients successfully to one of the hosts immediately, delivery of
        the entire message fails.


The are more. See the latest NewStuff file for the whole list. The idea
of this mode is to use Exim to convert an MUA that can deliver only over
a command line interface into one that can deliver over SMTP to a
smarthost.

I suppose there could be a variant on this that insists on a local
transport instead of a remote one. If people really, really want it...


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book