Page 1 of 1

Sendmail will not route mail to Scalix anymore

Posted: Thu Jun 14, 2007 8:20 pm
by andrewbarbara_au
Hi All,

I am not sure if this has been resolved before, i can not find anything

On a Scalix 11 server i have it set up with
SMTPFILTER=TRUE
in the smtpd.cfg so it will route all email through Sendmail and there i have a Milter running Kaspersky anti Spam.

All has been running fine untill the other day when this error showd up...

SERIOUS ERROR LDAP Daemon (LDAP Listener ) 06.13.07 16:53:31
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 2928
Procedure trace follows:


SERIOUS ERROR LDAP Daemon (LDAP Listener ) 06.13.07 16:53:31
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x95fee6]
/opt/scalix/lib/libom_er.so[0x9601e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x96038f]
/lib/tls/libpthread.so.0[0x86e898]
/lib/tls/libpthread.so.0[0x868371]
/lib/tls/libc.so.6(__clone+0x5e)[0x1dcffe]

And this in the maillog...
SYSERR(root): ldap_init/ldap_bind failed to localhost in map ldapsx: Unknown error 325

I rebooted the server and the error went away in the maillog but it still will not route email through to Scalix!!

I have checked that all the Salix settings are OK and correct in the sendmail.cf
I have removed the Milter settings to check if they were interfering.

The only way i can get mail to work is to not use sendmail!


Thanks

Andrew Barbara

Posted: Fri Jun 15, 2007 1:02 am
by ScalixSupport
Hi!

This could be related to:
http://bugzilla.scalix.com/show_bug.cgi?id=14709
What Scalix version you use. Check the permissions for scalix files using the command
"omcheck -s -d", to actually fix the problem if any of permissions, you should run
omcheck to generate a shell script - on standard output - that, when run, fixes the
problem for permission issues.

Code: Select all

omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh

You might want to review what the script is planning to do before actually executing
the second command.

This issue normally occurs due to permission problems and that is why it seems the
ldapmapper tends to crash.

I would suggest you all to run the ommaint script, then try restarting ldapmapper and
sendmail. Let see if this resolves the issue.

Find ommaint at:
http://www.scalix.com/wiki/index.php?ti ... th_ommaint
a brief description and its execution procedure has been explained in this page itself.

Steps to help resolve the issue:
1. Run ommaint from cron, wait until LDAP daemon is running,
2. Start ldapmapper using "service ldapmapper start", and
3. Restart sendmail using, "service sendmail restart"

Make sure you keep a track of the date and time. Please update me if the issue persists
or are they gone.

Thanks,
Subir

Posted: Fri Jun 15, 2007 1:54 am
by andrewbarbara_au
HI,

I have run the omcheck as you suggested and there were several files that were not the correct permisisons, but that has not seemed to help my problem.

I have also run the ommaint script with no benifit!

Could it be anything else?


Regards

Andrew

Posted: Mon Jun 18, 2007 2:51 pm
by KevinAnderson
run "omsendin" from the command line, and it'll fix you up.

Thanks
Kev.