[exim-dev] [Bug 1011] New: defer_true / defer_false options …

Top Page
Delete this message
Reply to this message
Author: Andrew Lewis
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1011] New: defer_true / defer_false options for callouts
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1011
           Summary: defer_true / defer_false options for callouts
           Product: Exim
           Version: 4.73
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: ACLs
        AssignedTo: nigel@???
        ReportedBy: eximbugzilla@???
                CC: exim-dev@???



Something along these lines has been suggested before and suggested to be
dangerous:
http://www.exim-users.org/forums/showthread.php?p=166319

However Exim already provides the user a great number of ways to shoot their
foot off and I don't feel that we should limit the usefulness of the software
to try and prevent that.

In my case I want to use this to configure my secondaries to accept mail only
when the primary MX is unreachable or returning defer.

defer
message = Primary MX appears to be working fine
verify = recipient/callout=1m,use_sender,defer_true
defer
message = Primary MX appears to be working fine
!verify = recipient/callout=1m,use_sender,defer_false
accept
verify = recipient/callout=1m,use_sender,defer_ok


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