diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2013-01-28 11:09:54 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2013-01-28 11:09:54 +0000 |
commit | b97566628d975a6e56cc36855b136476f7a78c41 (patch) | |
tree | 28fba00b6a3fabbf5db13569e27513f0bbc29592 /usr.sbin/smtpd/smtpd.c | |
parent | 2a154b9855cdf3974923e42aca27c54c9d31b215 (diff) |
- introduce 'smtpctl trace lookup' to trace lookup process
- improve logging of the transfer process
trace by me, logging by eric
Diffstat (limited to 'usr.sbin/smtpd/smtpd.c')
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index 272c7018f3d..cb294174f1d 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.184 2013/01/26 09:37:23 gilles Exp $ */ +/* $OpenBSD: smtpd.c,v 1.185 2013/01/28 11:09:53 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -652,6 +652,8 @@ main(int argc, char *argv[]) verbose |= TRACE_BOUNCE; else if (!strcmp(optarg, "scheduler")) verbose |= TRACE_SCHEDULER; + else if (!strcmp(optarg, "lookup")) + verbose |= TRACE_LOOKUP; else if (!strcmp(optarg, "stat")) verbose |= TRACE_STAT; else if (!strcmp(optarg, "rules")) |