[Kolab-devel] Cannot send email through simple SMTP

Булаев Никита [Bulaev Nikita] firebulldj at mail.ru
Thu Jun 22 14:34:24 CEST 2006


Hi, kolab-devel.

Got a problem, may be I don't understand something...

Using Kolab 2.1 beta 2

So I'm trying to send email through simple SMTP... As I see, it's impossible to use even simple authentification. But even without it, and without my net in Privileged Networks, I got an error. What I have in Postfix log:
#####################################################
Jun 22 16:15:31 kolab <info> postfix/smtpd[9930]: connect from proxy.gloriacompany.ru[192.168.5.1]
Jun 22 16:15:31 kolab <info> postfix/smtpd[9930]: NOQUEUE: reject: RCPT from proxy.gloriacompany.ru[192.168.5.1]: 554<bulaev at mail2.gloriacompany.ru> Sender address rejected: Invalid sender; from=<bulaev at mail2.gloriacompany.ru> to=<firebulldj at mail.ru> proto=ESMTP helo=<localhost>
Jun 22 16:15:31 kolab <info> postfix/smtpd[9930]: disconnect from proxy.gloriacompany.ru[192.168.5.1]

#####################################################

What I got in OpenLDAP log:

#####################################################
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 fd=14 ACCEPT from IP=127.0.0.1:40191 (IP=0.0.0.0:389)
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=0 BIND dn="cn=nobody,cn=internal,dc=gloriacompany,dc=ru" method=128
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=0 BIND dn="cn=nobody,cn=internal,dc=gloriacompany,dc=ru" mech=SIMPLE ssf=0
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=0 RESULT tag=97 err=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=1 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=\2A)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=1 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=2 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=\2A)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=2 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=3 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(objectClass=kolabGroupOfNames)(!(kolabDeleteflag=*))(mail=mail2.gloriacompany.ru))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=3 SRCH attr=mail member
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=4 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(!(kolabDeleteflag=*))(|(alias=mail2.gloriacompany.ru)(mail=mail2.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=4 SRCH attr=mail
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=4 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=5 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=bulaev at mail2.gloriacompany.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=5 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=6 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=mail2.gloriacompany.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=6 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=6 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=7 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=.gloriacompany.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=7 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=7 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=8 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=8 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=8 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=9 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(objectClass=kolabGroupOfNames)(!(kolabDeleteflag=*))(mail=mail.ru))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=9 SRCH attr=mail member
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=9 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=10 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(!(kolabDeleteflag=*))(|(alias=mail.ru)(mail=mail.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=10 SRCH attr=mail
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=10 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=11 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=firebulldj at mail.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=11 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=11 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=12 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=mail.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=12 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=12 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=13 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=0 filter="(&(mail=.ru)(objectClass=kolabInetOrgPerson)(!(kolabHomeServer=kolab.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=13 SRCH attr=kolabHomeServer
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=243 op=13 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 fd=19 ACCEPT from IP=127.0.0.1:40192 (IP=0.0.0.0:389)
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=0 BIND dn="cn=nobody,cn=internal,dc=gloriacompany,dc=ru" method=128
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=0 BIND dn="cn=nobody,cn=internal,dc=gloriacompany,dc=ru" mech=SIMPLE ssf=0
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=0 RESULT tag=97 err=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=1 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=2 filter="(&(objectClass=kolabInetOrgPerson)(|(?=undefined)(?=undefined)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=1 SRCH attr=uid
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=2 SRCH base="dc=gloriacompany,dc=ru" scope=2 deref=2 filter="(&(objectClass=kolabInetOrgPerson)(|(mail=bulaev at mail2.gloriacompany.ru)(alias=bulaev at mail2.gloriacompany.ru)))"
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=2 SRCH attr=uid
Jun 22 16:15:31 kolab <debug> slapd[6294]: conn=244 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jun 22 16:17:11 kolab <debug> slapd[6294]: conn=244 fd=19 closed (connection lost)
Jun 22 16:17:31 kolab <debug> slapd[6294]: conn=243 fd=14 closed (idletimeout)
########################################################################

As I see, LDAP finds correct entries, but what happen next... i can't understand. With my net in Privileged Networks everething is ok, of course.


Thanx for your cooperation :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/devel/attachments/20060622/4c3787bb/attachment.html>


More information about the devel mailing list