I changed that submit.mc stuff back.
before I saw your post here, I changed another sendmail.mc entry,
which I'm doubting too, but just wanted have a try. I added this line to sendmail.mc:
(let me don't edit away the domain name any more)
Cwlocalhost mail.openclovis.com
Now the mail from
chen@mail.openclovis.com (local linux user) to
tchen@openclovis.com (the scalix node) does go through. but I still have another problem of unix aliases, such as mailman list, here is the log:
Code: Select all
Jun 7 14:46:42 mail sendmail[2187]: k57Lkgx2002185: to=<testlist@openclovis.com>, ctladdr=<chen@mail.openclovis.com> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120282, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k57LkgnU002188 Message accepted for delivery)
Jun 7 14:46:44 mail sendmail[2193]: k57LkgnU002188: to=<testlist@openclovis.com>, ctladdr=<chen@mail.openclovis.com> (500/500), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=120463, relay=openclovis.com. [68.178.203.232], dsn=5.1.1, stat=User unknown
here
testlist@openclovis.com is a mailman list, I have it stored in /etc/aliases.mailman,
and use newaliases to recognize it.
Another reason I added that entry is because before if I try sendmail -bv tchen
it gives me
Code: Select all
tchen... deliverable: mailer local, user tchen
Now I can see
Code: Select all
tchen... deliverable: mailer scalix, host mail, user tchen
I wanted scalix to check the address first, if no user, then hand it to local aliases...
My understanding here is, after scalix see there is no such user in scalix, it didn't hand over to sendmail to check the system aliases, instead, it rejected back right away...
Is there anything wrong in my smtpd.cfg?
LISTEN_PORT=587,10025,25
LISTEN=mail.openclovis.com:25,mail.openclovis.com:587,mail.openclovis.com:10025
DOMAIN_NAME=openclovis.com
EXTENSIONS=AUTH,DSN,8BITMIME
GREETING=Openclovis
DEBUG_LOG=TRUE
AUTH_SUCCESS accept ALL
RELAY accept 127.0.0.1
RELAY accept .openclovis.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 *#*@*
Any suggestions? Any other log you need?
Thanks much!
tchen