Unable to get mail forwarded from qmail to Scalix

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Jun 07, 2006 8:46 am

Hi tchen,

the parameter you modified is certainly NOT the way to go. this is the "mail submission program" feature, i.e. the connection between the submission and actual MTA parts of sendmail.

when you say mail gets lost, what does that exactly mean? is there any information in maillog? does te message sit on the error or smerr queues? does the postmaster/error ntificatin user/normally sxadmin or the sender get any notification?

neither scalix or sendmail should ever "lose" mail with no trace....

thx,
Florian
Florian von Kurnatowski, Die Harder!

tchen
Posts: 12
Joined: Mon May 15, 2006 6:39 pm

Postby tchen » Wed Jun 07, 2006 6:55 pm

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

souperdad

Postby souperdad » Tue Oct 24, 2006 4:24 pm

For qmail you need to modify the smtproutes file (on may server it's locate in /var/qmail/control) and tell it the ipaddress that you wat it to forward email to for each specific domain. For example:

domain.com 192.168.1.1


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron