diff options
| author | manuel <manuel@mausz.at> | 2013-06-07 01:25:59 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-06-07 01:25:59 +0200 |
| commit | b4dd366f73fad1feb55d027a552b764043165edc (patch) | |
| tree | cd5c989d7d25f2f2b38e05ec9e848722d19a9a69 | |
| parent | 56fc66c631719e906ac426db40e37f35e50b8850 (diff) | |
| download | qmail-b4dd366f73fad1feb55d027a552b764043165edc.tar.gz qmail-b4dd366f73fad1feb55d027a552b764043165edc.tar.bz2 qmail-b4dd366f73fad1feb55d027a552b764043165edc.zip | |
check for bad chars only for for non-relay sessions
check introduced by ee944357ee374402f20eb1297a0b596f7ef4ea8d
(qmail-smtpd-relay-reject.gentoo)
| -rw-r--r-- | qmail-smtpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c index 259ae7c..ecb7b85 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c | |||
| @@ -640,7 +640,7 @@ void smtp_mail(arg) char *arg; | |||
| 640 | void smtp_rcpt(arg) char *arg; { | 640 | void smtp_rcpt(arg) char *arg; { |
| 641 | if (!seenmail) { err_wantmail(); return; } | 641 | if (!seenmail) { err_wantmail(); return; } |
| 642 | if (!addrparse(arg)) { err_syntax(); return; } | 642 | if (!addrparse(arg)) { err_syntax(); return; } |
| 643 | if (addrrelay()) { err_relay(); return; } | 643 | if (!relayclient && addrrelay()) { err_relay(); return; } |
| 644 | if (flagbarfbhelo) { | 644 | if (flagbarfbhelo) { |
| 645 | if (logregex) { | 645 | if (logregex) { |
| 646 | strerr_warn6("qmail-smtpd: badhelo: <",helohost.s,"> at ",remoteip," matches pattern: ",matchedregex.s,0); | 646 | strerr_warn6("qmail-smtpd: badhelo: <",helohost.s,"> at ",remoteip," matches pattern: ",matchedregex.s,0); |
