Postby techsharp » Mon Jan 14, 2008 9:49 am
Valerion-
Thank you.
OK right now my sendmail.cf file is setup as:
O DaemonPortOptions=Port=smtp, Addr=127.0.0.1, Name=MTA
O DaemonPortOptions=Port=smtps, Addr=127.0.0.1, Name=TLSMTA, M=s
And my smtp.cfg is:
SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .blueslate.net
RELAY accept 172.20.2.11
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
# Uncomment the following lines to enable the Submission and LMTP listeners
#SUBMIT=ON
#LMTP=ON
# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587
[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL
# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix
Now of course this is before the changes you have said to make. Now if I go and make the sendmail.cf file w/ no localhost and make the changes to the smtp.cfg and webmail file I get the "did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA".
If I look now at the maillog now it reads this:
Jan 14 08:45:33 mars sendmail[30775]: m0EDj8Qb030775: to=<user@blueslate.net>, delay=00:00:25, xdelay=00:00:10, mailer=relay, pri=32845, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m0EDjNDY030799 Message accepted for delivery)
As we can see relay is 127.0.0.1 which is fine because it is in the sendmail.cf file.
When I change it how come it gives me the did not issue error?
My access file states:
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:mars.blueslate.net RELAY
Mars.blueslate.net is in there. - So the only hurdle now is to get by that error message - I mean it was happening literally every 5 seconds - so which file do I need to change so sendmail can see this is as OK?
Sorry for the long post - and thanks once again!