Hi, penpal requires sql logging with @storage_sql_dsn, which I don't see in your configuration.
Greetings Bernd > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:amavis-user- > [EMAIL PROTECTED] Im Auftrag von Christian Roessner > Gesendet: Mittwoch, 6. August 2008 05:43 > An: amavis-user@lists.sourceforge.net > Betreff: [AMaViS-user] pen pals are ignored > > Hi, > > I am not quiet sure, if I understood pen pals. For me it means: > > I send an email outgoing to [EMAIL PROTECTED] and if this address is > answering in a short period (7d), it will get a bonus score. So if the > sender would had become 3.5 score points in normal situations, it might > be lowered by the value of $penpals_bonus_score. > > Is that right so far? > > So I have the following in my Ubuntu Hardy 50-users file, showing all > settings here and not just the penpals-part (maybe something conflicts > the settings): > > ---------------------------------------------------- > use strict; > > # > # Place your configuration directives here. They will override those > in > # earlier files. > # > # See /usr/share/doc/amavisd-new/ for documentation and examples of > # the directives you can use in this file > # > > $log_level = 2; # Testing: pen pals see below > > $max_servers = 5; # num of pre-forked children (2..15 is > common), -m > $max_requests = 20; > $daemon_user = 'amavis'; # (no default; customary: vscan or > amavis), -u > $daemon_group = 'amavis'; # (no default; customary: vscan or > amavis), -g > > $myhostname = 'mx1.domu1.roessner-net.de'; > $mydomain = 'domu1.roessner-net.de'; > > $inet_socket_port = [10024,10026]; # listen on two ports > > $forward_method = 'smtp:[127.0.0.1]:10025'; # MTA with non-signing > service > $notify_method = 'smtp:[127.0.0.1]:10027'; # MTA with signing service > > # switch policy bank to 'ORIGINATING' for mail received on port 10026: > $interface_policy{'10026'} = 'ORIGINATING'; > > $policy_bank{'ORIGINATING'} = { # mail originating from our users > originating => 1, # indicates our client, introduced in amavisd-new- > 2.5.0 > # > # force MTA to convert mail to 7-bit before DKIM signing > # to avoid later conversions which could destroy signature: > smtpd_discard_ehlo_keywords => ['8BITMIME'], > # > # forward to a smtpd service providing DKIM signing service: > forward_method => 'smtp:[127.0.0.1]:10027', > # > # other special treatment of locally originating mail, e.g.: > spam_admin_maps => ["[EMAIL PROTECTED]"], # warn of spam from us > virus_admin_maps => ["[EMAIL PROTECTED]"], > banned_filename_maps => ['ALT-RULES'], # more relaxed rules > spam_quarantine_cutoff_level_maps => undef, # quarantine all spam > spam_dsn_cutoff_level_maps => undef, > spam_dsn_cutoff_level_bysender_maps => # bounce to local senders only > [ { lc(".$mydomain") => undef, '.' => 15 } ], > }; > > $MYHOME = '/var/lib/amavis'; > > $child_timeout = 5*60; # abort child if it does not complete its > processing in > # approximately n seconds (default: 8*60 > seconds) > > $remove_existing_x_scanned_headers = 0; > $remove_existing_spam_headers = 0; > $allow_fixing_improper_header_folding = 0; > > $enable_ldap = 1; > $default_ldap = { > hostname => [ 'ldapi://%2Fvar%2Frun%2Fslapd%2Fldapi/' ], > timeout => 120, > tls => 0, > base => '********,dc=roessner-net,dc=de', # just hidden > bind_dn => '********,dc=roessner-net,dc=de', > bind_password => '********', > query_filter => '(mail=%m)', > }; > > # LDAP attribute: amavisLocal (TRUE/FALSE) > # @local_domains_maps = > read_hash('/etc/postfix/maps/virtual_mailbox_domains'); > # @local_domains_maps = ( ["."] ); > > $final_spam_destiny = D_PASS; > > $undecipherable_subject_tag = '[UNCHECKED] '; # undef disables it > > $warnbannedsender = 1; # (defaults to false (undef)) > $warnvirusrecip = 1; > > $virus_quarantine_method = 'local:virus/%m.gz'; > > $virus_check_negative_ttl = 2*60; # time to remember that mail was not > infected > $virus_check_positive_ttl = 30*60; # time to remember that mail was > infected > $spam_check_negative_ttl = 30*60; # time to remember that mail was not > spam > $spam_check_positive_ttl = 30*60; # time to remember that mail was > spam > > # SpamAssassin settings > $sa_tag_level_deflt = undef; > $sa_tag2_level_deflt = 3.6; > $sa_kill_level_deflt = 3.6; > $sa_dsn_cutoff_level = undef; > $sa_spam_subject_tag = undef; > $sa_auto_whitelist = 1; > $penpals_bonus_score = 0.5; # (positive) score by which spam > score is lowered > # when sender is known to have > previously received mail from our > # local user from this mail > system; zero or undef disables penpals > # lookups in SQL; default: undef > $penpals_threshold_low = undef; # TESTING > $penpals_threshold_high = undef; # TESTING > $sa_spam_level_char = undef; # char for X-Spam-Level bar, > defaults to '*'; > # undef or empty disables > inserting X-Spam-Level > > $allowed_added_header_fields{lc('X-Spam-Flag')} = 0; > $allowed_added_header_fields{lc('X-Spam-Score')} = 0; > > $banned_filename_re = new_RE( > qr'\.[^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i, > qr'\{[0-9a-z]{4,}(-[0-9a-z]{4,}){0,7}\}?'i, # Windows Class ID ext. - > CLSID) > qr'^application/x-msdownload$'i, # block these MIME types > qr'^application/x-msdos-program$'i, > qr'^application/hta$'i, > [ qr'^\.(Z|gz|bz2)$' => 0 ], # allow any in Unix- > compressed > [ qr'^\.(rpm|cpio|tar)$' => 0 ], # allow any in Unix-type > archives > [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow any within such > archives > > qr'.\.(ade|adp|app|bas|bat|chm|cmd|com|cpl|crt|emf|exe|fxp|grp|hlp|hta| > > inf|ins|isp|js|jse|lnk|mda|mdb|mde|mdw|mdt|mdz|msc|msi|msp|mst| > ops|pcd|pif|prg|reg|scr|sct|shb|shs|vb|vbe|vbs| > wmf|wsc|wsf|wsh)$'ix, # banned ext - long > qr'^\.(exe-ms)$', # banned file(1) types > ); > > read_l10n_templates('de_DE', '/etc/amavis'); > > @bypass_virus_checks_maps = ( > %bypass_virus_checks, @bypass_virus_checks_acl, > \$bypass_virus_checks_re); > > @bypass_spam_checks_maps = ( > %bypass_spam_checks, @bypass_spam_checks_acl, > \$bypass_spam_checks_re); > > #------------ Do not modify anything below this line ------------- > 1; # insure a defined return > ---------------------------------------------------- > > I have searched for penpals entries in the logs, but could not see > anything. And the score is untouched. > > I hope, I do not ask too stupied questions here. But I really could not > find answers in the web and I would like such a cool feature ;-) > > Thanks for your answers in advance > > Christian > > -- > Roessner Network Solutions (R.N.S.) > Licher Str. 19a, 35394 Gießen > Telefon: +49 641 5879091, Mobil: +49 171 3611230 > USt-IdNr.: DE225643613 > > URL: http://www.roessner-net.com/ PGP: > http://www.roessner-net.com/0x6B929997.asc > > ----------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/