Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
amavisd-new
> amavisd-new-conf-qmail.patchold
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File amavisd-new-conf-qmail.patchold of Package amavisd-new (Revision 24)
Currently displaying revision
24
,
show latest
--- amavisd.conf.orig 2009-01-18 13:49:48.000000000 +0100 +++ amavisd.conf 2009-01-18 13:51:34.000000000 +0100 @@ -58,8 +58,12 @@ $unix_socketname = "$MYHOME/amavisd.sock"; # amavisd-release or amavis-milter # option(s) -p overrides $inet_socket_port and $unix_socketname -$protocol = 'QMQPqq'; # suggested protocol to use on all input sockets -$inet_socket_port = 10628; # accept connections on this local TCP port(s) +$protocol = 'QMQPqq'; # suggested protocol to use on all input sockets +$inet_socket_port = [10024, 10628]; # accept connections on this local TCP port(s) +#$inet_qmqpqq_port = 10628; # accept QMQPqq on this local TCP port +#$inet_smtp_port = 10024; # accept SMTP/LMTP on this local TCP port +$inet_socket_bind = '127.10.10.10'; # limit socket bind to loopback interface +@inet_acl = qw( 127.10.10.10 ); # allow SMTP access only from localhost IP $policy_bank{'MYNETS'} = { # mail originating from @mynetworks originating => 1, # is true in MYNETS by default, but let's make it explicit @@ -94,9 +98,9 @@ auth_required_release => 0, # do not require secret_id for amavisd-release }; -$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level -$sa_tag2_level_deflt = 6.2; # add 'spam detected' headers at that level -$sa_kill_level_deflt = 6.9; # triggers spam evasive actions (e.g. blocks mail) +$sa_tag_level_deflt = undef; # add spam info headers if at, or above that level +$sa_tag2_level_deflt = 5.0; # add 'spam detected' headers at that level +$sa_kill_level_deflt = 99; # triggers spam evasive actions (e.g. blocks mail) $sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent $sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid From # $sa_quarantine_cutoff_level = 25; # spam level beyond which quarantine is off @@ -149,16 +153,16 @@ # OTHER MORE COMMON SETTINGS (defaults may suffice): -# $myhostname = 'host.example.com'; # must be a fully-qualified domain name! +$myhostname = 'host.example.com'; # must be a fully-qualified domain name! -# $notify_method = 'smtp:[127.0.0.1]:10025'; -# $forward_method = 'smtp:[127.0.0.1]:10025'; # set to undef with milter! +$notify_method = 'smtp:127.10.10.10:10025'; +$forward_method = 'smtp:127.10.10.10:10025'; # set to undef with milter! -# $final_virus_destiny = D_DISCARD; -# $final_banned_destiny = D_BOUNCE; -# $final_spam_destiny = D_BOUNCE; -# $final_bad_header_destiny = D_PASS; -# $bad_header_quarantine_method = undef; +$final_virus_destiny = D_DISCARD; +$final_banned_destiny = D_BOUNCE; +$final_spam_destiny = D_PASS; +$final_bad_header_destiny = D_PASS; +$bad_header_quarantine_method = undef; # $os_fingerprint_method = 'p0f:*:2345'; # to query p0f-analyzer.pl @@ -360,15 +364,15 @@ # ['Sophos SAVI', \&sophos_savi ], # ### http://www.clamav.net/ -# ['ClamAV-clamd', -# \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"], -# qr/\bOK$/, qr/\bFOUND$/, -# qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], -# # NOTE: run clamd under the same user as amavisd, or run it under its own -# # uid such as clamav, add user clamav to the amavis group, and then add -# # AllowSupplementaryGroups to clamd.conf; -# # NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in -# # this entry; when running chrooted one may prefer socket "$MYHOME/clamd". +['ClamAV-clamd', + \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"], + qr/\bOK$/, qr/\bFOUND$/, + qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], +# NOTE: run clamd under the same user as amavisd, or run it under its own +# uid such as clamav, add user clamav to the amavis group, and then add +# AllowSupplementaryGroups to clamd.conf; +# NOTE: match socket name (LocalSocket) in clamav.conf to the socket name in +# this entry; when running chrooted one may prefer socket "$MYHOME/clamd". # ### http://www.clamav.net/ and CPAN (memory-hungry! clamd is preferred) # # note that Mail::ClamAV requires perl to be build with threading!