mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +01:00
protocol fix for bdat
Change-Id: I8396b2988e190d99934753da66dcb3165ed4af2b Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
ffa734572b
commit
15aa501bc8
@ -62,7 +62,7 @@ void process_command_starttls(struct session_ctx *sctx, struct session_data *sda
|
||||
|
||||
void process_command_mail_from(struct session_data *sdata, int *protocol_state, char *buf, char *resp, int resplen, struct __config *cfg){
|
||||
|
||||
if(*protocol_state != SMTP_STATE_HELO && *protocol_state != SMTP_STATE_PERIOD){
|
||||
if(*protocol_state != SMTP_STATE_HELO && *protocol_state != SMTP_STATE_PERIOD && *protocol_state != SMTP_STATE_BDAT){
|
||||
strncat(resp, SMTP_RESP_503_ERR, resplen);
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user