Subject: | Can't validate MX so doesn't relay anywhere |
Line no. 28 in Net::SMTP::Server::Relay is the following:
my $domain = /@(.*)/;
This doesn't evaluate correctly, and thus no relay is actually performed
in the subroutine "_relay".
My suggestion is to change it with these lines, just for example:
if ($target =~ /@(.*)/) { $domain = $1; }
else { next; }
However, I assume there's a regular expression for hostname parsing.
What if there is no use written there? This needs to be tested more.