git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve log output when DKIM signing operation fails.
[exim.git]
/
src
/
src
/
transport.c
diff --git
a/src/src/transport.c
b/src/src/transport.c
index 9b2a66631c22e1439d436dbdbbe4f6278eb4fdaa..e68a24dcbe7a4d313fdc4db112e132fd6a240217 100644
(file)
--- a/
src/src/transport.c
+++ b/
src/src/transport.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/transport.c,v 1.2
5 2009/11/16 19:50:37 nm4
Exp $ */
+/* $Cambridge: exim/src/src/transport.c,v 1.2
6 2009/12/15 08:23:15 tom
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-1034,7
+1034,9
@@
dkim_transport_write_message(address_item *addr, int fd, int options,
if (dkim_strict_result != NULL) {
if ( (strcmpic(dkim_strict,US"1") == 0) ||
(strcmpic(dkim_strict,US"true") == 0) ) {
if (dkim_strict_result != NULL) {
if ( (strcmpic(dkim_strict,US"1") == 0) ||
(strcmpic(dkim_strict,US"true") == 0) ) {
- save_errno = errno;
+ /* Set errno to something halfway meaningful */
+ save_errno = EACCES;
+ log_write(0, LOG_MAIN, "DKIM: message could not be signed, and dkim_strict is set. Deferring message delivery.");
rc = FALSE;
goto CLEANUP;
}
rc = FALSE;
goto CLEANUP;
}