Thanks for the reply Valerion!
I'm using the Scalix SMTP Relay. Sendmail is only for outgoing mail.
Scalix Server 11.1.0.10849
An extract of my smtpd.cfg (changed real hostname to hostfqdn.com) :
Code: Select all
...
SMTPFILTER=TRUE
# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept 192.168.1.0
RELAY accept .hostfqdn.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 *#*@*
SUBMIT Log_accept 196.
# Reject and log submission from addresses listed in bl.spamcop.net
SUBMIT Log_reject DNSBL,sbl-xbl.spamhaus.org,ALL
SUBMIT Log_reject DNSBL,bl.spamcop.net,ALL
SUBMIT Log_reject DNSBL,dnsbl.sorbs.net,ALL
SUBMIT Log_reject DNSBL,l2.spews.dnsbl.sorbs.net,ALL
# 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
....
With this config if you try to connect to port 25 from a dial-up connection it will just give you the 500 Error and subsequently disconnect without allowing the client to give any input. This happens, of course, because of the 'blacklisted' dynamic IP's on the DNSBL's.
You will note that I added a "SUBMIT Log_accept 196." line to temporarily allow clients from 196 addresses to relay after auth. Thus, with this setup, if you are coming from a dynamic IP which doesn't start with 196 then you will not be given the opportunity to authenticate. Any ideas??
Please also let me know if you require any other info or a larger portion of the smtpd.cfg file.
Cheers!