[dovecot-cvs] dovecot/src/deliver mail-send.c,1.1.2.5,1.1.2.6

tss at dovecot.org tss at dovecot.org
Mon Mar 26 03:24:28 EEST 2007


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv15614

Modified Files:
      Tag: branch_1_0
	mail-send.c 
Log Message:
If we couldn't send a bounce because of a missing Return-Path header, just
return success instead of failing with EX_TEMPFAIL.



Index: mail-send.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/mail-send.c,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- mail-send.c	13 Mar 2007 13:37:15 -0000	1.1.2.5
+++ mail-send.c	26 Mar 2007 00:24:26 -0000	1.1.2.6
@@ -42,7 +42,7 @@
 	    i_info("msgid=%s: Return-Path missing, rejection reason: %s",
 		   orig_msgid == NULL ? "" : str_sanitize(orig_msgid, 80),
 		   str_sanitize(reason, 512));
-	    return -1;
+	    return 0;
     }
 
     smtp_client = smtp_client_open(return_addr, NULL, &f);



More information about the dovecot-cvs mailing list