Recently the SMTP relay has started rejecting emails being sent outbound.
I checked the smtpd.cfg file, and it hasn't changed.
I decided to add in a quick line of RELAY Accept ALL. When I did that, the email was sent through. I then removed that line, and telneted into the smtp relay from another machine. When I did this, the opening greeting line read as follows:
220 fedora ESMTP Scalix SMTP Relay 10.0.0.175; Thu, 18 May 2006 08:51:27 -0400 (
The IP listed there, is neither our Internal IP for the machine, nor the external one that is linked to via our DNS entries. How do I make it so that this IP is correc? We suspect that the relay no longer knows where it is, and thus is failing all the emails based upon our current ruleset.
smtpd.cfg
Code: Select all
EXTENSIONS=AUTH,DSN,8BITMIME
SMTPFILTER=TRUE
RELAY Log_Accept 127.0.0.1
RELAY Log_Accept 172.16.1.0/172.16.1.255
RELAY Log_Accept .ourdomain.com
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
hosts file
Code: Select all
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost
172.16.1.67 fedora fedora.ourdomain.com
/etc/mail/local-host-names
Code: Select all
# local-host-names - include all aliases for your machine here.
ourdomain.com
fedora.ourdomain.com
[our external ip]
Thanks.
-Rich-