diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2011-10-09 18:39:55 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2011-10-09 18:39:55 +0000 |
commit | ad03e2c7c7cab0cccdb501682fc29d230896cddc (patch) | |
tree | dceaf0773380012682d8e3af7bad545aea21a10e /usr.sbin/smtpd/mta.c | |
parent | c45e61c7b6744c0dd8c3296ed9a6ef961a772ac6 (diff) |
show messages sent between processes in debug mode
ok gilles@ chl@
Diffstat (limited to 'usr.sbin/smtpd/mta.c')
-rw-r--r-- | usr.sbin/smtpd/mta.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index 70ac092fd4b..c727307ecd6 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.113 2011/08/29 21:43:09 chl Exp $ */ +/* $OpenBSD: mta.c,v 1.114 2011/10/09 18:39:53 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -65,6 +65,8 @@ mta_imsg(struct imsgev *iev, struct imsg *imsg) struct dns *dns; struct ssl *ssl; + log_imsg(PROC_MTA, iev->proc, imsg); + if (iev->proc == PROC_QUEUE) { switch (imsg->hdr.type) { case IMSG_BATCH_CREATE: |