mail loops back to myself

Mr. Surachai Sriaram ninetea at hotmail.com
Tue Jul 10 05:08:05 CEST 2007


hi all
on your answer,
##
Did you try getting postfix/kolab to generate the binary database config 
files? Usually postfix requires you to do so.
##
how can i getting postfix/kolab to generate the binary database config files 
? use "kolab_bootstrap -b" command ?

thank a lot for your answer and chek my main.cf file , if this file it done, 
i check another configuration file (kolab-ldapdistlist.cf , 
kolab-ldapvirtual.cf, kolab-ldaptransport.cf) i use this command to check 
it.
first file configutation i check kolab-ldaptransport.cf
#####
# postmap -q knhosp.go.th ldap:/etc/postfix/kolab-ldaptransport.cf
#####
this is out put of this command (use "tail -f /var/log/syslog" command and 
knhosp.go.th is my domain)
#########
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 fd=15 ACCEPT from 
IP=127.0.0.1:44129 (IP=0.0.0.0:389)
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" method=128
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" mech=SIMPLE ssf=0
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=0 RESULT tag=97 err=0 text=
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=1 SRCH 
base="dc=knhosp,dc=go,dc=th" scope=2 deref=0 
filter="(&(mail=knhosp.go.th)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=$myhostname)))"
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=1 SRCH attr=kolabHomeServer
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 op=2 UNBIND
Jul 10 10:02:48 knhosp slapd[2585]: conn=277 fd=15 closed
########
and check second file configuration kolab-ldapvirtual.cf
####
#postmap -q knhosp.go.th ldap:/etc/postfix/kolab-ldapvirtual.cf
####
and this output
###########
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 fd=15 ACCEPT from 
IP=127.0.0.1:60382 (IP=0.0.0.0:389)
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" method=128
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" mech=SIMPLE ssf=0
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=1 SRCH 
base="dc=knhosp,dc=go,dc=th" scope=2 deref=0 
filter="(&(!(kolabDeleteflag=*))(|(alias=knhosp.go.th)(mail=knhosp.go.th)))"
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=1 SRCH attr=mail
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=0 RESULT tag=97 err=0 text=
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 op=2 UNBIND
Jul 10 10:06:48 knhosp slapd[2585]: conn=278 fd=15 closed
#############
and last configuration file i check kolab-ldapdistlist.cf
######
#postmap -q knhosp.go.th ldap:/etc/postfix/kolab-ldapdistlist.cf
######
but it not have any output (check by "tail -f /var/log/syslog" and "tail -f 
/var/log/mail.log" command) this is configuration of this file
################
# LDAP distribution list support
server_host = ldap://127.0.0.1:389
search_base = dc=knhosp,dc=go,dc=th
domain = $mydestination
query_filter = 
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=%s))special_result_attribute 
= member
exclude_internal = yes
result_attribute = mail
result_filter = %s
search_timeout = 15
scope = sub
bind = yes
bind_dn = cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th
bind_pw = Password
version = 3
######
when i change this config file on "domain = $mydestination" to "domain = 
knhosp.go.th" it same last output of this check file, but when i change this 
config file to mark "domain" section
###########
# LDAP distribution list support
server_host = ldap://127.0.0.1:389
search_base = dc=knhosp,dc=go,dc=th
#domain = $mydestination
query_filter = 
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=%s))special_result_attribute 
= member
exclude_internal = yes
result_attribute = mail
result_filter = %s
search_timeout = 15
scope = sub
bind = yes
bind_dn = cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th
bind_pw = Password
version = 3
###########
and use same last check command of this file this is output of it
###############
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 fd=15 ACCEPT from 
IP=127.0.0.1:60633 (IP=0.0.0.0:389)
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" method=128
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=0 BIND 
dn="cn=nobody,cn=internal,dc=knhosp,dc=go,dc=th" mech=SIMPLE ssf=0
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=0 RESULT tag=97 err=0 text=
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=1 SRCH 
base="dc=knhosp,dc=go,dc=th" scope=2 deref=0 
filter="(&(objectClass=kolabGroupOfNames)(!(kolabDeleteflag=*))(mail=knhosp.go.th))"
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=1 SRCH attr=mail member
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=1 SEARCH RESULT tag=101 
err=0 nentries=0 text=
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 op=2 UNBIND
Jul 10 10:18:42 knhosp slapd[2585]: conn=279 fd=15 closed
#########
but when i test send mail to my account and another account i was orror this 
is error messages (old error)
##########
Jul 10 10:20:41 knhosp postfix/smtp[15743]: F0541203412: 
to=<ninetea at knhosp.go.th>, orig_to=<root at knhosp.go.th>, relay=none, 
delay=0.04, delays=0.04/0/0/0, dsn=5.4.6, status=bounced (mail for 
mail.knhosp.go.th loops back to myself)
Jul 10 10:20:41 knhosp postfix/qmgr[15595]: F0541203412: removed
Jul 10 10:20:51 knhosp slapd[2585]: conn=281 fd=22 closed (idletimeout)
#########

how can i fix this error please resolv me.
thank for Advance .

_________________________________________________________________
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507




More information about the users mailing list