所以我试图让我的头在这方面的工作与人们如何可以通过SMTP和发送邮件发送凭据进行身份validation有关。 与典型的默认设置后缀和dovecot(类似http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL ),我是否明白,这将validation用户对/ etc / passwd或类似? 因此,什么是过程或用户创build或通过useradd / adduser完成? (这意味着没有用户名到电子邮件别名的直接链接,并且任何将别名转发到邮箱位置都必须以某种方式成功链接到用户名)。 我也有这个问题,即使我设置了一个unix帐户,我无法与服务器进行SMTP连接,并成功通过身份validation发送电子邮件(通过telnet尝试)。 那么可能有什么限制呢? 我知道postfix有一个可信的中继节点(使用variables“mynetworks”)的概念,所以我发送的地方不需要在那里,对吗? (否则几乎没有任何意义,因为“mynetworks”为您提供完整的中继访问)。 对不起,如果我没有解释得很好,但Postfix / Dovecot文档是有点棘手的阅读。
我试图使用Dovecot + Postfix + Mysql到目前为止一切正常。 由于从Debian 6升级到7,我无法发送邮件。 接收仍然是可能的。 /var/log/mail.log Oct 22 15:21:24 XXXXXXXX postfix/smtpd[17765]: warning: XXXXX: SASL PLAIN authentication failed: no mechanism available 我试图研究这个错误,并发现了一些事情,迄今为止并没有真正的帮助。 这是我postconf -n的输出 alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix dovecot_destination_recipient_limit = 1 html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_size_limit = […]
我越来越疯狂configurationPOSTFIX + DOVECOT +validationSMTP(SASL现在)。 stream行/ imap帐户运作良好,以获得邮箱,但我不能login到smtp使用sasl: 这里: [root@mail postfix]# telnet localhost smtp Trying ::1… telnet: connect to address ::1: Connection refused Trying 127.0.0.1… Connected to localhost. Escape character is '^]'. 220 localhost ESMTP ehlo localhost 250-localhost 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN CRAM-MD5 250-AUTH=PLAIN LOGIN CRAM-MD5 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN auth plain aW5mby5jb20AaW5mby5jb20AcG9yY29kZGlv […]
我已经configuration了Policyd v2(cluebringer)对msg计数对SASL和非SASL用户应用配额。 在policyd中很容易[1]。 但是我不知道如何configurationpostfix(2.7.1)。 现在我有这个(不重要的规则删除): smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, check_policy_service必须在permit_sasl_authentificated之前必须能够检查SASL用户(因为permit_sasl_authentificated返回OK,并且没有其他权限被检查)。 但是在这里的意思是说,它会计算每个接收到的电子邮件尝试的配额 – 不pipe它是否会被postfix接受(因为greylist / blacklist和reject_unauth_destination在check_policy_service之后)。 因此,所有被拒绝的垃圾邮件都将依靠收件人用户的配额。 如何为SASL传入电子邮件和服务器接受的非SASL电子邮件调用policyd? 1]: http : //lists.policyd.org/pipermail/users_lists.policyd.org/2012-October/004002.html
我有一个邮件服务器(mail.mydomain.com),其中设置了一个中继: /etc/postfix/main.cf : # Smarthost relayhost = [smtpcorp.com]:2525 smtp_sasl_password_maps = hash:/etc/postfix/smtpcorp_passwd 因此,我的任何使用mail.mydomain.com作为SMTP服务器的用户,基本上都会使用自己的用户名和密码进行身份validation(与dovecot使用的用户名和密码相同),然后他们会转到smtpcorp.com ,该用户名/密码是他们从未见过的。 这很好。 但是,当mail.mydomain.com运行cron脚本并尝试发送别名到我的电子邮件地址的根目录时,它将失败,因为没有进行身份validation。 Jul 27 08:34:06 mail postfix/smtp[5058]: D37641FA98: to=<[email protected]>, relay=smtpcorp.com[207.58.147.66]:2525, delay=0.96, delays=0/0/0.86/0.1, dsn=5.0.0, status=bounced (host smtpcorp.com[207.58.147.66] said: 550 Relay denied for unauthenticated sender (in reply to RCPT TO command)) 我如何免除localhost和mail.mydomain.com : 必须使用SMTP智能中继 或者根本不需要使用SASLauthentication来使用智能中继 / etc / aliases : mailer-daemon: postmaster postmaster: root […]
这是我的Postfixconfiguration的摘录: broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_relay_restrictions = permit_sasl_authenticated, reject 我现在要testing的是,Postfix实际上只接受来自已authentication用户的消息。 因此,我使用telnet(直接在服务器上)发送邮件 – 即使我没有在远程login会话中执行任何身份validation,也是成功的。 这是预期的行为? 摘录的最后一行表明testing不应该起作用! 谢谢!
我有以下几点: postfix-2.10.1-6.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-plain-2.1.26-17.el7.x86_64 cyrus-sasl-2.1.26-17.el7.x86_64 我的postconf -n是: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man […]
有些收件人不会收到来自我的Postfix 2.11.0服务器的电子邮件。 他们的服务器拒绝我的SASL连接,如535 5.7.8 Error: authentication failed: authentication failure和535 5.7.0 authentication failed 。 完整日志: postfix/smtpd[7847]: connect from ip6-localhost[127.0.0.1] postfix/smtpd[7847]: C5FCBC073D: client=ip6-localhost[127.0.0.1] postfix/cleanup[7850]: C5FCBC073D: message-id=<20151125093137.2433.71734@django> postfix/qmgr[1897]: C5FCBC073D: from=<[email protected]>, size=5985, nrcpt=1 (queue active) postfix/smtpd[7847]: disconnect from ip6-localhost[127.0.0.1] postfix/smtp[7851]: C5FCBC073D: SASL authentication failed; server server44.firstfind.nl[93.94.226.70] said: 535 5.7.8 Error: authentication failed: authentication failure postfix/smtp[7851]: C5FCBC073D: SASL authentication failed; […]
我目前正在构build一个我想部署Kerberos的系统。 但是,我对用户pipe理的外部约束不允许我对Kerberos本身的用户进行身份validation。 我不得不authentication用户对第三方LDAP服务器,我不能从中读取密码。 但是,我确实得到了authentication是否成功的答案。 我现在想自动授予这些用户Kerberos票证为他们的委托人,如果这个authentication是成功的。 有什么办法可以设置Kerberos通过SASL对第三方进行身份validation传递给它的密码? 我可能看到的一个解决scheme是在用户主目录中创buildkeytab文件,这些文件被init脚本自动使用来获得Kerberos票据。 不过,我认为这些keytab文件可能会被滥用,并且会更喜欢使用基于密码的替代方法。
使用adcli将RHEL7计算机join到Windows域时,出现问题: couldn't connect to local.net domain: couldn't authenticate to active directory: SASL( -7): invalid parameter supplied: unable to find a callback: 32775 SSSDconfiguration是好的(和工作箱一样),Kerberosconfiguration是好的(可以是kinit )。 我甚至尝试从AD中删除一个工作箱,并重新添加它:这也工作得很好。