[GH-ISSUE #567] Docs: Amavisd-new & mysql & amavisd-release & modoboa amavisd plugin #539

Closed
opened 2026-02-27 11:12:17 +03:00 by kerem · 0 comments
Owner

Originally created by @piwats on GitHub (Jun 11, 2014).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/567

Hello,

unfortunately the documentation to modoboa don't describe exactly how amavisd has to be set up in order to run the modoboa amavisd plugin:

Here is an excerpt from http://blog.jens-wurster.de/2014/04/modoboa-und-amavis/

1.) Set up amavis db according to amavisd docs

2.) MySQL example:

in amavisd.conf add/modify: caution replace [pass] with the password.

$inet_socket_port = [10024, 9998];

@lookup_sql_dsn =
( ['DBI:mysql:database=amavis;host=127.0.0.1;port=3306', 'amavis', '[pass]'] );

@storage_sql_dsn =
( ['DBI:mysql:database=amavis;host=127.0.0.1;port=3306', 'amavis', '[pass]'] );

$virus_quarantine_method = 'sql:';
$spam_quarantine_method = 'sql:';
$banned_files_quarantine_method = 'sql:';
$bad_header_quarantine_method = 'sql:';

$virus_quarantine_to = 'virus-quarantine';
$banned_quarantine_to = 'banned-quarantine';
$bad_header_quarantine_to = 'bad-header-quarantine';
$spam_quarantine_to = 'spam-quarantine';

$interface_policy{'9998'} = 'AM.PDP-INET';

$policy_bank{'AM.PDP-INET'} = {
protocol => 'AM.PDP',
inet_acl => [qw( 127.0.0.1 [::1] )],

auth_required_release => 0,

};

3.) set modoboa accordnig those settings. If you prefer to use the sock, check the access permissions of the amavisd.sock (that one I haven't figured out yet how)

Kind Regards,
-Paul

Originally created by @piwats on GitHub (Jun 11, 2014). Original GitHub issue: https://github.com/modoboa/modoboa/issues/567 Hello, unfortunately the documentation to modoboa don't describe exactly how amavisd has to be set up in order to run the modoboa amavisd plugin: Here is an excerpt from http://blog.jens-wurster.de/2014/04/modoboa-und-amavis/ 1.) Set up amavis db according to amavisd docs 2.) MySQL example: in amavisd.conf add/modify: caution replace [pass] with the password. $inet_socket_port = [10024, 9998]; @lookup_sql_dsn = ( ['DBI:mysql:database=amavis;host=127.0.0.1;port=3306', 'amavis', '[pass]'] ); @storage_sql_dsn = ( ['DBI:mysql:database=amavis;host=127.0.0.1;port=3306', 'amavis', '[pass]'] ); $virus_quarantine_method = 'sql:'; $spam_quarantine_method = 'sql:'; $banned_files_quarantine_method = 'sql:'; $bad_header_quarantine_method = 'sql:'; $virus_quarantine_to = 'virus-quarantine'; $banned_quarantine_to = 'banned-quarantine'; $bad_header_quarantine_to = 'bad-header-quarantine'; $spam_quarantine_to = 'spam-quarantine'; $interface_policy{'9998'} = 'AM.PDP-INET'; $policy_bank{'AM.PDP-INET'} = { protocol => 'AM.PDP', inet_acl => [qw( 127.0.0.1 [::1] )], # auth_required_release => 0, }; 3.) set modoboa accordnig those settings. If you prefer to use the sock, check the access permissions of the amavisd.sock (that one I haven't figured out yet how) Kind Regards, -Paul
kerem 2026-02-27 11:12:17 +03:00
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#539
No description provided.