Subject: | bug in example program: checking the recipient address |
IMO there is a bug in the example program checking for the recipient
address:
-----------------
elsif(grep $domain eq $_, @local_domains)
{
return(0, 554, "$recipient: Recipient address rejected: Rela
+y access denied");
}
-----------------
should be something like
-----------------
elsif(not(grep $domain eq $_, @local_domains))
{
return(0, 554, "$recipient: Recipient address rejected: Rela
+y access denied");
}
-----------------
(Note the "not" in the first line of the source.)
Subject: | bug.diff |
32c32
< elsif(grep $domain eq $_, @local_domains)
---
> elsif(not(grep $domain eq $_, @local_domains))