diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-05-26 16:26:58 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-05-26 16:26:58 +0100 |
commit | 27520a688253e1f73c6f59b32312cdf2755aed2c (patch) | |
tree | 812783a45c4acc76e884d2f678ca161c7fa2a557 /src | |
parent | c03fae8adf341e26f2c4c8f068a60a72d8504963 (diff) |
Increase limit of smtp_confirmation logging from 100 to 256 chars. Bug 1408
Diffstat (limited to 'src')
-rw-r--r-- | src/src/deliver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c index 70f6a7a21..3f5800ded 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -842,17 +842,17 @@ else /* confirmation message (SMTP (host_used) and LMTP (driver_name)) */ -if ((log_extra_selector & LX_smtp_confirmation) != 0 && - addr->message != NULL && - ((addr->host_used != NULL) || (Ustrcmp(addr->transport->driver_name, "lmtp") == 0))) +if (log_extra_selector & LX_smtp_confirmation && + addr->message && + (addr->host_used || Ustrcmp(addr->transport->driver_name, "lmtp") == 0)) { int i; uschar *p = big_buffer; uschar *ss = addr->message; *p++ = '\"'; - for (i = 0; i < 100 && ss[i] != 0; i++) + for (i = 0; i < 256 && ss[i] != 0; i++) /* limit logged amount */ { - if (ss[i] == '\"' || ss[i] == '\\') *p++ = '\\'; + if (ss[i] == '\"' || ss[i] == '\\') *p++ = '\\'; /* quote \ and " */ *p++ = ss[i]; } *p++ = '\"'; |