courier posloucha ,ale odmita spojeni
Radomir Tomanek
rtomanek at epark.cz
Fri Oct 19 11:30:20 CEST 2007
Nekompiloval jsi couriera pod rootem?
Me tohle kdysi davno, když jsem si s tim hral, delalo taky, ale uz si
bohužel nemuzu vzpomenout, co jsem s tim delal....:( Asi jsem to reinstalnul
:o))
rat
-----Original Message-----
From: users-l-bounces at freebsd.cz [mailto:users-l-bounces at freebsd.cz] On
Behalf Of Jaroslav Votruba
Sent: Friday, October 19, 2007 11:00 AM
To: FreeBSD mailing list
Subject: courier posloucha ,ale odmita spojeni
Diky Petru Mackovi jsem se pohnul dal,nicméně ted mam honky s courierem.
Zkompilovano z portu /usr/ports/mail/courier-imap s nastavenim
| - [X] OPENSSL Build with OpenSSL support - -
- - [ ] FAM Build in fam support for IDLE command - -
- - [ ] DRAC Build in DRAC support - -
- - [X] TRASHQUOTA Include deleted mails in the quota - -
- - [ ] GDBM Use gdbm db instead of system bdb - -
- - [X] IPV6 Build with IPv6 support - -
- - [ ] AUTH_LDAP LDAP support - -
- - [X] AUTH_MYSQL MySQL support - -
- - [ ] AUTH_PGSQL PostgreSQL support - -
- - [ ] AUTH_USERDB Userdb support - -
- - [ ] AUTH_VCHKPW Vpopmail/vchkpw support
autentifikace
/usr/local/etc/authlib/authmysqlrc
MYSQL_SERVER localhost
#nasledujici 2 polozky nastavit dle toho,co jste vlozili do DB
MYSQL_USERNAME postfix
MYSQL_PASSWORD XXXXXX
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_PORT 0
MYSQL_OPT 0
MYSQL_DATABASE postfix
MYSQL_USER_TABLE mailbox
#MYSQL_CLEAR_PWFIELD password
MYSQL_CRYPT_PWFIELD password
#cislo zmenit dle virtual_uid_maps = static:125
MYSQL_UID_FIELD '125'
MYSQL_GID_FIELD '125'
MYSQL_LOGIN_FIELD username
#cestu zmenit dle virtual_mailbox_base = /usr/local/virtual/ v main.cf
MYSQL_HOME_FIELD '/usr/local/virtual/'
MYSQL_MAILDIR_FIELD maildir
MYSQL_NAME_FIELD name
MYSQL_QUOTA_FIELD quota
MYSQL_WHERE_CLAUSE active='1'
kontrola behu
sockstat -4 | grep courier
root couriertcp 3182 5 tcp4 *:995 *:*
root couriertcp 3176 5 tcp4 *:993 *:*
root couriertcp 3169 5 tcp4 *:110 *:*
root couriertcp 3163 5 tcp4 *:143 *:*
po zkousce telnetem
www# telnet 127.0.0.1 110
Trying 127.0.0.1...
Connected to localhost.dvorec.eu.
Escape character is '^]'.
+OK Hello there.
user spravce(X)dvorec.eu
+OK Password required.
pass AAAAAAA
-ERR Temporary problem, please try again later
Connection closed by foreign host.
v logu
Oct 19 10:33:25 www couriertcpd: spravce(X)dvorec.eu:
chdir(/usr/local/virtual/) failed!!
Oct 19 10:33:25 www couriertcpd: error: Permission denied
Oct 19 10:33:25 www couriertcpd: LOGIN FAILED, user=spravce(X)dvorec.eu,
ip=[::ffff:127.0.0.1]
Oct 19 10:33:25 www couriertcpd: authentication error: Permission denied
Koukal jsem do nekolika ruznych navodu,ale vsude to maji priblizne
stejne. Ale jim to na rozdil ode me funguje.
Vim,ze jsem nekde zase prehlidnul nejakej detail,nicmene nemohu jej najit.
--
s pozdravem
Votruba Jaroslav
More information about the Users-l
mailing list