Articles of saslauthd

使用postfix和sasldb诊断SASL LOGIN身份validation失败

我正在尝试使用sasldb2在我的个人计算机(ubuntu服务器)上configurationPostfix SMTP服务器。 到目前为止,我已经设置的testing命令很好地工作: testsaslauthd (但是可能值得注意的是,即使它属于sasl组,也不能在/ var / spool / postfix / var / run / saslauthd上执行chmod + x,因为它不会以权限错误结束。我正在chroot工作) 但是,当我telnet我的服务器尝试和validation它,我得到一个非常通用的 5.7.8 Error: authentication failed: authentication failure 和/var/log/mail.log没有更多的信息(一行,大致相同)。 我的理解是,这是一个简单的后缀错误configuration,我已经尝试了许多不同的select,没有令人满意的结果。 我的/etc/postfix/sasl/smtpd.conf现在是: pwcheck_method: saslauthd mech_list: plain login allow_plaintext: true (虽然我也尝试过使用sasldb auxprop插件的auxprop)。 /etc/postfix/main.cf包含相关的行: smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_path = smtpd smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination […]

Postfix + Saslauthd + Kerberos 5 + CentOS 7不能正常工作

我几乎得到了saslauthd检查Kerberos,但在CentOS 7上看到最后一些问题。当postfix与saslauthd交谈时,它发送一个小写域,它不会被更正。 我试图修复/etc/krb5.conf使用[domain_realms]但没有工作。 testsaslauthd正常工作,和kinit一样。 saslfinger – postfix Cyrus sasl configuration Mon Oct 13 02:09:37 EDT 2014 version: 1.0.2 mode: server-side SMTP AUTH — basics — Postfix: 2.10.1 System: CentOS Linux release 7.0.1406 (Core) — smtpd is linked to — libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007fb849a49000) — active SMTP AUTH and TLS parameters for smtpd — broken_sasl_auth_clients = […]

使用sasldb进行postfix和sasl的authnetication失败

我真的不知道我的问题是什么。 我已经检查了几个指南,我确信我已经正确地设置了这个,包括configuration失败,重新启动服务,权限等操作系统是Ubuntu服务器。 使用testsaslauthd -u myemail@mydomain-p password 我只得到: 0: NO "authentication failed" 我的postfix.conf(注释删除): smtpd_sasl_auth_enable = yes smtpd_sasl_type = cyrus smtpd_sasl_path = smtpd smtpd_sasl_local_domain = $mydomain smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no append_dot_mydomain = no readme_directory = no smtpd_use_tls=no smtpd_relay_restrictions = permit_mynetworks defer_unauth_destination myhostname = mydomain alias_maps = […]

即使它似乎工作Saslauthd LDAP错误

我有一个颠覆服务器(svnserve)在我的Ubuntu上安装。 在我的svnserve.conf我设置了SASLauthentication: …. [sasl] ### This option specifies whether you want to use the Cyrus SASL ### library for authentication. Default is false. ### This section will be ignored if svnserve is not built with Cyrus ### SASL support; to check, run 'svnserve –version' and look for a line ### reading 'Cyrus SASL authentication is […]

Postfix SASL允许SMTPauthentication和中继消息

我想设置我的SMTP服务器,以便它只允许SMTPauthentication用户发送电子邮件,但实际发送是通过Mailjet完成的。 我在Ubuntu 14.04 LTS上运行,Postfix版本是mail_version = 2.9.6 如果客户端使用凭证进行身份validation – 它们将被validation(如果它们无效,则该消息被拒绝)。 但是,如果客户不authentication,客户仍然可以发送邮件。 请注意,我正在尝试将电子邮件发送到所有域。 不只是限制名单。 我如何拒绝所有非授权用户? main.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 […]

SMTPauthentication:saslauthd不会启动

我已经build立了一个邮件服务器,工作正常,但现在我想用SASL添加SMTPauthentication。 不过,试图启动saslauthd(我的系统是Ubuntu 16.04)不起作用,但我也没有得到任何错误消息。 这是我的/ etc / default / saslauthd,对我的服务器来说应该是正确的(smptd不能作为chroot运行): / etc / default / saslauthd 我得到了saslauthd运行在一个点(五个实例显示由ps),但是当我使用telnettesting它似乎它与后缀的交互仍然无法正常工作,所以我试图改变大量的东西,但无论如何我做了什么来恢复这些变化,我不能让saslauthd再次启动。 这是试图启动saslauthd时的strace输出: strace输出 我找不到有关为什么它不会在这个输出中启动的任何相关信息。 有人有一个想法是什么原因可能是? 或者我能做些什么才能find答案? 在此先感谢和亲切的问候

Postifx和Dovecot:致命的:没有SASLauthentication机制

