SMTPAUTH_RESTRICT issues with port 587
Posted: 05 Jun 2015, 03:12
Hello, I've been attempting to enable the SMTPAUTH_RESTRICT option on our CPanel server.
It appears to be working for port 25, but causing authentication failure with port 587.
Following the instructions in /etc/csf/readme, When I add:
auth_advertise_hosts = ${if match_ip{$sender_host_address}{iplsearch;/etc/exim.smtpauth}{*}{}}
Authentication attempts via port 587 respond with this warning:
SMTP AUTH is required for message submission on port 587
Apparently given via this rule:
default_message_submission
# Reject unauthenticated relay on port 587
drop
condition = ${if eq{$interface_port}{587}{1}{0}}
message = SMTP AUTH is required for message submission on port 587
I have the follow options in csf.conf:
SMTPAUTH_RESTRICT = 1
CC_ALLOW_SMTPAUTH = US
and have included our localhost IP's in /etc/csf/csf.smtpauth :
127.0.0.0/8
"::1"
"::1/128"
I can send email through port 25, but not port 587. These tests were via remote email client.
Thanks for your time,
Jared
It appears to be working for port 25, but causing authentication failure with port 587.
Following the instructions in /etc/csf/readme, When I add:
auth_advertise_hosts = ${if match_ip{$sender_host_address}{iplsearch;/etc/exim.smtpauth}{*}{}}
Authentication attempts via port 587 respond with this warning:
SMTP AUTH is required for message submission on port 587
Apparently given via this rule:
default_message_submission
# Reject unauthenticated relay on port 587
drop
condition = ${if eq{$interface_port}{587}{1}{0}}
message = SMTP AUTH is required for message submission on port 587
I have the follow options in csf.conf:
SMTPAUTH_RESTRICT = 1
CC_ALLOW_SMTPAUTH = US
and have included our localhost IP's in /etc/csf/csf.smtpauth :
127.0.0.0/8
"::1"
"::1/128"
I can send email through port 25, but not port 587. These tests were via remote email client.
Thanks for your time,
Jared