Postanowiłem postawić u siebie serwer poczty postfix mysql courier-imap i courier-pop. Chciałbym żeby poczta nie znajdowała się w katalogach domowych a w /var/spool/mail/. Wysyłanie poczty działa dobrze ale przy ściąganiu poczty przez pop mam taki błąd:
Kod: Zaznacz cały
Aug 10 23:46:30 test courierpop3login: Connection, ip=[::ffff:172.16.176.1]
Aug 10 23:46:30 test authdaemond: received auth request, service=pop3, authtype=login
Aug 10 23:46:30 test authdaemond: authmysql: trying this module
Aug 10 23:46:30 test authdaemond: SQL query: SELECT username, userpassword, userpassword, 1002, 1002., /var/spool/mail/, "", "", "", "" FROM virtual_users WHERE username = "[email protected]."
Aug 10 23:46:30 test authdaemond: mysql_query failed, reconnecting: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/var/spool/mail/, "", "", "", "" FROM virtual_users WHERE username = "test@testo' at line 1
Aug 10 23:46:30 test authdaemond: mysql_query failed second time, giving up: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/var/spool/mail/, "", "", "", "" FROM virtual_users WHERE username = "test@testo' at line 1
Aug 10 23:46:30 test authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Aug 10 23:46:30 test courierpop3login: LOGIN FAILED, user=test, ip=[::ffff:172.16.176.1]
Aug 10 23:46:30 test courierpop3login: authentication error: Input/output error
Kod: Zaznacz cały
MYSQL_SERVER localhost
MYSQL_USERNAME postfix
MYSQL_PASSWORD test
MYSQL_PORT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE virtual_users
MYSQL_CRYPT_PWFIELD userpassword
DEFAULT_DOMAIN testowa.pl
MYSQL_UID_FIELD 1002
MYSQL_GID_FIELD 1002
MYSQL_LOGIN_FIELD username
MYSQL_HOME_FIELD /var/spool/mail/
MYSQL_MAILDIR_FIELD concat(virtual_mailbox,'/')
[Dodano: 2008-08-10, 22:35]
Czy ktoś mógłby pomóc?
[Dodano: 2008-08-10, 22:37]
Czy ktoś mógłby pomóc?