Jake Vickers wrote:
Ed Morrison wrote:
Hi All:
I am trying to setup my toaster to allow relaying from a Sendmail
internal server. I can send email out to an external address like
[EMAIL PROTECTED] but for my internal addresses I receive an
error of unknown user (see below). Here are my configs. Anyone see
what I am doing wrong?
Toaster:
TCP.SMTP
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private"
:allow,BADMIMETYPE="",SENDER_NOCHECK="1",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan"
#:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",DKVERIFY="DEGIJKfh",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKSIGN="/var/qmail/control/domainkeys/%/private",NOP0FCHECK="1"
10.0.2.:allow,RELAYCLIENT="",RBLSMTPD="",SENDER_NOCHECK="1",NOP0FCHECK="1"
Linux in general uses the match-bail methodology, so it process the
tcp.smtp file in this exact order:
does a rule match the 127.* IP address?
does a rule match a *.*.*.* IP address? (obviously everything does....)
does a rule match 10.0.2.*?
So your 10.0.2. rule is never even being looked at. Move it to the
top of the list and recompile the cdb and see if that resolves it (no,
I didn't really even look at the rest of the message, so this may not
be a total fix for you).
Moving the line to the top of the file made it so that I could not send
an email to outside the domain also. Thinking the problem lies with the
Sendmail config.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]