URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 69599
[ Назад ]

Исходное сообщение
"courier-imap"

Отправлено igal , 16-Окт-06 23:26 
FreeBSD6.1 ставлю по ману http://www.opennet.ru/base/net/exim_intro.txt.html
exim mail mta virtual spam virus clamav freebsd imap postgresql
застрял на courier-imap вот тут " Теперь courier знает, что ему нужно аутентифицироваться через pgsql. Надо только
настроить сам pgsql модуль, настройки которого хранятся в authpqsqlrc."
(authpqsqlrc)- не создается или не могу найти!! ─/usr/local/etc/authlib тут нет!Нигде нет!помогите разные варианты пробывал! Помогите!!! Неделя скоро будет как мучусь!!!(

Содержание

Сообщения в этом обсуждении
"courier-imap"
Отправлено fedos , 16-Окт-06 23:47 
>FreeBSD6.1 ставлю по ману http://www.opennet.ru/base/net/exim_intro.txt.html
>exim mail mta virtual spam virus clamav freebsd imap postgresql
>застрял на courier-imap вот тут " Теперь courier знает, что ему нужно
>аутентифицироваться через pgsql. Надо только
>настроить сам pgsql модуль, настройки которого хранятся в authpqsqlrc."
>(authpqsqlrc)- не создается или не могу найти!! ─/usr/local/etc/authlib тут нет!Нигде нет!помогите разные
>варианты пробывал! Помогите!!! Неделя скоро будет как мучусь!!!(


Если ставить из портов то в /usr/local/etc/authlib
можно найти authpgsqlrc.dist и authpgsqlrc
на краняк сам создай
Порт находится не там где courier-imap, а в /usr/ports/security/courier-authlib.


"courier-imap"
Отправлено igal , 17-Окт-06 00:43 
Пробую дальше! вот такой трабл!
ERROR: Error connecting to IMAP server "127.0.0.1:143".Server error: (61) Connection refused
telnet 127.0.0.1 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
/root > netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
tcp4       0    104  192.168.0.99.22        192.168.1.174.4025     ESTABLISHED
tcp4       0      0  *.3306                 *.*                    LISTEN
tcp4       0      0  127.0.0.1.5432         *.*                    LISTEN
tcp6       0      0  ::1.5432               *.*                    LISTEN
tcp4       0      0  *.25                   *.*                    LISTEN
tcp6       0      0  *.25                   *.*                    LISTEN
tcp4       0      0  127.0.0.1.783          *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp6       0      0  *.22                   *.*                    LISTEN
tcp46      0      0  *.80                   *.*                    LISTEN
tcp6       0      0  ::1.953                *.*                    LISTEN
tcp4       0      0  127.0.0.1.953          *.*                    LISTEN
tcp4       0      0  127.0.0.1.53           *.*                    LISTEN
udp6       0      0  ::1.64975              ::1.64975
udp4       0      0  127.0.0.1.123          *.*
udp6       0      0  fe80:3::1.123          *.*
udp6       0      0  ::1.123                *.*
udp4       0      0  192.168.0.99.123       *.*
udp6       0      0  fe80:1::217:8ff:.123   *.*
udp6       0      0  *.123                  *.*
udp4       0      0  *.123                  *.*
udp6       0      0  *.53021                *.*
udp4       0      0  *.53020                *.*
udp4       0      0  127.0.0.1.53           *.*
udp4       0      0  *.514                  *.*
udp6       0      0  *.514                  *.*
Помогите разобратся! Очень прошу!!!


"courier-imap"
Отправлено fedos , 17-Окт-06 01:09 
В /etc/rc.conf
добавь courier_imap_imapd_enable="YES"
и запусти  /usr/loca/etc/rc.d/courier-imap-imapd.sh start
если не заработает смотри /var/log/maillog


"courier-imap"
Отправлено igal , 17-Окт-06 11:35 
>В /etc/rc.conf
>добавь courier_imap_imapd_enable="YES"
>и запусти  /usr/loca/etc/rc.d/courier-imap-imapd.sh start
>если не заработает смотри /var/log/maillog
Прибольшое спасибо! Стартонуло! Если не трудно пожалуйста помогите добить это дело!
/root > telnet 127.0.0.1 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.
Connection closed by foreign host.

ERROR: Connection dropped by IMAP server.
Кусок maillog

Oct 17 00:00:00 wifi newsyslog[737]: logfile turned over
Oct 17 10:26:14 wifi spamd[508]: spamd: server killed by SIGTERM, shutting down
Oct 17 10:28:15 wifi spamd[506]: logger: removing stderr method
Oct 17 10:28:17 wifi spamd[508]: Can't call method "string" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.8/Mai>
Oct 17 10:28:17 wifi spamd[508]: spamd: server started on port 783/tcp (running version 3.1.0)
Oct 17 10:28:17 wifi spamd[508]: spamd: server pid: 508
Oct 17 10:28:17 wifi spamd[508]: spamd: server successfully spawned child process, pid 513
Oct 17 10:28:17 wifi spamd[508]: spamd: server successfully spawned child process, pid 514
Oct 17 10:28:17 wifi spamd[508]: prefork: child states: II
Oct 17 10:29:00 wifi imapd: LOGOUT, ip=[::ffff:127.0.0.1]
Oct 17 10:36:01 wifi imapd: authdaemon: s_connect() failed: No such file or directory
Oct 17 10:36:01 wifi imapd: LOGIN FAILED, user=igal, ip=[::ffff:127.0.0.1]
Oct 17 10:36:01 wifi imapd: authentication error: No such file or directory