Articles of sasl

我的Postfix Dovecot saslconfiguration有什么问题?

我按照http://www.postfix.org/SASL_README.html#server_dovecot_comm描述中的规定configuration了postfix和dovecot以激活sasl身份validation。 不幸的是,postfix拒绝每个连接,并在日志中显示以下错误 postfix/smtpd[5238]: fatal: no SASL authentication mechanisms 我正在使用Ubuntu LTS 10.04。 我看到很多人都在报告这个模糊的错误,但没有描述明确的诊断。 目前还不清楚问题是在鸽子一侧还是后缀一侧。 更新 :使用postconf |获得的postfix saslconfiguration grep -e“^ smtpd。* sasl” smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access hash:/etc/postfix/access, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client korea.services.net smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = no smtpd_sasl_exceptions_networks = smtpd_sasl_local_domain = smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_type […]

后缀TLS从未知的连接断开

我安装了sasl的centos 6.4 posttfix和TLS postconf -e alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, […]

在ldap-2.4中启用TLS之后,不能使用EXTERNALauthentication

我使用以下LDIF文件来激活LDAP服务器的TLS支持: dn: cn=config changetype: modify add: olcTLSCipherSuite olcTLSCipherSuite: NORMAL – add: olcTLSCRLCheck olcTLSCRLCheck: none – add: olcTLSVerifyClient olcTLSVerifyClient: never – add: olcTLSCACertificateFile olcTLSCACertificateFile: /etc/ssl/certs/CA.crt – add: olcTLSCertificateFile olcTLSCertificateFile: /etc/ssl/certs/server.pem – add: olcTLSCertificateKeyFile olcTLSCertificateKeyFile: /etc/ssl/private/key.pem 并使用以下LDIF强制客户端连接的TLS使用情况: dn: cn=config changetype: modify add: olcSecurity olcSecurity: tls=1 在此之后,我不能再使用“-Y EXTERNAL”来读取或修改configuration模式。 例如,如果我运行,我得到SASL错误: $ sudo ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b […]

SASL PLAIN使用主域进行身份validation,但不使用虚拟域进行身份validation

Postfix + dovecot和sasl。 到目前为止工作1域。 添加了一个虚拟域。 传入邮件为这个作品。 但是,传出SASL身份validation失败。 为什么失败我不知道。 /etc/sasl2/smtpd.conf看起来像: pwcheck_method: auxprop auxprop_plugin: sasldb mech_list: PLAIN LOGIN postconf -n输出: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailbox_size_limit […]

Dovecot不报告SASLauthentication机制

在我用Ubuntu上的Postfix和Dovecot设置邮件服务器的过程中,我现在可以发送邮件到其他域。 但是,我不能接受别人。 在它读取的日志中 Jun 14 09:34:35 postfix/smtpd[27426]: connect from mail-wg0-f44.google.com[74.125.82.44] Jun 14 09:34:35 postfix/smtpd[27426]: warning: SASL: Connect to private/auth failed: Permission denied Jun 14 09:34:35 postfix/smtpd[27426]: fatal: no SASL authentication mechanisms Jun 14 09:34:36 postfix/master[18697]: warning: process /usr/lib/postfix/smtpd pid 27426 exit status 1 Jun 14 09:34:36 postfix/master[18697]: warning: /usr/lib/postfix/smtpd: bad command startup — throttling 我不知道我的configuration有什么错误。 […]

Postfix(SASL)/ MySQL:使用MD5encryption?

使用Postfix / SASL和MySQL时,是否可以使用MD5密码encryption来encryption密码? 目前,我的设置是使用MySQL CRYPT()函数,由于各种原因并不理想。

在FreeBSD的Postfix中不支持SASL吗?

我正在pipe理运行Postfix和Dovecot的FreeBSD上设置的邮件服务器。 当我inputpostconf -a ,什么也没有返回。 据我了解,这个命令应该告诉我,如果我的Postfix安装支持SASL。 由于没有返回,我需要做什么来支持外发邮件?

无法通过587连接到SMTP

我正在Ubuntu上设置一个邮件服务器: https : //help.ubuntu.com/community/Postfix 目前,我可以发送和接收来自服务器的电子邮件。 但是,尝试通过SMTP从Gmail发送电子邮件会导致身份validation失败。 我已经validation了我的密码,确保端口是开放的,并且能够telnet到IP和端口。 Telnet输出(来自远程主机) Computer:~ Louis$ telnet mail.mysite.com 587 Trying 71.66.218.124… Connected to mail.mysite.com (71.66.218.124). Escape character is '^]'. 220 mail.mysite.com ESMTP Postfix ehlo mail.mysite.com 250-mail.mysite.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH DIGEST-MD5 NTLM CRAM-MD5 PLAIN LOGIN 250-AUTH=DIGEST-MD5 NTLM CRAM-MD5 PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN 而且,testing我的login信息: sudo testsaslauthd -u […]

postfwd不限速sasl用户

我想使用postfwd版本2来限制我的saslauthentication用户发送的每日邮件数量。 我安装了最新的tarball:postfwd-1.35和Centos 6.4的最新的postfix 在我我只有这个规则 id=RULEZEROSASL sasl_username=~/^(\S+)$/ action=rcpt(sasl_username/500/86400/REJECT only 500 recipients per day for $$sasl_username) 它应该只拒绝具有authentication用户的邮件(不是来自信任的邮件服务器的邮件)。 我postfwd2监听tcp 10045和我的后缀main.cf我有 # Restriction Classes smtpd_restriction_classes = postfwdcheck postfwdcheck = check_policy_service inet:127.0.0.1:10045 127.0.0.1:10045_time_limit = 3600 … smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated permit_tls_clientcerts reject_unauth_destination check_recipient_access hash:/etc/postfix/access reject_invalid_helo_hostname # postfwd con rate limiting check_policy_service inet:127.0.0.1:10045 warn_if_reject reject_non_fqdn_helo_hostname warn_if_reject reject_unknown_helo_hostname warn_if_reject reject_unknown_client reject_non_fqdn_sender reject_non_fqdn_recipient […]

Postfix不需要validation本地电子邮件?

根据本教程,我有一个Postfix / Courier邮件服务器(通过SASL / MySQLvalidation)。 我目前在Debian 6上运行我的服务器,它是一个VPS。 它可以很好地工作,但我似乎无法validation入站电子邮件发送。 如果我从Outlook发送的电子邮件禁用SMTP身份validation,所有事情都会发生,而且我没有被拒绝,服务器上的日志告诉我: Dec 19 09:39:33 new postfix/smtpd[20439]: connect from unknown[****] Dec 19 09:39:33 new postfix/smtpd[20439]: 7FF1E469840: client=unknown[****] Dec 19 09:39:33 new postfix/cleanup[20444]: 7FF1E469840: message-id=<000c01cefc31$41319a90$c394cfb0$@email@mydomain> Dec 19 09:39:33 new postfix/qmgr[20429]: 7FF1E469840: from=<email@mydomain>, size=2730, nrcpt=1 (queue active) Dec 19 09:39:33 new postfix/virtual[20445]: 7FF1E469840: to=<email@mydomain>, relay=virtual, delay=0.49, delays=0.4/0.08/0/0.01, dsn=2.0.0, status=sent (delivered […]