I've got a perl script (albeit crude and unsightly) which parses qmail
logs to determine the distribution of MTAs based on the SMTP 250
response.
The script uses standard perlre to identify a particular MTA.
What I'm doing with this post is to solicit your help in creating a
list of definitive patterns that identify particular MTAs.
If you respond, I have a particular format I'd like to see, namely:
MTA version pattern
Here's a sample to give you an idea:
qmail all _250_ok_\d+_qp_\d+
sendmail 8.11 _250_2\.0\.0_\w+_Message_accepted_for_delivery
sendmail all _250_[A-Z][A-Z][A-Z]\d+_Message_accepted_for_delivery
hotmail any _250_Requested_mail_action_okay,_completed
unknown any .*
Thus all versions of qmail are identified by a pattern that matches
_250_ok_\d+_qp_\d+ and version 8.11 of sendmail is identified
primarily by the 2.0.0 response.
So, for those of you familiar enough with perlre and who have access
to an identifiable MTA, can you post the MTA name and version, the 250
response and ideally a pattern that uniquely matches it?
Even if you don't know perlre, just the definitive 250 response and
the associated MTA is very welcome. In all cases, please include the
real IP address so that I can probe it if necessary.
Ultimately I'll make the script and patterns public so that anyone can
analyze their logs and hopefully make the results generally available.
Regards.
PS. I'm a perl weenie, so be gentle...