Page 1 of 1

multiple sendmail-enable entries in config_tbl

Posted: Thu Aug 22, 2013 8:57 am
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

Re: multiple sendmail-enable entries in config_tbl

Posted: Thu Aug 22, 2013 5:23 pm
by maschoff
You may safely delete any duplicate entries.

Re: multiple sendmail-enable entries in config_tbl

Posted: Fri Aug 23, 2013 8:03 am
by posbis
Thanks a lot for the quick answer.

Regards,
Oliver