Page 1 of 1

No incoming mail routing to Scalix mail boxes

Posted: Wed Jul 04, 2007 8:41 pm
by KiwiStag
After migrating from one server to another and having everything running fine yesterday, it seems today that no e-mail is being passed from the incoming server to Scalix.

I have already checked that the lines are in sendmail.

In the maillog it shows:
Jul 5 12:38:40 mail sendmail[10017]: l650cdoE010017: from=<sender@domain.com>, size=825, class=0, nrcpts=1, msgid=<01c7be9c$e965b180$0f42637b@ikhan>, proto=ESMTP, relay=root@localhost
Jul 5 12:38:40 mail sendmail[10020]: l650ceu6010020: SYSERR(root): ldap_init/ldap_bind failed to localhost in map ldapsx: Unknown error 325
Jul 5 12:38:40 mail sendmail[10020]: l650ceu6010020: from=<sender@domain.com>, size=1042, class=0, nrcpts=1, msgid=<01c7be9c$e965b180$0f42637b@ikhan>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 5 12:38:40 mail sendmail[10020]: l650ceu6010020: to=<sxuser@mydomain.org>, delay=00:00:00, mailer=esmtp, pri=31042, dsn=4.4.3, stat=queued
Jul 5 12:38:40 mail sendmail[10017]: l650cdoE010017: to=<sxuser@mydomain.org>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30825, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l650ceu6010020 Message accepted for delivery)


However nothing turns up in the users mailbox..

help!!!!!!!

More info

Posted: Wed Jul 04, 2007 8:42 pm
by KiwiStag
The current new server is Scalix 11.1.0

Local Delivery routing wrong

Posted: Wed Jul 04, 2007 8:54 pm
by KiwiStag
It also seems that e-mail even going out gets caught.

Jul 5 12:49:21 mail sendmail[10259]: l650nL2l010259: from=root, size=829384, class=0, nrcpts=1, msgid=<200707050049.l650nL2l010259@mail.mydomain.org>, relay=root@localhost
Jul 5 12:49:21 mail sendmail[10260]: l650nLxC010260: SYSERR(root): ldap_init/ldap_bind failed to localhost in map ldapsx: Unknown error 325
Jul 5 12:49:21 mail sendmail[10260]: l650nLxC010260: from=<root@mail.mydomain.org>, size=829678, class=0, nrcpts=1, msgid=<200707050049.l650nL2l010259@mail.mydomain.org>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jul 5 12:49:21 mail sendmail[10260]: l650nLxC010260: to=<admin@otherdomain.net.nz>, delay=00:00:00, mailer=esmtp, pri=859678, dsn=4.4.3, stat=queued
Jul 5 12:49:21 mail sendmail[10259]: l650nL2l010259: to=admin@otherdomain.net.nz, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=859384, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l650nLxC010260 Message accepted for delivery)

omsendin

Posted: Wed Jul 04, 2007 9:39 pm
by KiwiStag
I had to delete the rule from sendmail.mc, restart sendmail & rerun omsendin.

If I have to edit sendmail.mc how come the lines in sendmail.cf were lost (even though running sendmail rebuilds sendmail.cf if .mc is edited - I assume that under .mc the line
MAILER(scalix)dnl
this should reinsert the comments in .cf?


(At the bottom of .mc at the moment:

MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl

MAILER(scalix)dnl

Posted: Thu Aug 09, 2007 11:23 am
by jmason1182
I know you probably have things running the way you want now... but running omsendin is for non sendmail.mc users. Every time I run make in /etc/mail to recreate the sendmail.cf file, the scalix is already in the sendmail.cf. BUT I can make a change to sendmail.cf... and then omsendin works.... so my guess is omsendin will add scalix to sendmail.cf... the SAME WAY that adding MAILER(scalix)dnl does.

Posted: Sat Aug 11, 2007 5:09 am
by chris
As above, recompiling the configuration should take care of things

Regarding the actual problem, however:

Jul 5 12:49:21 mail sendmail[10260]: l650nLxC010260: SYSERR(root): ldap_init/ldap_bind failed to localhost in map ldapsx: Unknown error 325


It sounds more like ldapmapper wasn't running, did you check that? I suspect that was the cause of the failed socket bind.

Chris