multiple sendmail-enable entries in config_tbl
Posted: Thu Aug 22, 2013 8:57 am
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:
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
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'
Regards
Oliver