A colegue of mine has found the following with the MailFormTo Embperl
function:
According to the code, they're going to [EMAIL PROTECTED] But, I belive
that the code that is speaking SMTP to the mail server is not speaking
correct SMTP. Here is an excerpt from the mail log:
Dec 15 21:02:16 snowcrash sendmail[19829]: VAA19829:
ruleset=check_mail,
arg1=<WWW-Server>, relay=localhost [127.0.0.1], reject=553
<WWW-Server>... Domain
name required
Dec 15 21:02:16 snowcrash sendmail[19829]: VAA19829: from=<WWW-Server>,
size=0, class=0, pri=0, nrcpts=0, proto=ESMTP, relay=localhost
[127.0.0.1]
I believe that RFC82[12], et al, say that the envelope address should be
a real, replyable, mail address, such as `[EMAIL PROTECTED]'; not just
`WWW-Server'.
The offending code is:
{ $smtp->mail('WWW-Server');}
$smtp->to($to);
$ok = $smtp->data();
Can we change 'WWW-Server' to $to. That should correct the problem.
--Owen