<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10832</bug_id>
          
          <creation_ts>2007-02-13 16:38:28 +0300</creation_ts>
          <short_desc>не работает с postfix</short_desc>
          <delta_ts>2008-01-29 09:13:58 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cyrus-sasl2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Sidorov">alexsid</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>asy</cc>
    
    <cc>eostapets</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>solo</cc>
    
    <cc>taf</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45318</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Sidorov">alexsid</who>
    <bug_when>2007-02-13 16:38:28 +0300</bug_when>
    <thetext>cyrus-sasl2_2.1.22-alt1.1
saslauthd нормально запускается.
однако при попытке авторизоватся на постфиксе в логах лезет

warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/
sasldb2: No such file or directory

и аутентификация обламывается.
непонятно, зачем ему всё-таки sasldb2, если

# cat /etc/postfix/sasl/smtpd.conf 
pwcheck_method: saslauthd
mech_list: plain login

версия cyrus-sasl2_2.1.20-alt8 при тех-же настройках работает нормально.
P.S.: судя по всему баг проявляется не у всех.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45319</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Sidorov">alexsid</who>
    <bug_when>2007-02-13 16:44:19 +0300</bug_when>
    <thetext>Добавлю: При всём этом testsaslauthd отрабатывает как надо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45333</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Sidorov">alexsid</who>
    <bug_when>2007-02-14 11:02:59 +0300</bug_when>
    <thetext>Решение:
1. Прописать либо
в /etc/sysconfig/saslauthd:
OPTIONS=&quot;-a ldap -O /etc/sasl2/saslauthd.conf -m /var/spool/postfix/var/run/
saslauthd&quot;
либо в /etc/fstab:
/var/run/saslauthd /var/spool/postfix/var/run/saslauthd none rw,bind 0 0
2. запихать файл /etc/postfix/sasl/smtpd.conf в /etc/sasl2/smtpd.conf

Но вообще - нужно что-то делать с пакетом.....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47740</commentid>
    <comment_count>3</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2007-04-03 15:34:47 +0400</bug_when>
    <thetext>Бага по факту INVALID, потому как связывание постфикса и saslauthd - само собой
разумеещееся действие. А вот то, что не найдя saslauthd, оно лазит в /etc/sasl2/
sasldb2 - вот это видимо баг.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62103</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-01-28 11:48:04 +0300</bug_when>
    <thetext>reassign</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62200</commentid>
    <comment_count>5</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2008-01-29 09:13:58 +0300</bug_when>
    <thetext>Нет, всё таки это багу я закрываю.

Насчёт лазанья в /etc/sasl2/sasldb2 можно повесить отдельную багу.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>