[exim-dev] [Bug 1509] Mssing support for EXPERIMENTAL_DSN sp…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Git Commit
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 1509] Mssing support for EXPERIMENTAL_DSN spool file extension
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1509

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???





--- Comment #3 from Git Commit <git@???> 2014-08-08 21:17:05 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/bad059db9d0052aae68ced3cd562319b0e11ace3

commit bad059db9d0052aae68ced3cd562319b0e11ace3
Author:     Wolfgang Breyha <wbreyha@???>
AuthorDate: Fri Aug 8 13:04:06 2014 -0700
Commit:     Todd Lyons <tlyons@???>
CommitDate: Fri Aug 8 13:04:06 2014 -0700


    Bug 1509: Add parser for DSN spool lines


    DSN support added a new formatted entry to the spool files, this change
      gives exipick the ability to read that entry.
---
 src/src/exipick.src |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


diff --git a/src/src/exipick.src b/src/src/exipick.src
index ed3b661..4708ebb 100644
--- a/src/src/exipick.src
+++ b/src/src/exipick.src
@@ -1020,6 +1020,12 @@ sub _parse_header {
       return($self->_error("incorrect format: $_")) if (length($2) != $3);
       $self->{_recips}{$1} = { pno => $4, errors_to => $2 };
       $addr = $1;
+    } elsif (/^(\S*)\s(\S*)\s(\d+),(\d+)\s(\S*)\s(\d+),(-?\d+)#3$/) {
+      #print STDERR "exim4 new type #3 DSN (untested): $_\n";
+      return($self->_error("incorrect format: $_"))
+        if ((length($2) != $3) || (length($5) != $6));
+      $self->{_recips}{$1} = { pno => $7, errors_to => $5 };
+      $addr = $1;
     } elsif (/^.*#(\d+)$/) {
       #print STDERR "exim4 #$1 style (unimplemented): $_\n";
       $self->_error("exim4 #$1 style (unimplemented): $_");



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