Bug#451358: postfix complains policyd-weight isn't answering (daemon mode)

2007-11-16 Thread Jan Wagner
Hi Joerg,

On Friday 16 November 2007 16:27, Joerg Schuetter wrote:
> Jan Wagner <[EMAIL PROTECTED]> wrote:
> > On Thursday 15 November 2007 11:53, Joerg Schuetter wrote:
> > > On our mailservers we have a lot of these error messages (a few
> > > hundred per day):
> > > postfix/smtpd[5112]: warning: timeout on 127.0.0.1:12525 \
> > >   while reading input attribute name
> > > postfix/smtpd[5112]: warning: problem talking to server \
> > >   127.0.0.1:12525: Connection timed out
> >
> > have a look at
> > http://article.gmane.org/gmane.mail.postfix.policyd-weight/611,
> > there was a long discussion about it. Maybe there are solutions
> > for you mentioned.  Please keep me updated.
>
> Except the one from
> http://article.gmane.org/gmane.mail.postfix.policyd-weight/636
> all of these were tried before, no luck.
> Since I don't want to mess up with the perl script (the code in
> Etch is different from the one in the thread) I don't dare to
> change it.
>
> Code fragment used in Etch:
> my $oid   = int(rand()*65536);
>
> Code fragment used in discussion:
> my $oid   = 1 + int(rand(65536))

I'm preparing a new 0.1.14.12 for upload to experimental, I will leave you a 
not, when it's uploaded.
If you cant wait, try it with the version[1] you an grab from my ftp archive.


With kind regards, Jan.
[1] 
http://ftp.cyconet.org/debian/archive/official/policyd-weight/0.1.14.5+0.1.14.12-1/
-- 
Never write mail to <[EMAIL PROTECTED]>, you have been warned!
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
--END GEEK CODE BLOCK--


pgpkeuoKtqpYZ.pgp
Description: PGP signature


Bug#451358: postfix complains policyd-weight isn't answering (daemon mode)

2007-11-16 Thread Joerg Schuetter
On Thu, 15 Nov 2007 12:46:35 +0100
Jan Wagner <[EMAIL PROTECTED]> wrote:

> Hi Joerg,
> 
> On Thursday 15 November 2007 11:53, Joerg Schuetter wrote:
> > On our mailservers we have a lot of these error messages (a few
> > hundred per day):
> > postfix/smtpd[5112]: warning: timeout on 127.0.0.1:12525 \
> >   while reading input attribute name
> > postfix/smtpd[5112]: warning: problem talking to server \
> >   127.0.0.1:12525: Connection timed out
> 
> have a look at
> http://article.gmane.org/gmane.mail.postfix.policyd-weight/611,
> there was a long discussion about it. Maybe there are solutions
> for you mentioned.  Please keep me updated.

Except the one from
http://article.gmane.org/gmane.mail.postfix.policyd-weight/636
all of these were tried before, no luck.
Since I don't want to mess up with the perl script (the code in
Etch is different from the one in the thread) I don't dare to
change it.

Code fragment used in Etch:
my $oid   = int(rand()*65536);

Code fragment used in discussion:
my $oid   = 1 + int(rand(65536))

Joerg




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#451358: postfix complains policyd-weight isn't answering (daemon mode)

2007-11-15 Thread Jan Wagner
Hi Joerg,

On Thursday 15 November 2007 11:53, Joerg Schuetter wrote:
> On our mailservers we have a lot of these error messages (a few
> hundred per day):
> postfix/smtpd[5112]: warning: timeout on 127.0.0.1:12525 \
>   while reading input attribute name
> postfix/smtpd[5112]: warning: problem talking to server \
>   127.0.0.1:12525: Connection timed out

have a look at http://article.gmane.org/gmane.mail.postfix.policyd-weight/611, 
there was a long discussion about it. Maybe there are solutions for you 
mentioned.
Please keep me updated.

> /etc/postfix/main.cf
> smtpd_recipient_restrictions =
> check_recipient_access regexp:/etc/postfix/config/regexp_recipient
> permit_mynetworks
> reject_unauth_destination
> check_client_access
> hash:/etc/postfix/config/policyd_weight_client_whitelist
> check_recipient_access
> hash:/etc/postfix/config/policyd_weight_recipient_whi telist
> check_sender_access
> hash:/etc/postfix/config/policyd_weight_sender_whitelist
> check_policy_service inet:127.0.0.1:12525
> check_recipient_access hash:/etc/postfix/config/user-acl
> reject_unauth_destination

Looks normal for me.

With kind regards, Jan.
-- 
Never write mail to <[EMAIL PROTECTED]>, you have been warned!
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
--END GEEK CODE BLOCK--


pgpcM0k0RJosV.pgp
Description: PGP signature


Bug#451358: postfix complains policyd-weight isn't answering (daemon mode)

2007-11-15 Thread Joerg Schuetter
Package: policyd-weight
Version: 0.1.14-beta-6
Severity: minor

On our mailservers we have a lot of these error messages (a few
hundred per day):
postfix/smtpd[5112]: warning: timeout on 127.0.0.1:12525 \
  while reading input attribute name
postfix/smtpd[5112]: warning: problem talking to server \
  127.0.0.1:12525: Connection timed out

/etc/postfix/main.cf
smtpd_recipient_restrictions =
check_recipient_access regexp:/etc/postfix/config/regexp_recipient
permit_mynetworks
reject_unauth_destination
check_client_access hash:/etc/postfix/config/policyd_weight_client_whitelist
check_recipient_access hash:/etc/postfix/config/policyd_weight_recipient_whi
telist
check_sender_access hash:/etc/postfix/config/policyd_weight_sender_whitelist
check_policy_service inet:127.0.0.1:12525
check_recipient_access hash:/etc/postfix/config/user-acl
reject_unauth_destination

It looks like installing libsys-syslog-perl (which is listed as
recomendation) calms things down dramaticaly. Now we have less
than 10 of this alerts per day.

Best regards
  Joerg




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]