[GH-ISSUE #519] Amavisd config does not allow for separate lookup and storage databases #498

Closed
opened 2026-02-27 11:12:04 +03:00 by kerem · 1 comment
Owner

Originally created by @patsoffice on GitHub (Feb 1, 2014).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/519

Originally assigned to: @tonioo on GitHub.

The modoboa amavisd config does not allow for separate databases in the same way that amavisd does (from http://www.ijs.si/software/amavisd/README.sql.txt):

  @lookup_sql_dsn =
  ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306', 'user1', 'passwd1'],
    ['DBI:mysql:database=mail;host=host2', 'username2', 'password2'],
    ['DBI:Pg:database=mail;host=host1', 'amavis', '']
    ["DBI:SQLite:dbname=$MYHOME/sql/mail_prefs.sqlite", '', ''] );

  @storage_sql_dsn = @lookup_sql_dsn;  # none, same, or separate database

I don't know if this is something that should be changed, but at the least it should be called out in the docs.

Originally created by @patsoffice on GitHub (Feb 1, 2014). Original GitHub issue: https://github.com/modoboa/modoboa/issues/519 Originally assigned to: @tonioo on GitHub. The modoboa amavisd config does not allow for separate databases in the same way that amavisd does (from http://www.ijs.si/software/amavisd/README.sql.txt): ``` @lookup_sql_dsn = ( ['DBI:mysql:database=mail;host=127.0.0.1;port=3306', 'user1', 'passwd1'], ['DBI:mysql:database=mail;host=host2', 'username2', 'password2'], ['DBI:Pg:database=mail;host=host1', 'amavis', ''] ["DBI:SQLite:dbname=$MYHOME/sql/mail_prefs.sqlite", '', ''] ); @storage_sql_dsn = @lookup_sql_dsn; # none, same, or separate database ``` I don't know if this is something that should be changed, but at the least it should be called out in the docs.
kerem 2026-02-27 11:12:04 +03:00
Author
Owner

@tonioo commented on GitHub (Feb 2, 2014):

You're right, modoboa does not support multiple amavis databases yet. I'll mention it into the documentation.

<!-- gh-comment-id:33896910 --> @tonioo commented on GitHub (Feb 2, 2014): You're right, modoboa does not support multiple amavis databases yet. I'll mention it into the documentation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#498
No description provided.