[dovecot-cvs] dovecot/src/deliver mail-send.c,1.7,1.8

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


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

Modified Files:
	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.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- mail-send.c	13 Mar 2007 13:37:18 -0000	1.7
+++ mail-send.c	26 Mar 2007 00:24:29 -0000	1.8
@@ -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