multiple sendmail-enable entries in config_tbl

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

posbis
Posts: 17
Joined: Thu May 28, 2009 8:06 am

multiple sendmail-enable entries in config_tbl

Post by posbis »

Hi.

I had an issue with our OpenEMM sending emails by MX record instead of the configured Smart Relay ($HOME/conf/smart_relay).
So I reconfigured it using the follwoing commands:

openemm@annaka.ins: ./bin/openemm.sh stop

Checked the file ./conf/smart_relay
It holds the correct SMTP relay without username/password as we allow the OpenEmm System to relay without authentication.

openemm@annaka.ins: ./bin/sendmail-disable.sh
openemm@annaka.ins: ./bin/openemm.sh start

After sending a test newsletter it seems that OpenEMM no longer tries to use MX records.

I analysed the Phyton script smenable.py and found the table where OpenEmm stores this information:

Table: config_tbl

To my surprise I found multiple entries:

Code: Select all

class     classid   name   value
'system', '0', 'sendmail-enable', 'False'
'system', '0', 'sendmail-enable', 'False'
'linkchecker', '0', 'linktimeout', '20000'
'linkchecker', '0', 'threadcount', '20'
'system', '0', 'sendmail-enable', 'False'
'system', '0', 'sendmail-enable', 'False'
'system', '0', 'sendmail-enable', 'False'
'system', '0', 'sendmail-enable', 'False'
Is that correct or is it a bug ? If it is a bug, can I safely delete all duplicate rows and leave only one entry ?

Regards
Oliver
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: multiple sendmail-enable entries in config_tbl

Post by maschoff »

You may safely delete any duplicate entries.
OpenEMM Maintainer
posbis
Posts: 17
Joined: Thu May 28, 2009 8:06 am

Re: multiple sendmail-enable entries in config_tbl

Post by posbis »

Thanks a lot for the quick answer.

Regards,
Oliver
Post Reply