Mercurial > hg > nginx-tests
comparison lib/Test/Nginx/SMTP.pm @ 1599:4e0644119341
Tests: proxy_smtp_auth directive tests.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 06 Oct 2020 20:52:06 +0100 |
parents | 29d0961bc3f7 |
children | 068c30e9d2c6 |
comparison
equal
deleted
inserted
replaced
1598:f069dd7ba5a7 | 1599:4e0644119341 |
---|---|
120 print $client '221 quit ok' . CRLF; | 120 print $client '221 quit ok' . CRLF; |
121 } elsif (/^(ehlo|helo)/i) { | 121 } elsif (/^(ehlo|helo)/i) { |
122 print $client '250 hello ok' . CRLF; | 122 print $client '250 hello ok' . CRLF; |
123 } elsif (/^rset/i) { | 123 } elsif (/^rset/i) { |
124 print $client '250 rset ok' . CRLF; | 124 print $client '250 rset ok' . CRLF; |
125 } elsif (/^auth plain/i) { | |
126 print $client '235 auth ok' . CRLF; | |
125 } elsif (/^mail from:[^@]+$/i) { | 127 } elsif (/^mail from:[^@]+$/i) { |
126 print $client '500 mail from error' . CRLF; | 128 print $client '500 mail from error' . CRLF; |
127 } elsif (/^mail from:/i) { | 129 } elsif (/^mail from:/i) { |
128 print $client '250 mail from ok' . CRLF; | 130 print $client '250 mail from ok' . CRLF; |
129 } elsif (/^rcpt to:[^@]+$/i) { | 131 } elsif (/^rcpt to:[^@]+$/i) { |