Articles of sasl

如何loggingsaslauthd崩溃

是否有可能loggingsaslauthd崩溃? 最近我有一些崩溃,有消息,不能findsaslauth机制。

Postfix + Courier + MySql邮件服务器与SASL

我真的无所事事configuration这个邮件服务器部署。 我正在遵循http://flurdy.com/docs/postfix/上的优秀指南。 我在Linode上使用Ubuntu 10.04 LTS。 在按照该指南的信件时,从Thunderbird邮件客户端发送邮件时遇到了来自Postfix的错误。 warning: SASL authentication failure: no secret in database 其后是通用authentication失败消息。 在Googlesearch后,我在Postfix文档中发现了一些似乎抵消了Flurdy指南的内容: 如果您必须存储encryption的密码,则不能使用ldapdb auxprop插件。 相反,您可以使用“saslauthd -a ldap”直接查询LDAP数据库,并在saslauthd.conf中进行适当的configuration。 这可能会在本文档的更高版本中logging。 您将无法使用任何需要访问明文密码的方法,例如共享密钥方法CRAM-MD5和DIGEST-MD5。 该指南似乎依靠PAM来绕过这个限制,但我认为这是我的configuration不工作的腿(数据库错误的秘密)。我从我的/ etc删除了CRAM-MD5和DIGEST-MD5机制/postfix/sasl/smtpd.conf,现在我可以使用PLAINlogin。 问题是这些密码现在是未encryption传输的。 还有一个奇怪的问题,我们的Thunderbird客户端似乎无法将消息保存到“已发送”文件夹,并在传输完成后挂在发送进度条上。 我想继续configurationTLS,使连接更安全,但到目前为止,这是一个噩梦,我几乎不敢进一步冒险破坏configuration。 我对这些服务并不是很熟悉,并且会喜欢正确的方向。 组态: /etc/postfix/sasl/smtpd.conf pwcheck_method: saslauthd mech_list: plain login log_level: 7 allow_plaintext: true auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_user: mail sql_passw: *redacted* sql_database: maildb sql_select: select crypt […]

后缀:sha1密码encryption

我遵循这个后缀指南,并坚持authentication(SASL)点。 我做了所有我应该没有问题,但我仍然可以login到smtp没有任何login名/密码。 我做telnet 127.0.0.1 25 ,我没有提供任何密码。 还有,我的目标是在数据库中使用SHA1作为密码哈希方法。 我现在真的很困惑。 我发现误导职位,我应该使用TLS而不是SASL或使用鸽子等 什么即时做错了? 我完全没有意识到使用SASL,不了解这一点。

麻烦postfix安装(客户端超时)

我刚装了一个基本的服务器(Ubuntu 12.04 LTS / Precise Pangolin),并且已经安装了基于Ubuntu手册的Postfix和Dovecot。 https://help.ubuntu.com/community/Dovecot https://help.ubuntu.com/community/Postfix Postfix将邮箱从我的Gmail账户中取出,例如: sendmail [redacted]@gmail.com < /etc/motd 使用Eudora的开源客户端testing远程访问,我可以成功下载电子邮件,所以Dovecot / POP3似乎正在运行。 但是,我似乎无法让Eudora从本地计算机发送电子邮件。 根据我使用的安全/端口configuration,通常会超时。 我似乎能够通过本地terminal和远程shell(例如从远程服务器)访问: $ telnet lists.teachers.net 25 Trying 50.56.184.186… Connected to lists.teachers.net. Escape character is '^]'. 220 lists.teachers.net ESMTP Postfix (Ubuntu) ehlo lists.teachers.net 250-lists.teachers.net 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN […]

限制端口25仅限本地交付

