Koozali.org: home of the SME Server

Email not working

john

Email not working
« on: August 27, 2003, 11:49:07 AM »
When installing the Update 4 rpm's I get the following message after the e-smith-base rpm.


13:e-smith-base      ####################################### [ 68%]
Odd number of elements in hash assignment at /usr/lib/perl5/site_perl/esmith/db.pm line 288.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/DB/db/Record.pm line 132


When the rest of the rps finished, I did a post-upgrade and reboot, and when it restarted I am now unable to send email from outlook.
"Your server has unexpectedly terminated the connection."

The following lines appear in the smtpfront-qmail log, whenever I try to send a message.


@400000003f4c4e8d2585ef24 tcpserver: ok 2900 0:192.168.1.1:25 pc-00104:192.168.1.104::2590
@400000003f4c4e8d2a779adc smtpfront-qmail[2900]: MAIL FROM:
@400000003f4c4e8d2a84838c smtpfront-qmail[2900]: RCPT TO:
@400000003f4c4e8d2bf0582c /var/qmail/bin/qmail-queue: error while loading shared libraries: libxreg.so: cannot open shared object file: No such file or directory
@400000003f4c4e8d2d42057c tcpserver: end 2900 status 13
@400000003f4c4e8d2d424014 tcpserver: status: 0/40



I think fetchmail is also not working however everything else seems OK (printing copying files, pop)


The boot log looks OK, all services start without problem, however in the messages log there are the following lines...

Aug 27 15:29:47 mail e-smith[2609]: Running event handler: /etc/e-smith/events/password-modify/S47

proftpd-conf
Aug 27 15:29:47 mail e-smith[2609]: Odd number of elements in hash assignment at /usr/lib/perl5/

site_perl/esmith/db.pm line 288.
Aug 27 15:29:47 mail e-smith[2609]: Use of uninitialized value in substitution (s///) at /usr/lib/perl

5/site_perl/esmith/DB/db/Record.pm line 132.
Aug 27 15:29:48 mail e-smith[2609]: Odd number of elements in hash assignment at /usr/lib/perl5/

site_perl/esmith/db.pm line 288.
Aug 27 15:29:48 mail e-smith[2609]: Use of uninitialized value in substitution (s///) at /usr/lib/perl

5/site_perl/esmith/DB/db/Record.pm line 132.
Aug 27 15:29:48 mail e-smith[2609]: Odd number of elements in hash assignment at /usr/lib/perl5/

site_perl/esmith/db.pm line 288.
Aug 27 15:29:48 mail e-smith[2609]: Use of uninitialized value in substitution (s///) at /usr/lib/perl

I have also tried a full reinstall.  As soon as I run a "restore from desktop" and reboot the problem is back.


I cannot find anything in the archives about libxreg.so as mentioned in the above smtpfront-qmail log.

Does anyone have a suggestion to get this working?

Any help would be appreciated.

Charlie Brady

Re: Email not working
« Reply #1 on: August 27, 2003, 05:56:46 PM »
john wrote:

> I cannot find anything in the archives about libxreg.so as
> mentioned in the above smtpfront-qmail log.

If you have proprietary virus scanning software installed then it's probably part of that.

Charlie

john

Re: Email not working
« Reply #2 on: August 28, 2003, 04:19:53 AM »
Thanks Charlie,

I am currently switching from RAV to BitDefender.  The current config was ment to be the antivirus program free - test to see if email works.  Something must have been left behind!

I will follow this up Darryl May.

Greg Zartman

Re: Email not working
« Reply #3 on: August 28, 2003, 04:28:14 AM »
> I am currently switching from RAV to BitDefender.  The
> current config was ment to be the antivirus program free -
> test to see if email works.  Something must have been left
> behind!

You need to be careful with these as both RAV and BitDefender replace  qmail-queue with an app to route mail to the AV scanner.  If for some reason the scanner tanks or is otherwise unresponsive, incoming mail will bounce back to the sender.   FYI, the scanner will become unresponsive if you don't have a valid license.  ;-)

To get mail working again, simply replace the RAV/BitDefender version of qmail-queue with the original "qmail" version.

Regards,

Greg Zartman

john

Re: Email not working
« Reply #4 on: August 28, 2003, 04:36:00 AM »
Thanks for the suggestion Greg,

I had already tried copying the qmail-queue.orig over the qmail-queue file.

This didn't change anything.  The email worked after uninstalling RAV.  I installed BitDef and email didn't work.  Also BitDefender wasn't working.  I uninstalled BitDef - now I can't get the email working.

Can I get another copy of qmail-queue from somewhere, or can I get the system to regenerate it?

John

Greg Zartman

Re: Email not working
« Reply #5 on: August 28, 2003, 05:01:31 AM »
> This didn't change anything.  The email worked after
> uninstalling RAV.  I installed BitDef and email didn't work.
> Also BitDefender wasn't working.  I uninstalled BitDef - now
> I can't get the email working.

I had a similar problem when upgrading from SME 5.5 to SME 5.6.  The implementation of RAV and BitDefender on SME can really mess up your system if you aren't carefull...   What makes replacing qmail-queue dangerous is that if things break, even a guaranteed email service won't help you.  You'll lose all email sent to the server unless you pull it from the net.

As a side note, I'd highly recommend Servicelink over RAV/BitDefender.   I've used both and I can say that since switching to servicelink, I've had far fewer problems.   Servicelink is very much a turn-key product that is tight and well supported (I generally get a response to a support question within a couple hours of posting.)  You wouldn't be disappointed with the purchase...   E-mail me offlist if you'd like a recommendation for a servicelink dealer.  I've been very happy with mine.

What version of SME do you have.  I could email you a copy of qmail-queue.

Greg Zartman