[exim-dev] [Bug 1002] New: message loss when using multiple …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Miroslav Lichvar
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 1002] message loss when using multiple deliveries
Betreff: [exim-dev] [Bug 1002] New: message loss when using multiple deliveries
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1002
           Summary: message loss when using multiple deliveries
           Product: Exim
           Version: 4.71
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Delivery in general
        AssignedTo: nigel@???
        ReportedBy: mlichvar@???
                CC: exim-dev@???



When exim is configured to use multiple deliveries with different routing,
sometimes there are messages that are not delivered to one of the recipients in
all routings.

It seems to happen when there is a duplicated address and one of the deliveries
to the address is deferred (e.g. the mailbox is locked).

Steps to reproduce:
1. in the default exim.conf add an archiving router before localuser router

copymail:
  driver       = manualroute
  transport    = remote_smtp
  route_list   = * archive
  unseen


2. create alias: test-list: testm1@localhost, testm2@localhost,
testm3@localhost
3. touch /var/spool/mail/testm1.lock
3. echo test | /usr/sbin/exim test-list@localhost testm1@localhost
4. wait 30 seconds
5. rm /var/spool/mail/testm1.lock
6. exim -qf

The message won't be delivered to testm1@localhost in the local delivery, it's
lost after step 4.

The problem seems to be that the address is marked as a duplicate and done in
address_done() in deliver.c after the remote_smtp delivery succeeded.


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