diff options
| author | manuel <manuel@mausz.at> | 2023-04-04 10:57:32 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2023-04-04 10:57:32 +0200 |
| commit | ae63d731e9c1d9a0403aac3ee0e680a6508dff07 (patch) | |
| tree | 348a9e75365d76b143f76eb63113a90d9e0025c8 /qmail-smtpd.c | |
| parent | 026d6c79538ad9dbe646f3ee5559470419583fe9 (diff) | |
| download | qmail-ae63d731e9c1d9a0403aac3ee0e680a6508dff07.tar.gz qmail-ae63d731e9c1d9a0403aac3ee0e680a6508dff07.tar.bz2 qmail-ae63d731e9c1d9a0403aac3ee0e680a6508dff07.zip | |
add NOSESSIONHEADER env variable
Diffstat (limited to 'qmail-smtpd.c')
| -rw-r--r-- | qmail-smtpd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c index f038314..5ea23dc 100644 --- a/qmail-smtpd.c +++ b/qmail-smtpd.c | |||
| @@ -970,9 +970,11 @@ void smtp_data(arg) char *arg; { | |||
| 970 | } | 970 | } |
| 971 | 971 | ||
| 972 | if (flagauth) | 972 | if (flagauth) |
| 973 | received_authed(&qqt,protocol,local,remoteinfo,client_get_session_id()->s); | 973 | received_authed(&qqt,protocol,local); |
| 974 | else | 974 | else |
| 975 | received(&qqt,protocol,local,remoteip,remotehost,remoteinfo,client_get_session_id()->s,fakehelo); | 975 | received(&qqt,protocol,local,remoteip,remotehost,remoteinfo,fakehelo); |
| 976 | if (!env_get("NOSESSIONHEADER")) | ||
| 977 | xsmtpsession(&qqt, (flagauth) ? remoteinfo : NULL, client_get_session_id()->s); | ||
| 976 | qmail_put(&qqt,sppheaders.s,sppheaders.len); /* set in qmail-spp.c */ | 978 | qmail_put(&qqt,sppheaders.s,sppheaders.len); /* set in qmail-spp.c */ |
| 977 | spp_rset(); | 979 | spp_rset(); |
| 978 | blast(&hops); | 980 | blast(&hops); |
