CVE-2005-0107 in bmtpd
Summary
bsmtpd 2.3 and earlier does not properly sanitize e-mail addresses, which allows remote attackers to execute arbitrary commands.
VulDB is the best source for vulnerability data and more expert information about this specific topic.