当我从我的Gmail发送testing邮件到我的服务器,我得到这个错误: 致命的:没有SASLauthentication机制 这里是我所有的configuration文件和日志文件,以帮助我们: 在/ var /日志/ maillog的 Nov 4 14:42:49 ns1 postfix/postfix-script[2147]: stopping the Postfix mail system Nov 4 14:42:49 ns1 postfix/master[1340]: terminating on signal 15 Nov 4 14:42:49 ns1 postfix/postfix-script[2228]: starting the Postfix mail system Nov 4 14:42:49 ns1 postfix/master[2230]: daemon started — version 2.10.1, configuration /etc/postfix Nov 4 14:45:37 ns1 postfix/smtpd[2314]: connect from […]

当我通过IMAP检查我的邮件时,我的webmail访问(代理CAS)失败

我使用一个提供门票的web sso门户。 我“cassify”我的webmail和我的imap服务器(cyrus-imapd)。 当我从Webmail(代理CAS)获取我的电子邮件时,没关系。 除了如果我用传统的IMAP客户端获取我的电子邮件,并尝试从Webmail再次获取,我有不好的身份validation。 这似乎是一个已知的问题。 事实上(如果我理解的话),saslcaching在开始时会得到一个类似于密码的PT(来自webmail),并且在密码之后(来自传统的IMAP客户端)。 我找不到改正它的好方法。 这就是为什么我在这里发表我的问题。 我尝试使用pam_ccreds,但我仍然有很多身份validation错误到mail.log中。 所以我尝试使用saslauthd和2个imap服务的两个实例。 在操作系统和软件configuration下面: 操作系统:Debian 8 sasl2-bin:2.1.26.dfsg1-13 cyrus-imapd:2.4.17 + caldav〜beta10-18 在我的尝试configuration下面: 在/ etc /默认/ saslauthd START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="pam" THREADS=5 OPTIONS="-c -m /var/run/saslauthd/mux -r -n 0" 在/ etc /默认/ saslauthd的Web START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="pam" THREADS=5 OPTIONS="-c -m /var/run/saslauthd/muxweb -r -n 0" /etc/pam.d/imapweb auth […]

需要帮助创buildLDAP服务器,从3个独立的AD控制器同步用户

希望我能在这里得到一些帮助,因为我真的一直在殴打我的头在这里ol键盘。 所以,这是情况。 我们最近将最终用户从现场Exchange服务器迁移到Exchange Online,客户select使用Barracuda Cloud Archiving作为归档解决scheme。 这是所有麻烦开始的地方。 梭子鱼告诉我们,当我们开始这个项目的时候,我们将能够对所有三个区议会进行authentication,因为我们假设三个区议会都在同一个森林里。 那么,梭子鱼是不能够authentication的,因为他们是在一个信任而不是一个森林。 Barracuda使用一个outlook插件,要求他们的服务器对我们的ldap服务器进行身份validation,以允许访问最终用户的归档邮箱。 现在,Barracuda只能接受一个LDAP连接来进行身份validation,所以我们坚持2/3的用户无法进行身份validation。 作为一种解决方法,我的想法(除了正确地重build域,这是在计划中,但不是最高优先级,或者我们有足够的时间和资源来将所有用户数据迁移到主要的DC中),就是构build一个Linux服务器,并使用OpenLDAP和SASL身份validation通过身份validation。 到相关DC。 现在,我已经花了至less4整天的时间来解决这个问题,而我却无法完成这个工作。 我可以使用以下命令和结果使testsaslauthd成功运行。 testsaslauthd -u [email protected] -p password 0: OK "Success." 但是当我运行LDAPsearch命令时,结果如下: ldapsearch -x -H ldap://maindc.domain.com -b dc=domain,dc=com -d uid=test,ou=people,dc=my-domain,dc=com -w password ldap_bind: Invalid credentials (49) additional info: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580 所以,我的希望是,也许有人在这里可以帮助我纠正这个错误,或者提供一个更好的方法来做我想做的事情。 我只是一个Jr.系统pipe理员,所以请把它东。 谢谢您的帮助!

赛勒斯:如何configurationsaslauthd进行身份validation?

我试图让Cyrus IMAP(Ubuntu 9.04 v 2.2)安装并正常工作,但是在login正常工作时遇到了一些麻烦。 我为我的testing用户“nrahl”创build了一个邮箱: cm user/nrahl 然后创build一个密码: $ saslpasswd2 nrahl 我正在尝试使用Thunderbird连接到邮箱。 我使用机器的局域网IP地址作为主机,“nrahl”作为用户名。 它连接到服务器并提示我input密码。 当我input时,我得到“login到服务器失败”。 在Thunderbird中,和/var/log/mail.log显示: Apr 15 19:20:01 IMAP cyrus / imap [1930]:接受连接 Apr 15 19:20:09 IMAP cyrus / imap [1930]:badlogin:[192.168.5.21]明文nrahl SASL(-13):身份validation失败:checkpass失败 部分/etc/imapd.conf中删除了注释: sieveusehomedir:错误 sievedir:/ var / spool / sieve #mailnotifier:和风 #sievenotifier:西风 #dracinterval:0 #drachost:localhost hashimapspool:true allowplaintext:是的 sasl_mech_list:PLAIN #allowapop:不 #sasl_maximum_layer:256 #loginrealms:example.com #virtdomains:userid #defaultdomain: sasl_pwcheck_method:saslauthd […]