Current svn build problems... minor fixes.. Without sieve enabled there is
a missing ifdef and the Return-Path argument is of the wrong type...

diff -urN dbmail-svn-2.1.3-1987.orig/lmtp.c dbmail-svn-2.1.3-1987/lmtp.c
--- dbmail-svn-2.1.3-1987.orig/lmtp.c   2006-02-17 17:23:43.000000000 -0500
+++ dbmail-svn-2.1.3-1987/lmtp.c        2006-02-17 17:44:23.244784376 -0500
@@ -616,7 +616,7 @@
                                                return 1;
                                        }

-                                       dbmail_message_set_header(msg,
"Return-Path", from->data);
+                                       dbmail_message_set_header(msg,
"Return-Path", (char *)(dm_list_getstart(&from)->data));
                                        if (insert_messages(msg,
&headerfields, &rcpt) == -1) {
                                                ci_write((FILE *) stream,
"503 Message not
received\r\n");
                                        } else {
diff -urN dbmail-svn-2.1.3-1987.orig/sort.c dbmail-svn-2.1.3-1987/sort.c
--- dbmail-svn-2.1.3-1987.orig/sort.c   2006-02-17 17:41:10.323157000 -0500
+++ dbmail-svn-2.1.3-1987/sort.c        2006-02-17 17:41:45.705486863 -0500
@@ -42,6 +42,7 @@
                }
        }

+#ifdef SIEVE
        /* Sieve. */
        config_get_value("SIEVE", "DELIVERY", val);
        if (strcasecmp(val, "yes") == 0) {
@@ -52,6 +53,7 @@
                        sort_free_result(sort_result);
                }
        }
+#endif

        /* Sieve actions:
         * (m = must implement, s = should implement, e = extension)


Thanks,
Leif

p.s. Aaron & Paul I am excited to see all the great changes going into
svn! Thanks for all your time and efforts!

Reply via email to