Pete Fuggle: > So it seems that > smtpd_recipient_restrictions are somehow being invoked when VRFY is used?
VRFY is pretty useless by now because many sites disable it. Postfix invokes smtpd_recipient_restrictions to make the reply similar to that of RCPT TO (no point to have VRFY reply with 2xx when we already know that RCPT TO would reject the same address). However, that similarity broke long ago with the introduction of smtpd_delay_reject=yes, and with client/helo/sender restrictions in smtpd_recipient_restrictions. > My understanding is that VRFY > should respond with; 250, 251 or 252 only. That understanding is not supported by RFC 821, 2821, ... Wietse > So apart from wanting to understand what is going on, my question is whether > or not I should just disable VRFY, and what are any pitfalls of doing so? I > was content to have it monotonously return 252 but if it is broken and I > don't need it then I will turn it off. > > Cheers, > > Pete