On 03/10/2010 01:13 PM, Vincent Ackermann wrote:
Dear Nigel,
Great; but how can I found the error in postfix ?
I installed postfix from redhat's official repository.
I don't see any option regarding this instance value...
Regards - Vincent
(Sorry for the dup)
Like i said in the other thread:
Maybe that's because you're using sendmail and not postfix?
From your submission:
[r...@... ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail....... ESMTP Sendmail
unless you changed the postfix greeting to advertise as Sendmail...
Best regards,
Hugo Monteiro.
Jumping NET Ackermann Sarl
Vincent Ackermann
CEO
Chemin de la Chapelle 11
CH-2740 Moutier
Mobile: +41 79 695 25 42
Tel: +41 32 493 63 55
Fax: +41 32 493 63 56
Email:acv at jumping-net.com <http://lists.policyd.org/mailman/listinfo/users>
PGPkey:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B0BEDB7
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B0BEDB7>
-----Message d'origine-----
De :users-bounces at lists.policyd.org <http://lists.policyd.org/mailman/listinfo/users>
[mailto:users-bounces at lists.policyd.org
<http://lists.policyd.org/mailman/listinfo/users>] De la part deusers-request at
lists.policyd.org <http://lists.policyd.org/mailman/listinfo/users>
Envoyé : mercredi 10 mars 2010 13:00
À :users at lists.policyd.org <http://lists.policyd.org/mailman/listinfo/users>
Objet : Users Digest, Vol 21, Issue 8
Send Users mailing list submissions to
users at lists.policyd.org
<http://lists.policyd.org/mailman/listinfo/users>
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.policyd.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request at lists.policyd.org
<http://lists.policyd.org/mailman/listinfo/users>
You can reach the person managing the list at
users-owner at lists.policyd.org
<http://lists.policyd.org/mailman/listinfo/users>
When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..."
Today's Topics:
1. Re: policyd error on redhat 5: protocol data validation error
(Nigel Kukard)
----------------------------------------------------------------------
Message: 1
Date: Wed, 10 Mar 2010 10:53:05 +0000
From: Nigel Kukard<nkukard at lbsd.net
<http://lists.policyd.org/mailman/listinfo/users>>
Subject: Re: [policyd-users] policyd error on redhat 5: protocol data
validation error
To:users at lists.policyd.org <http://lists.policyd.org/mailman/listinfo/users>
Message-ID:<4B977A11.2070703 at lbsd.net
<http://lists.policyd.org/mailman/listinfo/users>>
Content-Type: text/plain; charset="iso-8859-1"
On 03/10/10 10:42, Vincent Ackermann wrote:
>/ /
>/ Hello,/
>/ /
>/ I just installed postfix and policyd v2 on my redhat 5 server./
>/ /
>/ I installed the necessary modules and libraries. Cluebringer 2.0.10/
>/ run but, if I try to send email, I receive:/
>/ /
>/ [//root at ... <http://lists.policyd.org/mailman/listinfo/users>// ~]#
telnet localhost 25/
>/ /
>/ Trying 127.0.0.1.../
>/ /
>/ Connected to localhost.localdomain (127.0.0.1)./
>/ /
>/ Escape character is '^]'./
>/ /
>/ 220 mail....... ESMTP Sendmail/
>/ /
>/ helo ...../
>/ /
>/ 250 mail......./
>/ /
>/ mail from:<//acv at jumping-net.com
<http://lists.policyd.org/mailman/listinfo/users>//>/
>/ /
>/ 450 4.3.2<//acv at jumping-net.com
<http://lists.policyd.org/mailman/listinfo/users>//>: Sender address rejected: Try
again/
>/ later/
>/ /
>/ /
>/ /
>/ On the console, I started cbpolicyd in debug mode:/
>/ /
>/ [//root at ... <http://lists.policyd.org/mailman/listinfo/users>// ~]#
/usr/sbin/cbpolicyd --debug --fg --config/
>/ /etc/policyd/cluebringer.conf/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Policyd v2 //
>/ Cluebringer - v2.0.10/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Initializing system/
>/ modules./
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: System modules/
>/ initialized./
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Module load started.../
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => AccessControl: enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => CheckHelo: enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => CheckSPF: enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Greylisting: enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Quotas: enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: => Protocol(Postfix):/
>/ enabled/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] NOTICE: Module load done./
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CBPOLICYD] DEBUG: Opening syslog,/
>/ destination = 'unix', facility = 'mail'./
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: 2010/03/10-11:29:16 cbp/
>/ (type Net::Server::PreFork) starting! pid(27835)/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] NOTICE: Binding to TCP port 10031/
>/ on host 127.0.0.1/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] WARNING: Group Not Defined./
>/ Defaulting to EGID '0 10 6 4 3 2 1 0'/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] WARNING: User Not Defined./
>/ Defaulting to EUID '0'/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] INFO: Setting up serialization/
>/ via flock/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] INFO: Beginning prefork (4/
>/ processes)/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] INFO: Starting "4" children/
>/ /
>/ [2010/03/10-11:29:16 - 27836] [CORE] DEBUG: Child Preforked (27836)/
>/ /
>/ [2010/03/10-11:29:16 - 27836] [CBPOLICYD] DEBUG: Starting up caching/
>/ engine/
>/ /
>/ [2010/03/10-11:29:16 - 27838] [CORE] DEBUG: Child Preforked (27838)/
>/ /
>/ [2010/03/10-11:29:16 - 27838] [CBPOLICYD] DEBUG: Starting up caching/
>/ engine/
>/ /
>/ [2010/03/10-11:29:16 - 27839] [CORE] DEBUG: Child Preforked (27839)/
>/ /
>/ [2010/03/10-11:29:16 - 27839] [CBPOLICYD] DEBUG: Starting up caching/
>/ engine/
>/ /
>/ [2010/03/10-11:29:16 - 27835] [CORE] DEBUG: Parent ready for children./
>/ /
>/ [2010/03/10-11:29:16 - 27840] [CORE] DEBUG: Child Preforked (27840)/
>/ /
>/ [2010/03/10-11:29:16 - 27840] [CBPOLICYD] DEBUG: Starting up caching/
>/ engine/
>/ /
>/ [2010/03/10-11:29:54 - 27836] [CORE] INFO: 2010/03/10-11:29:54 CONNECT/
>/ TCP Peer: "127.0.0.1:55003" Local: "127.0.0.1:10031"/
>/ /
>/ [2010/03/10-11:29:54 - 27835] [CORE] INFO: Starting "1" children/
>/ /
>/ [2010/03/10-11:29:54 - 27906] [CORE] DEBUG: Child Preforked (27906)/
>/ /
>/ [2010/03/10-11:29:54 - 27906] [CBPOLICYD] DEBUG: Starting up caching/
>/ engine/
>/ /
>/ [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] DEBUG: Possible/
>/ Postfix protocol/
>/ /
>/ [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] INFO: Identified/
>/ Postfix protocol/
>/ /
>/ [2010/03/10-11:29:54 - 27836] [PROTOCOLS/Postfix] ERROR: Error,/
>/ parameter 'instance' cannot be ''/
>/ /
>/ *[2010/03/10-11:29:54 - 27836] [CBPOLICYD] ERROR: Protocol data/
>/ validation error, required parameter 'instance' was not found or/
>/ invalid format*/
>/ /
>/ [2010/03/10-11:30:26 - 27835] [CORE] INFO: Killing "1" children/
>/ /
>/ [2010/03/10-11:30:26 - 27836] [CBPOLICYD] DEBUG: Shutting down caching/
>/ engine (27836)/
>/ /
Your installation of postfix is not sending a required name/value pair...
Readhttp://www.postfix.org/SMTPD_POLICY_README.html
This says that instance= is sent for each policy request for postfix later than version 2.1.
As policyd is not receiving a required name/value pair, it is giving an error.
I suggest maybe debugging more on your side, and determining why your installation of policyd is not sending the instance= name/value pair.
Regards
Nigel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:http://lists.policyd.org/pipermail/users/attachments/20100310/98ad9a90/attachment.html
------------------------------
Jumping NET Ackermann Sarl
Vincent Ackermann
CEO
Chemin de la Chapelle 11
CH-2740 Moutier
Mobile: +41 79 695 25 42
Tel: +41 32 493 63 55
Fax: +41 32 493 63 56
Email: [email protected] <mailto:[email protected]>
PGPkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7B0BEDB7
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x311D6E4A>
------------------------------------------------------------------------
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the
sender and delete the material from any computer.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users
--
fct.unl.pt:~# cat .signature
Hugo Monteiro
Email : [email protected]
Telefone : +351 212948300 Ext.15307
Web : http://hmonteiro.net
Divisão de Informática
Faculdade de Ciências e Tecnologia da
Universidade Nova de Lisboa
Quinta da Torre 2829-516 Caparica Portugal
Telefone: +351 212948596 Fax: +351 212948548
www.fct.unl.pt [email protected]
fct.unl.pt:~# _
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users