我configuration了我的后缀,以便我的服务器下的用户通过端口587发送邮件,端口25将只用于从邮件服务器接收邮件。 如果连接到端口25的邮件不允许在邮件服务器之外,并且由于拒绝中继访问而被拒绝,我就成功了。 而在端口587上,客户端能够将邮件发送到外部邮件服务器。 为了实现这一点,我已经在我的main.cf中设置了 smtpd_recipient_restriction=permit_mynetworks, reject_unauth_destination 那是我删除了permit_sasl_authenticated。 如果我添加这个条件,邮件被允许发送到networking之外,如果我正在删除条件,任何人都可以连接到端口25,因为没有身份validation可以发送任何数量的邮件给本地收件人。 我可以在端口25上使用sasl身份validation的方式是什么,但是阻止它在我的networking外部传递邮件。 在main.cf中设置: smtpd_recipient_restrictions= reject_unauth_pipelining,permit_mynetworks,reject_unauth_destination, reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_recipient_domain, reject_non_fqdn_recipient,reject_unauth_destination,check_sender_access mysql:/etc /postfix/mysql-virtual_sender.cf,reject_non_fqdn_sender, reject_unknown_sender_domain,reject_unknown_recipient_domain,reject_rbl_client cbl.abuseat.org,reject_rbl_client dul.dnsbl.sorbs.net,reject_rbl_client ix.dnsbl.manitu.net,check_recipient_access mysql:/etc/postfix/mysql- virtual_recipient.cf,permit 在master.cf中设置 submission inet n – – – – smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject

postfix relayhost'收件人无法识别。 中继访问被拒绝'

我试图让后缀通过我的smtp帐户与另一个电子邮件提供商发送电子邮件(在这种情况下lavabit.com) 我收到错误 收件人不被识别。 中继访问被拒绝 这使我想它试图发送电子邮件到外部smtp和拒绝它,因为没有该地址的帐户,而不是与我的帐户login身份validation,并通过外部smtp作为该帐户(我)发送电子邮件。 我的sasl_passwd文件显示如下: mail.lavabit.com [email protected]:password 和我的master.cf读取: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) […]

Postfix忽略与dovecot SASL – 如何debugging?

我最近升级了我的服务器(Ubuntu 12.03),今天我注意到SMTP不再提供authentication。 我的设置是使用虚拟邮箱+ MySQL。 Telnet会话: telnet mail.mydomain.net 25 Connected to mail.mydomain.net. Escape character is '^]'. 220 mail.mydomain.net ESMTP Postfix (Ubuntu) ehlo test-domain.com 250-mail.mydomain.net 250-PIPELINING 250-SIZE 402400000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 但是,我无法确定在哪里debugging问题。 (编辑:幸运的是,中继仍然被禁止,我的testing是有缺陷的)。 我的相关后缀configuration: # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key smtpd_use_tls = yes smtpd_tls_session_cache_database […]

Postfix SASL SMTPauthentication

我在Debian上安装了Postfix&Dovecot。 然后我尝试按照本指南使用SMTPauthentication: http://www.postfix.org/SASL_README.html 不幸的是,下面的testing尾巴: telnet localhost 25 auth plain <base64 encoded usernaem/password> 我们得到一个“535 5.78错误:身份validation失败:” 在var / log / mail.warn中,我们需要一个新行:“warning:localhost [127.0.0.1]:SASL PLAIN身份validation失败:” 不幸的是,它并没有说出什么问题。 有任何想法吗?

saslauthd + PostFix产生密码validation和validation错误

所以我试图在使用SASL的时候安装PostFix(Cyrus首选,我之前使用的是dovecot,但是我从dovecot切换到信使,所以我想使用cyrus而不是dovecot),但是我似乎遇到了问题。 这是我收到的错误: ==> mail.log <== Aug 10 05:11:49 crazyinsanoman postfix/smtpd[779]: warning: SASL authentication failure: Password verification failed Aug 10 05:11:49 crazyinsanoman postfix/smtpd[779]: warning: ipname[xx.xx.xx.xx]: SASL PLAIN authentication failed: authentication failure ==> mail.info <== Aug 10 05:11:49 crazyinsanoman postfix/smtpd[779]: warning: SASL authentication failure: Password verification failed Aug 10 05:11:49 crazyinsanoman postfix/smtpd[779]: warning: ipname[xx.xx.xx.xx]: SASL PLAIN authentication […]

Postfix,Dovecot和SASL:SASL不存在

看起来我没有SASL支持,但是我已经检查了我的configuration对所有的在线教程,这对我来说似乎很好。 我也检查了/var/log/mail.log ,里面没有“SASL”这个词。 telnet localhost 25 Trying ::1… Trying 127.0.0.1… Connected to localhost. Escape character is '^]'. 220 GOD ehlo localhost 250-mail.local 250-PIPELINING 250-SIZE 30720000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 虽然它也应该吐出这样的东西: 250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5 250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5 SASL守护进程已启动: ps aux | grep sasl root 10219 0.0 0.2 77836 […]