Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14118

What is the purpose rows in "/opt/iRedAPD-1.4.4/settings.py" (sql...)?

$
0
0

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 7.8
====

What is the purpose rows in "/opt/iRedAPD-1.4.4/settings.py":
  # For SQL (MySQL/MariaDB/PostgreSQL) backends, used to query mail accounts.
  sql_server = "127.0.0.1"
  sql_port = "3306"
  sql_db = "vmail"
  sql_user = "vmail"
  sql_password = "2DcEsdsdnW6DDsHVNkIw3HM8kvBpXS"

  # For Amavisd policy lookup
  amavisd_db_server = "127.0.0.1"
  amavisd_db_port = "3306"
  amavisd_db_name = "amavisd"
  amavisd_db_user = "amavisd"
  amavisd_db_password = "9vPBucsdsdsdcMfDDDSEttSYweweweAOLwn"

MySQL Database amavisd: in table policy is column "message_size_limit".
I set in "iRedAdmin-Pro v1.9.2 (MySQL)" Domain and Acconts / mydomain.com / Spam Policy / Max size of single incoming email on: 13300 bytes.
In column message_size_limit is changes on 13300 bytes.
It is right. But...

I remove all rows amavisd and sql from settings.py. I am restart service iredapd and server.
Why change works still "Max size of single incoming email" in iRedAdmin-Pro (change value in table Policy too)?

In /var/log/iredapd.log no problem too:
2015-04-29 23:33:46 INFO Starting iRedAPD (version: 1.4.4, backend: mysql), listening on 127.0.0.1:7777.
2015-04-29 23:33:46 INFO Loading plugin: reject_null_sender
2015-04-29 23:33:46 INFO Loading plugin: amavisd_message_size_limit
2015-04-29 23:33:46 INFO Loading plugin: amavisd_wblist
2015-04-29 23:33:46 INFO Loading plugin: sql_alias_access_policy


Viewing all articles
Browse latest Browse all 14118

Trending Articles