[exim-dev] [Bug 815] New: Fallback fials if DNS fails

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Perkel
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 815] Fallback fails if DNS fails, [exim-dev] [Bug 815] Fallback fails if DNS fails, [exim-dev] [Bug 815] Fallback fails if DNS fails
Betreff: [exim-dev] [Bug 815] New: Fallback fials if DNS fails
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=815
           Summary: Fallback fials if DNS fails
           Product: Exim
           Version: 4.69
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Routing
        AssignedTo: nigel@???
        ReportedBy: marc@???
                CC: exim-dev@???



Consider the folowing router:

process_and_forward:
driver = manualroute
domains = +preprocess_domains
transport = process_and_forward_smtp
route_list = *
${lookup{$domain}dbm{/etc/exim/control/run/preprocess.db}{$value}{}}
fallback_hosts = retry.ctyme.com
no_more

If the receiving server fails the message is forwarded to the fallback_hosts
server. However suppose the domain is example.com and the DBM file points to
forward to mail.example.com - but the host mail.example.com fails to resolve.
In this case the message is NOT forwarded to the fallback server.

I think this is a bug and that a DNS failure should cause the fallback
condition to execute.

This is important to me because I'm using a ram disk for the email queues on my
main server for speed. But what I want to do with this server is try to forward
one time and if there is any failure to lateral the message off to the retry
server that does store the queue on hard disk and will retry for 4 days.

What happens on DNS failure is that email gets stuck in the queue and starts
filling up ram disk. I do have 8 gigs of ram and it hasn't yet been a problem.
But I don't want to store email in ram beyond a single delivery try.


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