From: sergey ivanov <seriv@parkheights.dyndns.org> To: sisyphus@altlinux.ru Subject: [sisyphus] help sasl2 postfix-2(deadalus) Date: Thu, 02 Oct 2003 11:58:05 -0400 Message-ID: <3F7C4B0D.7070004@parkheights.dyndns.org> (raw) Всем привет! Ну видимо не зря у меня такое уважение к Постфиксу и всему с ним связанному. Это вам не такой пакет который можно взять, почитать документацию, и разобраться как всё настраивать! Ткнулся я смотреть SMTP аутентификацию. Стоит postfix2 из Deadalus'а. Стоит также libsasl2-2.1.15-alt5 и libsasl2-plugin-mysql-2.1.15-alt5 оба из Сизифа. В /etc/postfix/main.cf мною на предмет аутентификации дописано: ------ smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains smtpd_client_restrictions = ------ Также сочинил файл: ------ # cat /usr/lib/sasl2/smtpd.conf allowplaintext: yes sasl_pwcheck_method: auxprop mysql_user: postfix mysql_password: postfix mysql_hostnames: ivanov-sz1.gtedc.gte.com mysql_database: postfix mysql_statement: select password from mailbox where username='%u@%r' mysql_verbose: yes ------ Про то что в MySQL делается сообщать уважаемому сообществу не имеет смысла, так как в протоколе при попытке аутентификации обнаруживаю: ------ Oct 2 11:47:01 ivanov-sz1 postfix/smtpd-sasl[9338]: connect from unknown[167.241.194.190] Oct 2 11:47:01 ivanov-sz1 postfix/smtpd-sasl[9338]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: No such file or directory Oct 2 11:47:01 ivanov-sz1 postfix/smtpd-sasl[9338]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: No such file or directory Oct 2 11:47:01 ivanov-sz1 postfix/smtpd-sasl[9338]: warning: unknown[167.241.194.190]: SASL LOGIN authentication failed ------ В документации по sasl2 меня грубо отсылают к нусущетвующему файлу: $ cat /usr/share/doc/libsasl2-2.1.15/README ...... Please see doc/index.html for the remainder of the documentation. До этого в рассылке были загадочные намёки про то, что sasldb надо копировать. Объясните пожалуйста, как добиться от postfix SMTP аутентификации через MySQL, если есть такая возможность! С уважением, Сергей.
next reply other threads:[~2003-10-02 15:58 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-02 15:58 sergey ivanov [this message] 2003-10-02 16:07 ` Alexei Takaseev 2003-10-02 16:57 ` sergey ivanov 2003-10-02 17:13 ` sergey ivanov 2003-10-02 18:56 ` sergey ivanov 2003-10-03 6:33 ` vic ismakaev 2003-10-04 19:07 ` [JT][sisyphus] help sasl2 postfix-2(deadalus) и LDAP Viktor S. Grishchenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3F7C4B0D.7070004@parkheights.dyndns.org \ --to=seriv@parkheights.dyndns.org \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git