problem with kolab_smtpdpolicy
Marc LAURENT
ml at libertech.fr
Fri May 23 10:44:00 CEST 2008
Hi gunnar,
I had modified kolab_smtpdpolicy
My modification is in
#
# Read options from config-file
#
open MARC,'>>/tmp/marc.log';
my $conf_allowunauth = 0;
%conf = readConfig( %conf, "/kolab/etc/kolab/kolab_smtpdpolicy.conf" );
my $conf_ldapuri = $conf{'ldap_uri'};
my $conf_basedn = $conf{'basedn'};
my $conf_binddn = $conf{'binddn'};
my $conf_bindpw = $conf{'bindpw'};
my @conf_domain = $conf{'domain'};
$conf_allowunauth = 1 if( $conf{'allow_unauth'} );
my @conf_permithosts = split /\s*,\s*/, $conf{'permithosts'};
print MARC "allowunauth = $conf_allowunauth et $conf{'allow_unauth'} \n";
close MARC;
And I post from google (for example) to my mail address and KOLAB don't pass by the policy
The file marc.log isn't create
-----Message d'origine-----
De : kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] De la part de Gunnar Wrobel
Envoyé : mercredi 21 mai 2008 15:29
À : Marc LAURENT
Cc : 'kolab-users at kolab.org'
Objet : Re: problem with kolab_smtpdpolicy
Marc LAURENT <ml at libertech.fr> writes:
> Hi,
> I’ve Kolab RC2.2 on debian
>
> In log /kolab/var/postfix/log/postfix.log avec nothing with smtpdpolicy I put a trace in the program /kolab/etc/kolab/kolab_smtpdpolicy and I think (I’m sure) kolab don’t pass by this program.
>
> In my main.cf I have :
> ## Kolab Policy Server
> smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
> reject_unauth_destination, reject_unlisted_recipient,
> check_policy_service unix:private/kolabpolicy smtpd_sender_restrictions = permit_mynetworks,
> check_policy_service unix:private/kolabpolicy kolabpolicy_time_limit = 3600 kolabpolicy_max_idle = 20
>
> and master.cf
>
> kolabpolicy unix - n n - - spawn user=kolab-n
> argv=/kolab/etc/kolab/kolab_smtpdpolicy
The settings on my OpenPKG installation are not different so that should be fine.
How do you try to get output from the policy filter?
Cheers,
Gunnar
>
> How I must configure kolab when I receive a message, it’s pass in kolab_smtpdpolicy ?
>
> Thanks for your response
>
> Marc L.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
--
______ http://kdab.com _______________ http://kolab-konsortium.com _
p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 700 6245 0000 Bundesstrasse 29
Fax : +49 721 1513 52322 D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Mail at ease - Rent a kolab groupware server at p at rdus <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://kolab.org/mailman/listinfo/kolab-users
More information about the users
mailing list