From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mike Lykov Organization: Vesna To: community@altlinux.ru Subject: Re: [Comm] postfix & sasl Date: Thu, 10 Jun 2004 09:09:05 +0500 User-Agent: KMail/1.5.4 References: <40C46C2A.000001.06475@tide.yandex.ru> <200406091652.37029.combr@vesna.ru> <40C70D42.00000D.16126@tide.yandex.ru> In-Reply-To: <40C70D42.00000D.16126@tide.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200406100909.05205.combr@vesna.ru> X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.16.4 X-Sanitizer: Anomy X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 04:08:33 -0000 Archived-At: List-Archive: List-Post: В сообщении от Среда 09 Июнь 2004 18:14 unix9 написал: > С помощью saslpasswd2 создаю юзера, с помощью sasldblistusers2 проверяю > есть ли он в базе. И в итоге получаю postfix/smtpd[3345]: warning: SASL > authentication failure: no secret in database > Как это простите понимать? очень легко. вы создаете узера в /etc/sasl2/ , а он ищет его в /var/spool/postfix/etc/sasl2/ для заведения узера я написал такое: (оформить как скрипт sh) saslpasswd2 $1 cp -i /etc/sasl2/sasldb2 /var/spool/postfix/etc/sasl2/sasldb2 sasldblistusers2 | grep $1 -- Mike Lykov Samara, "Vesna" parfum company, System administrator