mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #567] Docs: Amavisd-new & mysql & amavisd-release & modoboa amavisd plugin #539
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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