1

Topic: plugin - sql_alias_access_policy

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.8.1 (MySQL)
- Linux/BSD distribution name and version: CentOS 6.2
- Any related log? Log is helpful for troubleshooting.
====

Hello everyone !
Got a error in /var/log/iredapd.log

2012-07-04 11:01:59 DEBUG Apply plugin (sql_alias_access_policy).
2012-07-04 11:01:59 DEBUG Error while apply plugin (<module 'sql_alias_access_policy' from '/opt/iredapd/src/plugins/sql_alias_access_policy.pyc'>): SQLModeler instance has no attribute 'cursor'
2012-07-04 11:01:59 DEBUG Final action: None.

I've tried to edit /opt/iredapd/etc/iredapd.ini and remove the line:
plugins = sql_alias_access_policy

But without this line ... it's not possible to send emails !
Any ideas would be appreciate about this plugin error.

Thank's !

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: plugin - sql_alias_access_policy

digitalbit wrote:

I've tried to edit /opt/iredapd/etc/iredapd.ini and remove the line:
plugins = sql_alias_access_policy

Please do NOT remove it. If you want to disable iRedAPD, please remove 'check_policy_service inet:127.0.0.1:7777' in Postfix main.cf instead.

Does restarting iRedAPD service work for you?

3

Re: plugin - sql_alias_access_policy

First ... thank you always for your support ZhangHuangbin ! smile

Did already a restart to the iredapd service ...
Clean the /var/log/iredapd.log, and then I did a test sending a hello world email inside the domain ... everything works perfect, but the error "Error while apply plugin..." continue !

Any other ideas are always welcome smile
Anyone came up with this error in iredapd ?

Thanks !

4

Re: plugin - sql_alias_access_policy

SOLVED ! smile

in file /opt/iredapd/etc/iredapd.ini

the section [sql] I had a copy paste from some where else .... and the "host = 127.0.0.1" was wrong !! It must be  "server = 127.0.0.1"

SERVER != HOST

keep your eyes open wink

thanks any way !