Hi Nigel, the logs regarding amavis from mail.log when sending an email are as follow:
-------------------------------/var/log/mail.log------------------------------------------------- Nov 6 20:48:31 server1 amavis[2312]: No decoder for .zoo tried: zoo Nov 6 20:48:31 server1 amavis[2312]: No decoder for .lha Nov 6 20:48:31 server1 amavis[2312]: No decoder for .doc tried: ripole Nov 6 20:48:31 server1 amavis[2312]: Found decoder for .cab at /usr/bin/cabextract Nov 6 20:48:31 server1 amavis[2312]: No decoder for .tnef Nov 6 20:48:31 server1 amavis[2312]: Internal decoder for .tnef Nov 6 20:48:31 server1 amavis[2312]: Found decoder for .exe at /usr/bin/arj Nov 6 20:48:31 server1 amavis[2312]: Using primary internal av scanner code for ClamAV-clamd Nov 6 20:48:31 server1 amavis[2312]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan Nov 6 20:48:31 server1 amavis[2312]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.49, libdb 5.1 Nov 6 20:48:43 server1 amavis[2316]: (02316-01) (!)policyd/process_policy: Failed to parse in queue id from received line '' Nov 6 20:48:45 server1 amavis[2316]: (02316-01) Passed CLEAN, [195.30.107.16] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: cWESOPxci3le, Hits: -0.002, size: 380, queued_as: 745DE340077, 1978 ms ------------------------------------------------------------------------------------------------- The Problem seems to be here: Nov 6 20:48:43 server1 amavis[2316]: (02316-01) (!)policyd/process_policy: Failed to parse in queue id from received line '' In 'amavisd-policyd.pm' I do have the following database configuration: -------------------amavisd-policyd.pm------------------------------ ... my $DB_dsn = "DBI:mysql:database=policyd;host=localhost"; my $DB_user = "amavisuser"; my $DB_pass = "**********"; my $DB_prefix = ""; ... ----------------------------------------------------------------- I do not now what $DB_prefix is. So I left it empty. Could that cause the problem? Thx for your help regards Steffen > Gesendet: Mittwoch, 06. November 2013 um 20:26 Uhr > Von: "Nigel Kukard" <[email protected]> > An: [email protected] > Betreff: Re: [policyd-users] Optional Amavisd Support - BCC rule not working? > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/11/2013 19:06, Steffen Wegner wrote: > > Hi, > > today I installed the Optional Amavisd Support following the guide on > http://wiki.policyd.org/installing. > > Everyting is running without complaint. > > > > I now wanted to test if the new features are working by creating a > very simple rule to 'BCC' all in- and outgoing mails. But it's not > working. No emails do ever arraive at the BCC mail account. Nor can I > see additional mails in the mailq. The rule is set up to definitely match. > > > > I changed the "Amavis Rule" accordingly (Disabled:no): > > --------------------------------------------------- > > Link to policy: "Default" > > BCC To: "[email protected]" > > --------------------------------------------------- > > > > Policy "Default" (Disabled:no) > > > > Policy "Default" - Members (Disabled:no): > > --------------------------------------------------- > > Source: any > > Destination: any > > --------------------------------------------------- > > > > Following the logic of this rule set I should receive a BCC-mail for > every outgoing and incomming mail right? > > > > > > Did I miss something? > > Do I need to change the configuration of postfix in any way to make > the BCC-feature working? > > Please enable full debugging in policyd and check over the logs for the > BCC verdict being sent. > > - -- > - -N > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.15 (GNU/Linux) > > iQEcBAEBAgAGBQJSepfPAAoJEIR4oJUcqdAux+MH/i1cSomA21M9orpLwIKAYYor > XInePEdzBMJ7cAlLlV0HvSrNgwAimXvLV1YpaeJZETQu1cpINGO66Xicfp2PriWo > TvKxMZYzNsZfBZDEhfgyvwe/pKc/FBh5WorwcS02uWWtyQ8hpzODGwBwqzraUewm > lkmQyOePSk+oHYq9stpO8SB+uUJwYRvTC56sP042H8jSd0OtOP2sEaSSDyU2Onue > Cav+g/W9yPX4ZxTkb+B/a2p6XjTNZ9GW++RnwjDKAWjAoDImciucw27l3r9/Vuco > Y+R/Y8r0bNcBDHCcbUBtJrl3R+cPbPwb4E8hgBfMnp8pWzqWF7dwSREqYddzapE= > =XB82 > -----END PGP SIGNATURE----- > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org > _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
