Содержимое imapd.conf и cyrus.conf (рекомендуется использовать тег форума [ codebox ] [ /codebox ] без пробелов) и вывод команды sasldblistusers2?извени, задержался с ответом. Трояна через открытый фаер запустил.))) Консоль у меня кривая, поэтому скопировать содержимое конфов скопировать не могу. команда отображает все как и надо:[snapback]5862[/snapback]
извени, задержался с ответом. Трояна через открытый фаер запустил.))) Консоль у меня кривая, поэтому скопировать содержимое конфов скопировать не могу. команда отображает все как и надо:Файлы нужно скопировать, например, при помощи FTP. Что за "realm по умолчанию"?
[email protected] userPassword
realm по умолчанию tept.edu.ru, в imapd.conf - admins: admin. Такое ощущение, что cyrus и sasl не договариваются. Т.Е. cyrus не может пользовать юзеров sasl. :huh:[snapback]5875[/snapback]
admins: [email protected]
и использовать вот такую команду: cyradm --user [email protected] localhost
Файлы нужно скопировать, например, при помощи FTP. Что за "realm по умолчанию"?сейчас попробую, сенкс
Рекомендуется в imapd.conf указатьCode: [Select]admins: [email protected]
и использовать вот такую команду:Code: [Select]cyradm --user [email protected] localhost
[snapback]5881[/snapback]
Это cyrus.conf
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=0
# nntps cmd="nntpd -s" listen="nntps" prefork=0
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
# lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression,
# Sieve or NNTP
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
}
configdirectory: /var/imap
partition-default: /var/spool/imap
servername: tept.edu.ru
admins: [email protected]
sieveusehomedir: false
sievedir: /var/imap/sieve
allowanonymouslogin: no
autocreatequota: 10240
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
sasl_pwcheck_method: auxprop
lmtp_overquota_perm_failure: no
unixhierarchysep: no
virtdomains: userid
defaultdomain: tept.edu.ru
loginrealms: tept.edu.ru
Make sure Cyrus can read "/etc/sasldb2":
chown cyrus /etc/sasldb2*
это откуда?QuoteMake sure Cyrus can read "/etc/sasldb2":
chown cyrus /etc/sasldb2*[snapback]5894[/snapback]
Из документации к cyrus-imapd.биг, просто биг сенкс. В статье по которой я делал было это упущено, а в доках я че то сам не нашел....[snapback]5898[/snapback]
Create the configuration directory specified by the "configdirectory" option in "imapd.conf." The configuration directory is similar in concept to the "/usr/lib/news" directory. It stores information about the IMAP server as a whole.
This document uses the configuration directory "/var/imap" in its examples. This directory should be owned by the cyrus user and group and should not permit access to other users.
cd /var
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
Create the default partition directories specified in the "/etc/imapd.conf" file.
This document uses a default partition directory of "/var/spool/imap" in the following example:
cd /var/spool
mkdir imap
chown cyrus imap
chgrp mail imap
chmod 750 imap
The partition directory is similar in concept to /var/spool/news. It is where the mailboxes are stored. Unlike most netnews systems, Cyrus allows you to have more than one partition.
If you wish to use Sieve, and you didn't configure deliver to look in home directories (see the imapd.conf man page), create the Sieve directory:
cd /usr
mkdir sieve
chown cyrus sieve
chgrp mail sieve
chmod 750 sieve