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:
[r...@... ~]# 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: <[email protected]>
450 4.3.2 <[email protected]>: Sender address rejected: Try again later

On the console, I started cbpolicyd in debug mode:
[r...@... ~]# /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)

My cluebringer.conf file:

[server]
protocols=<<EOT
Postfix
EOT
modules=<<EOT
Core
AccessControl
CheckHelo
CheckSPF
Greylisting
Quotas
EOT
log_level=4
log_file=/var/log/cbpolicyd.log
log_mail=maillog
log_detail=modules,tracking,policies,protocols
host=127.0.0.1
port=10031
[database]
DSN=DBI:mysql:database=policyd;host=localhost
Username=root
Password=.....
bypass_mode=tempfail
bypass_timeout=30
[AccessControl]
enable=1
[Greylisting]
enable=1
[CheckHelo]
enable=1
[CheckSPF]
enable=1
[Quotas]
enable=1

and my postfix main config:

smtpd_delay_reject = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = mail....
mydomain = localdomain
myorigin = ....
inet_interfaces = all
mydestination = $myhostname, $mydomain, localhost, 
localhost.localdomain,localdomain.localdomain
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
smtp_helo_timeout = 180s
smtpd_helo_restrictions =
                                reject_invalid_hostname,
                                reject_unknown_hostname,
                                reject_non_fqdn_hostname,
                                permit
smtpd_recipient_restrictions =
                                check_policy_service inet:127.0.0.1:10031,
                                permit_mynetworks,
                                reject_rbl_client zen.spamhaus.org,
                                reject_rbl_client ix.dnsbl.mainutu.net,
                                reject_rbl_client bl.spamcop.net,
                                reject_rbl_client dnsbl.njabl.org,
                                reject_non_fqdn_sender,
                                reject_non_fqdn_recipient,
                                check_recipient_access 
hash:/etc/postfix/rbl_list_recipients,
                                reject_unauth_destination,
                                permit
smtpd_sender_restrictions =
                               permit_mynetworks,
                               reject_unauth_destination,
                               reject_non_fqdn_sender,
                               reject_non_fqdn_recipient,
                               check_sender_access 
hash:/etc/postfix/rbl_list_senders,
                               check_policy_service inet:127.0.0.1:10031,
                               permit
mynetworks =
relay_domains = $mydestination,.....
in_flow_delay = 1s
sender_bcc_maps = hash:/etc/postfix/bcc-sender
virtual_alias_maps = hash:/etc/postfix/virtual
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
local_header_rewrite_clients = permit_mynetworks
sender_canonical_maps = hash:/etc/postfix/canonical-sender
smtpd_banner = $myhostname ESMTP Sendmail
local_destination_concurrency_limit = 2
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.10/samples
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
disable_vrfy-command = yes
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
in_flow_delay = 2
local_destination_concurrency_limit = 5
allow_percent_hack = no
message_size_limit = 15000000

I don't find a problem within my configuration!
Thanks - Regards - Vincent

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

Reply via email to