From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Content-Type: text/plain; charset="koi8-r" From: Fred To: sisyphus@altlinux.ru Date: Sun, 19 Jan 2003 18:57:25 +0300 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20030119155216.8B8B7E31D8@master.altlinux.ru> Subject: [sisyphus] =?koi8-r?b?ySDP0NHU2A==?= postfix+sasl Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: Приветствую! У меня не получается заставить это работать, как следует. Проблема в том, что не видит (не хочет открывать) базу /etc/sasldb. Проделывал все, как написано в доках, но ни sasldblistusers, ни saslpasswd не открывают sasldb. Вот, что пишут: ]# sasldblistusers Error opening password file /etc/sasldb ]# saslpasswd -u orion.inion.ru -a smtpauth fred Password: Again (for verification): saslpasswd: generic failure ]# logtail /var/log/messages Jan 19 18:31:39 orion saslpasswd: unable to open Berkeley db /etc/sasldb: Invalid argument Jan 19 18:31:46 orion last message repeated 2 times Jan 19 18:31:46 orion saslpasswd: failed to set plaintext secret for fred: generic failure Jan 19 18:31:46 orion saslpasswd: PLAIN: failed to set secret for fred: generic failure Jan 19 18:31:46 orion saslpasswd: unable to open Berkeley db /etc/sasldb: Invalid argument Jan 19 18:31:46 orion saslpasswd: DIGEST-MD5: failed to set secret for fred: generic failure Jan 19 18:31:46 orion saslpasswd: unable to open Berkeley db /etc/sasldb: Invalid argument Jan 19 18:31:46 orion saslpasswd: CRAM-MD5: failed to set secret for fred: generic failure --------------- Что я делаю не так? Настройки такие: ]# ls -l /var/spool/postfix/etc/sasldb -rw-r----- 1 root postfix 1 Jan 19 17:41 /var/spool/postfix/etc/sasldb ]# ls -l /etc/sasldb lrwxrwxrwx 1 root root 29 Jan 19 18:06 /etc/sasldb -> /var/spool/postfix/etc/sasldb ]# ls -l /etc/postfix/sasldb lrwxrwxrwx 1 root root 29 Jan 19 18:06 /etc/postfix/sasldb -> /var/spool/postfix/etc/sasldb ]# cat /usr/local/lib/sasl/smtpd.conf pwcheck_method: sasldb В /etc/postfix/main.cf сейчас вот что, хотя были опробованы и варианты: smtp_sasl_auth_enable=yes smtpd_sasl_auth_enable=yes smtpd_sasl_security_options=noanonymous smtpd_sasl_local_domain = $myhostname smtpd_recipient_restrictions= permit_mynetworks, permit_sasl_authenticated, check_relay_domains -------------- Помогите, плиз, разобраться, чтоя упустил? Заранее спасибо. Да, забыл -- стоит Спринг обсизифленный: ]# rpm -q `rpm -qa | grep postfix` postfix-smtpd-1.1.12-alt1 postfix-1.1.12-alt1 postfix-sasl-1.1.12-alt1 postfix-smtpd-sasl-1.1.12-alt1 ]# rpm -q `rpm -qa | grep cyrus` cyrus-sasl-1.5.28-alt1 -- Fred.