IMAP
3 отговора
118 прегледа
IMAP
следното проблемче с IMAP
tar jxvf courier-imap-3.0.8.tar.bz2
cd courier-imap-3.0.8
./configure --prefix=/usr/local --exec-prefix=/usr/local
--with-authvchkpw --without-authdaemon --without-authldap
--disable-root-check --with-ssl
--with-authchangepwdir=/usr/local/libexec/authlib
make && make install-strip && make install-configure
cd /usr/local/etc
cp imapd.dist imapd
cp imapd-ssl.dist imapd-ssl
/usr/local/sbin/mkimapdcert
cp /usr/local/libexec/imapd.rc /etc/rc.d/rc.imap
cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/rc.imaps
/etc/rc.d/rc.imap start
/etc/rc.d/rc.imaps start
telnet localhost 143
трябва да се получи ...
Trying 192.168.1.10...
Connected to 192.168.1.10.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE
STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double
Precision, Inc. See COPYING for distribution information.
a login postmaster@mydomain.com my_password
a OK LOGIN Ok. (successful login!)
a logout (logs you out)
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
Connection closed by foreign host.
Hint: The "a" that you see before my login commands is
required.
но се получава това
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL
ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005
Double Precision, Inc. See COPYING for distribution
information.
login postmaster@blabla.org pass_nqkaf
login NO Error in IMAP command received by server.
защо се получава така ?
tar jxvf courier-imap-3.0.8.tar.bz2
cd courier-imap-3.0.8
./configure --prefix=/usr/local --exec-prefix=/usr/local
--with-authvchkpw --without-authdaemon --without-authldap
--disable-root-check --with-ssl
--with-authchangepwdir=/usr/local/libexec/authlib
make && make install-strip && make install-configure
cd /usr/local/etc
cp imapd.dist imapd
cp imapd-ssl.dist imapd-ssl
/usr/local/sbin/mkimapdcert
cp /usr/local/libexec/imapd.rc /etc/rc.d/rc.imap
cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/rc.imaps
/etc/rc.d/rc.imap start
/etc/rc.d/rc.imaps start
telnet localhost 143
трябва да се получи ...
Trying 192.168.1.10...
Connected to 192.168.1.10.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE
STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double
Precision, Inc. See COPYING for distribution information.
a login postmaster@mydomain.com my_password
a OK LOGIN Ok. (successful login!)
a logout (logs you out)
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
Connection closed by foreign host.
Hint: The "a" that you see before my login commands is
required.
но се получава това
telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL
ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005
Double Precision, Inc. See COPYING for distribution
information.
login postmaster@blabla.org pass_nqkaf
login NO Error in IMAP command received by server.
защо се получава така ?
Re: IMAP
[линк]
Пак става макар, че там няма много обяснения, но дори само с copy и paste можеш да вдигнеш mail server.
Пак става макар, че там няма много обяснения, но дори само с copy и paste можеш да вдигнеш mail server.
Re: IMAP
мерси за отговора но изникна проблема
telnet localhost 143
rying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
^ login postmaster@bla.org password
^ NO Login failed.
после пуснах и един courierpassd
telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 courierpassd v1.1.0-RC1 hello, who are you?
user postmaster@bla.org
200 Your password please.
pass password
500 Old password is incorrect or user not found.
Connection closed by foreign host.
във vpopmaila ги има тея юзери
postmaster@bla.org
test@bla.org
stas@bla.org
vpopmaila е пуснат с mysql
следвам qmailinstalation guide ot qmailrocks.org
на слак 10.2 съм
та въпроса е защо не иска да се логва с тея юзери
telnet localhost 143
rying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.
^ login postmaster@bla.org password
^ NO Login failed.
после пуснах и един courierpassd
telnet localhost 106
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 courierpassd v1.1.0-RC1 hello, who are you?
user postmaster@bla.org
200 Your password please.
pass password
500 Old password is incorrect or user not found.
Connection closed by foreign host.
във vpopmaila ги има тея юзери
postmaster@bla.org
test@bla.org
stas@bla.org
vpopmaila е пуснат с mysql
следвам qmailinstalation guide ot qmailrocks.org
на слак 10.2 съм
та въпроса е защо не иска да се логва с тея юзери
Re: IMAP
още нещо в /var/log/maillog
Nov 28 13:20:12 Stas authdaemond: Installing libauthcram
Nov 28 13:20:12 Stas authdaemond: libauthcram.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthuserdb
Nov 28 13:20:12 Stas authdaemond: libauthuserdb.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthpwd
Nov 28 13:20:12 Stas authdaemond: libauthpwd.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthshadow
Nov 28 13:20:12 Stas authdaemond: libauthshadow.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthmysql
Nov 28 13:20:12 Stas authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthcustom
Nov 28 13:20:12 Stas authdaemond: libauthcustom.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthvchkpw
Nov 28 13:20:12 Stas authdaemond: /usr/local/lib/courier-authlib/libauthvchkpw.so.0: undefined symbol: mysql_init
Nov 28 13:20:12 Stas authdaemond: Installing libauthpipe
Nov 28 13:20:12 Stas authdaemond: Installation complete: authpipe
Nov 28 13:21:43 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:27:37 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:29:22 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:43:22 Stas imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:44:57 Stas imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:45:51 Stas imapd-ssl: LOGIN FAILED, user=postmaster@stz.org, ip=[::ffff:127.0.0.1]
Nov 28 13:46:58 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:47:07 Stas imapd: LOGIN FAILED, user=postmaster@stz.org, ip=[::ffff:127.0.0.1]
Nov 28 13:52:11 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
нещо май липсва :(
Nov 28 13:20:12 Stas authdaemond: Installing libauthcram
Nov 28 13:20:12 Stas authdaemond: libauthcram.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthuserdb
Nov 28 13:20:12 Stas authdaemond: libauthuserdb.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthpwd
Nov 28 13:20:12 Stas authdaemond: libauthpwd.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthshadow
Nov 28 13:20:12 Stas authdaemond: libauthshadow.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthmysql
Nov 28 13:20:12 Stas authdaemond: libauthmysql.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthcustom
Nov 28 13:20:12 Stas authdaemond: libauthcustom.so: cannot open shared object file: No such file or directory
Nov 28 13:20:12 Stas authdaemond: Installing libauthvchkpw
Nov 28 13:20:12 Stas authdaemond: /usr/local/lib/courier-authlib/libauthvchkpw.so.0: undefined symbol: mysql_init
Nov 28 13:20:12 Stas authdaemond: Installing libauthpipe
Nov 28 13:20:12 Stas authdaemond: Installation complete: authpipe
Nov 28 13:21:43 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:27:37 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:29:22 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:43:22 Stas imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:44:57 Stas imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:45:51 Stas imapd-ssl: LOGIN FAILED, user=postmaster@stz.org, ip=[::ffff:127.0.0.1]
Nov 28 13:46:58 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 28 13:47:07 Stas imapd: LOGIN FAILED, user=postmaster@stz.org, ip=[::ffff:127.0.0.1]
Nov 28 13:52:11 Stas imapd: Connection, ip=[::ffff:127.0.0.1]
нещо май липсва :(