hi
i try to use sendmail with sendamail alias in fds and have problems
here are definition of alias
dn: sendmailMTAKey=Basile.Mathieu,dc=siris,dc=sorbonne,dc=fr
sendmailMTAAliasGrouping: aliases
sendmailMTAAliasGrouping: revaliases
sendmailMTAHost: sorbon2.sorbonne.fr
sendmailMTAKey: Basile.Mathieu
sendmailMTAAliasValue: bmathieu
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
dn: sendmailMTAKey=bmathieu,dc=siris,dc=sorbonne,dc=fr
sendmailMTAAliasGrouping: aliases
sendmailMTAAliasGrouping: revaliases
sendmailMTAHost: sorbon2.sorbonne.fr
sendmailMTAKey: bmathieu
sendmailMTAAliasValue: bmathieu
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
dn: sendmailMTAKey=Alain.Lierre,dc=paris4,dc=sorbonne,dc=fr
sendmailMTAAliasGrouping: aliases
sendmailMTAAliasGrouping: revaliases
sendmailMTAHost: sorbon2.sorbonne.fr
sendmailMTAKey: Alain.Lierre
sendmailMTAAliasValue: alierre
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
dn: sendmailMTAKey=alierre,dc=paris4,dc=sorbonne,dc=fr
sendmailMTAAliasGrouping: aliases
sendmailMTAAliasGrouping: revaliases
sendmailMTAHost: sorbon2.sorbonne.fr
sendmailMTAKey: alierre
sendmailMTAAliasValue: alierre
objectClass: top
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
here i test email with sendmail
#/usr/lib/sendmail -bv -C /etc/mail/sendmail-tx.cf
Alain.Lierre(a)sorbon2.sorbonne.fr
Alain.Lierre(a)sorbon2.sorbonne.fr... User unknown sorbon2
# /usr/lib/sendmail -bv -C /etc/mail/sendmail-tx.cf
Basile.mathieu(a)sorbon2.sorbonne.fr
bmathieu... deliverable: mailer local, user bmathieu
why the first alias is not recognize
user bmathieu and alierre are defined
search base is dc=sorbonne,dc=fr
and here are logs of fds
[24/Feb/2006:11:57:50 +0100] conn=2307 fd=64 slot=64 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:57:50 +0100] conn=2307 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:57:50 +0100] conn=2307 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:57:50 +0100] conn=2307 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=mailnull))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:57:50 +0100] conn=2307 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[24/Feb/2006:11:57:50 +0100] conn=2307 op=2 UNBIND
[24/Feb/2006:11:57:50 +0100] conn=2307 op=2 fd=64 closed - U1
[24/Feb/2006:11:57:50 +0100] conn=2308 fd=65 slot=65 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:57:50 +0100] conn=2308 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:57:50 +0100] conn=2308 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:57:50 +0100] conn=2308 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=sendmail))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:57:50 +0100] conn=2308 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[24/Feb/2006:11:57:50 +0100] conn=2308 op=2 UNBIND
[24/Feb/2006:11:57:50 +0100] conn=2308 op=2 fd=65 closed - U1
[24/Feb/2006:11:57:50 +0100] conn=2309 fd=64 slot=64 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:57:50 +0100] conn=2309 op=0 BIND dn="" method=128 version=2
[24/Feb/2006:11:57:50 +0100] conn=2309 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn=""
[24/Feb/2006:11:57:50 +0100] conn=2309 op=1 SRCH
base="dc=sorbonne,dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=revaliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=root))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:57:51 +0100] conn=2310 fd=65 slot=65 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:57:51 +0100] conn=2310 op=0 BIND dn="" method=128 version=2
[24/Feb/2006:11:57:51 +0100] conn=2310 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn=""
[24/Feb/2006:11:57:51 +0100] conn=2310 op=1 SRCH base="dc=sorbonne,
dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=aliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=alain.lierre))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:57:52 +0100] conn=2309 op=1 RESULT err=4 tag=101
nentries=28 etime=2 notes=U
[24/Feb/2006:11:57:53 +0100] conn=2311 fd=66 slot=66 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:57:53 +0100] conn=2311 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:57:53 +0100] conn=2311 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:57:53 +0100] conn=2311 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=alain.lierre))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:57:53 +0100] conn=2311 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[24/Feb/2006:11:57:53 +0100] conn=2310 op=2 UNBIND
[24/Feb/2006:11:57:53 +0100] conn=2310 op=2 fd=65 closed - U1
[24/Feb/2006:11:57:53 +0100] conn=2309 op=2 UNBIND
[24/Feb/2006:11:57:53 +0100] conn=2309 op=2 fd=64 closed - U1
[24/Feb/2006:11:57:53 +0100] conn=2311 op=2 UNBIND
[24/Feb/2006:11:57:53 +0100] conn=2311 op=2 fd=66 closed - U1
[24/Feb/2006:11:57:53 +0100] conn=2310 op=1 RESULT err=4 tag=101
nentries=0 etime=2 notes=U
[24/Feb/2006:11:58:01 +0100] conn=2312 fd=64 slot=64 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:58:01 +0100] conn=2312 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:58:01 +0100] conn=2312 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:58:01 +0100] conn=2312 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=mailnull))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:58:01 +0100] conn=2312 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[24/Feb/2006:11:58:01 +0100] conn=2313 fd=65 slot=65 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:58:01 +0100] conn=2312 op=2 UNBIND
[24/Feb/2006:11:58:01 +0100] conn=2312 op=2 fd=64 closed - U1
[24/Feb/2006:11:58:01 +0100] conn=2313 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:58:01 +0100] conn=2313 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:58:01 +0100] conn=2313 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=sendmail))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:58:01 +0100] conn=2313 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[24/Feb/2006:11:58:01 +0100] conn=2313 op=2 UNBIND
[24/Feb/2006:11:58:01 +0100] conn=2313 op=2 fd=65 closed - U1
[24/Feb/2006:11:58:01 +0100] conn=2314 fd=64 slot=64 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:58:01 +0100] conn=2314 op=0 BIND dn="" method=128 version=2
[24/Feb/2006:11:58:01 +0100] conn=2314 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn=""
[24/Feb/2006:11:58:01 +0100] conn=2314 op=1 SRCH
base="dc=sorbonne,dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=revaliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=root))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:58:02 +0100] conn=2315 fd=65 slot=65 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:58:02 +0100] conn=2315 op=0 BIND dn="" method=128 version=2
[24/Feb/2006:11:58:02 +0100] conn=2315 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn=""
[24/Feb/2006:11:58:02 +0100] conn=2315 op=1 SRCH base="dc=sorbonne,
dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=aliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=basile.mathieu))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:58:03 +0100] conn=2314 op=1 RESULT err=4 tag=101
nentries=28 etime=2 notes=U
[24/Feb/2006:11:58:04 +0100] conn=2315 op=2 SRCH base="dc=sorbonne,
dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=aliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=bmathieu))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:58:04 +0100] conn=2315 op=1 RESULT err=4 tag=101
nentries=1 etime=2 notes=U
[24/Feb/2006:11:58:05 +0100] conn=2316 fd=66 slot=66 connection from
195.220.107.251 to 195.220.107.251
[24/Feb/2006:11:58:05 +0100] conn=2316 op=0 BIND
dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr" method=128 version=3
[24/Feb/2006:11:58:05 +0100] conn=2316 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="cn=proxyagent,ou=profile,dc=sorbonne,dc=fr"
[24/Feb/2006:11:58:05 +0100] conn=2316 op=1 SRCH base="
ou=People,dc=sorbonne,dc=fr" scope=1
filter="(&(objectClass=posixAccount)(uid=bmathieu))" attrs="cn uid
uidNumber gidNumber gecos description homeDirectory loginShell"
[24/Feb/2006:11:58:05 +0100] conn=2316 op=1 RESULT err=0 tag=101
nentries=1 etime=0
[24/Feb/2006:11:58:05 +0100] conn=2316 op=2 UNBIND
[24/Feb/2006:11:58:05 +0100] conn=2316 op=2 fd=66 closed - U1
[24/Feb/2006:11:58:05 +0100] conn=2315 op=3 SRCH base="dc=sorbonne,
dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=aliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=owner-bmathieu))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:58:06 +0100] conn=2315 op=2 RESULT err=4 tag=101
nentries=1 etime=2 notes=U
[24/Feb/2006:11:58:07 +0100] conn=2315 op=4 SRCH base="dc=sorbonne,
dc=fr" scope=2
filter="(&(objectClass=sendmailMTAAliasObject)(sendmailMTAAliasGrouping=aliases)(|(sendmailMTACluster=)(sendmailMTAHost=sorbon2.sorbonne.fr))(sendmailMTAKey=owner-basile.mathieu))"
attrs="sendmailMTAAliasValue"
[24/Feb/2006:11:58:07 +0100] conn=2315 op=3 RESULT err=4 tag=101
nentries=0 etime=2 notes=U
[24/Feb/2006:11:58:08 +0100] conn=2315 op=5 UNBIND
[24/Feb/2006:11:58:08 +0100] conn=2315 op=5 fd=65 closed - U1
[24/Feb/2006:11:58:08 +0100] conn=2314 op=2 UNBIND
[24/Feb/2006:11:58:08 +0100] conn=2314 op=2 fd=64 closed - U1
[24/Feb/2006:11:58:08 +0100] conn=2315 op=4 RESULT err=4 tag=101
nentries=0 etime=1 notes=U
thanks for help
basile