check which does not match the connection peer IP.
No authentication will then be done, despite the names being identical.
-For such cases use a separate transport which alwats authenticates.
+For such cases use a separate transport which always authenticates.
.wen
.cindex "AUTH" "on MAIL command"
dsn_advertised = TRUE;
}
- /* Advertise ETRN if there's an ACL checking whether a host is
- permitted to issue it; a check is made when any host actually tries. */
+ /* Advertise ETRN/VRFY/EXPN if there's are ACL checking whether a host is
+ permitted to issue them; a check is made when any host actually tries. */
- if (acl_smtp_etrn != NULL)
+ if (acl_smtp_etrn)
{
s = string_catn(s, &size, &ptr, smtp_code, 3);
s = string_catn(s, &size, &ptr, US"-ETRN\r\n", 7);
}
-
- /* Advertise EXPN if there's an ACL checking whether a host is
- permitted to issue it; a check is made when any host actually tries. */
-
- if (acl_smtp_expn != NULL)
+ if (acl_smtp_vrfy)
+ {
+ s = string_catn(s, &size, &ptr, smtp_code, 3);
+ s = string_catn(s, &size, &ptr, US"-VRFY\r\n", 7);
+ }
+ if (acl_smtp_expn)
{
s = string_catn(s, &size, &ptr, smtp_code, 3);
s = string_catn(s, &size, &ptr, US"-EXPN\r\n", 7);
SMTP>> 250-mail.test.ex Hello something [V4NET.0.0.0]
250-SIZE 52428800
250-8BITMIME
+250-VRFY
250-PIPELINING
250 HELP
SMTP<< mail from:<x@y>
250-SIZE 52428800
250-8BITMIME
250-ETRN
+250-VRFY
250-EXPN
250-PIPELINING
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN
250-mail.test.ex Hello something [V4NET.0.0.0]\r
250-SIZE 52428800\r
250-8BITMIME\r
+250-VRFY\r
250-PIPELINING\r
250 HELP\r
250 OK\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250 HELP\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250 HELP\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH MYLOGIN PLAIN EXPLAIN EXPANDED EXPANDFAIL DEFER LOGIN\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250 HELP\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH CRAM-MD5\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH CRAM-MD5\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250 HELP\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH CRAM-MD5\r
250-SIZE 52428800\r
250-8BITMIME\r
250-ETRN\r
+250-VRFY\r
250-EXPN\r
250-PIPELINING\r
250-AUTH CRAM-MD5\r