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
Added log selector +smtp_no_mail to log when no MAIL is issued (for
[exim.git]
/
src
/
src
/
exim.c
diff --git
a/src/src/exim.c
b/src/src/exim.c
index 5ed6e54e18ab27ca9bfa1db10b4c49c719101dff..d33a04d03325fca0f0a6870300c3f42643f4cff9 100644
(file)
--- a/
src/src/exim.c
+++ b/
src/src/exim.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/exim.c,v 1.5
1 2007/01/08 10:50:18
ph10 Exp $ */
+/* $Cambridge: exim/src/src/exim.c,v 1.5
2 2007/01/15 15:59:22
ph10 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-4381,6
+4381,7
@@
if (host_checking)
if (!receive_msg(FALSE)) break;
}
}
if (!receive_msg(FALSE)) break;
}
}
+ smtp_log_no_mail();
exim_exit(EXIT_SUCCESS);
}
exim_exit(EXIT_SUCCESS);
}
@@
-4636,10
+4637,15
@@
while (more)
if (message_id[0] == 0)
{
if (more) continue;
if (message_id[0] == 0)
{
if (more) continue;
+ smtp_log_no_mail(); /* Log no mail if configured */
exim_exit(EXIT_FAILURE);
}
}
exim_exit(EXIT_FAILURE);
}
}
- else exim_exit((rc == 0)? EXIT_SUCCESS : EXIT_FAILURE);
+ else
+ {
+ smtp_log_no_mail(); /* Log no mail if configured */
+ exim_exit((rc == 0)? EXIT_SUCCESS : EXIT_FAILURE);
+ }
}
/* In the non-SMTP case, we have all the information from the command
}
/* In the non-SMTP case, we have all the information from the command