[exim-dev] [Bug 441] New: request for unseen_remember_accept…

Top Page
Delete this message
Reply to this message
Author: bug441
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 441] New: request for unseen_remember_accepted option
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=441

           Summary: request for unseen_remember_accepted option
           Product: Exim
           Version: 4.64
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Delivery in general
        AssignedTo: ph10@???
        ReportedBy: lehmann@???
         QAContact: exim-dev@???



What I would like to do is to have several routers that are all tried in a row
and checked if their conditions are met for a certain delivery. The hard part
is that more than one router may be responsible and more than one router shall
handle the delivery and pass it to a transport in that case. But the routers
shall not now anything from each other. So when a message comes in, exim shall
try all of these routers and remember if at least one of them accepts it so the
sender doesn't get a "User unknown".

As far as I know exim doesn't have an option for it. "unseen" lets exim try the
next router, but if that fails (doesn't accept) then exim thinks, that there is
no router that accepts the message because he forgot that the previous router
with the unseen option accepted it. So right now I have a very cumbersome
condition in my first router so that unseen is only set when it made sure that
the following router will accept it. With only two routers that may be a
workaround, but with more than two routers an option within exim would be
required. Such as unseen_remember_accepted or so.

Philip suggest to solve this by using fake-addresses but as all other recent
suggestions I would call it a workaround and would just make the configuration
complex and unclear.

Example:

Behind one email address several services may be enabled. Lets say the services
are

1. autoresponder
2. notify per sms
3. forwarding to one or more recipients
4. delivery per lmtp to a backend server to a mailbox

So once an email gets in it shall only be accepted if at least one services is
enabled for this address. The services don't know of each other. All of the
shall have a condition like "if enabled true else false".
The unseen-option or self = pass doesn't help in this case. So all routers must
be checked and more than once may apply. So in general an unseen-option would
be required that remembers if any of the routers have been successful.

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