You must enter a from address (user@domain, domain or IP).

MailWatch的Add to Whitelist/Blacklist提示错误信息如下:

You must enter a from address (user@domain, domain or IP).

解决方法:

vi +147 lists.php #在Add下一行增加“  $from = $_GET[‘entry’]; ”

change:

// Submitted
if($url_submit == ‘Add’) {
// Check input is valid

to:

// Submitted
if($url_submit == ‘Add’) {
$from = $_GET[‘entry’];
// Check input is valid