Articles of 后缀

Postfix + SASL使用错误的查询进行身份validation

我最近在aws ec2实例上按照这个指南设置了postfix + dovecot: http : //flurdy.com/docs/postfix/#config-secure-auth 目前我坚持SASL。 SQL查询似乎没有被configuration。 这里是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_passwd: passwd sql_database: maildb sql_select: select crypt from users where id='%u@%r' and enabled = 1 和 /etc/sasl2/smtpd.conf 节目 pwcheck_method: saslauthd mech_list: plain login log_level: 7 allow_plaintext: […]

我configuration了TLS之后的postfixauthentication问题

我已经设置了我的邮件服务器与SMTP和Dovecot IMAP的Postfix。 而不是虚拟用户,我只是倾听来自Server Fault的人的build议,并与Linux用户一起。 我使用RainLoop作为networking邮件服务。 我configuration了SPF,为了让我的电子邮件到达其他提供者,我必须使用身份validation。 所以我(试图)设置TLS来处理我使用Let's Encrypt客户端获得的SSL证书。 以下是我的main.cf文件: # domain name and public server ip are replaced with mydomain.co.il and 127.0.0.1 # 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 […]

Posfix:SASL身份validation失败(unbuntu / office 365)

我无法让后缀与我们的Office 365邮件一起工作。 这里是main.cf文件: smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = signa-01 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = signa.com, signa-01, localhost.localdomain, localhost relayhost = [smtp.office365.com]:587 mynetworks = […]

Postfix / Dovecot错误:4.7.1服务不可用 – 稍后重试

我在使用邮件服务器时遇到了一些问题。 我无法发送或接收任何邮件。 以下是我在/var/log/mail.info看到的内容: Aug 12 20:09:34 REDACTED postfix/submission/smtpd[23064]: connect from ***[***] Aug 12 20:09:34 REDACTED postfix/submission/smtpd[23064]: Anonymous TLS connection established from ***[***]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) Aug 12 20:09:34 REDACTED postfix/submission/smtpd[23064]: 9ADA33260108: client=***[***], sasl_method=PLAIN, sasl_username=*** Aug 12 20:09:34 REDACTED postfix/cleanup[23068]: 9ADA33260108: message-id=<***@mail.gmail.com> Aug 12 20:09:34 REDACTED spamd[30569]: spamd: connection from localhost.localdomain [127.0.0.1] at […]

postfix邮件服务器无法收到邮件

我使用postfix在localhost(ubuntu)机器上安装了一个邮件服务器。 连接到调制解调器。 我从我的isp获得了一个静态ip,这是106.51.43.121 我已经确定,我的Ubuntu机器,它正在监听端口25和587的域名jestasoft.com这是连接到本地IP地址192.168.1.104在/ etc / hosts文件 “/ etc / hosts”里面有 192.168.1.104 jestasoft.com 我刚刚从托pipe服务提供商处购买了域名jestasoft.com。 而在dnslogging中,我已经为mxlogging提供了一个链接到smtp.jestasoft.com的条目 而一个logging指向jestasoft.com到106.51.43.121(我的静态IP),这是链接到我的路由器,转发到192.168.1.104 现在我有两个问题 我无法发送邮件到外部域名 而且我也无法收到任何来自外部的邮件 我到目前为止发现,第一个问题是因为我的静态IP在PBL中列出,它阻止了dynamicIP地址的IP地址列表。 我将只能够来解决这个问题,如果我能够在我的域名,如jestasoft.com上收到5位数的代码 但不幸的是,我甚至无法收到外部邮件。 我试图从我的谷歌电子邮件地址发送邮件到jestasoft.com 我收到一条错误消息 临时失败的技术细节:DNS错误:154015175 DNStypes“mx”查找ofjestasoft.com回应代码NOERROR 154015175 DNStypes'aaaa'查找ofsmtp.jestasoft.com。 以代码NXDOMAIN 154015175回答DNStypessmtp.jestasoft.com的“a”查找。 回复代码NXDOMAIN

Postfix多实例,每个实例具有单独的SASLDB

我使用多个实例(postmulti)configuration了postfix,每个实例都有自己的IP地址,并且效果很好,但是我需要每个实例都使用它自己的sasldb2文件来validation用户身份。 我用postmult整合了1个虚拟机中的35个postfix专用虚拟机,但是这35个实例是用于authentication的中继,并且所有用户名“[email protected]”都有不同的密码,我不想强​​迫用户要改变他们的用户名,我喜欢把这个改变尽可能透明地传给最终用户。 实际上,/ var / spool / postfix / etc / sasldb2是在实例之间共享的,我真的需要每个实例与你自己的db一起工作,比如/ var / spool / postfix-22 / sasldb 你可以帮帮我吗?

552 user @ domain是黑名单! 回复邮件来自命令

在过去的几天里,我们pipe理的服务器很less有一些问题。 远程服务器正在抛出以下错误。 552 user @ domain是黑名单! 回复邮件来自命令 但是,没有一个IP在黑名单中,而且这个错误是随机发生的。 谷歌search没有带来任何有用的信息。 有人可以帮我解决这个问题。

Postfix有时会提供电子邮件,有时不会

我在RHE5上使用postfix 2.3.3,因为几个星期前,我们有一个电子邮件传递问题,具体到外部中继(Gmail,Hotmail,雅虎)。 我做了一些练习:用CC外部地址发送一封电子邮件到内部电子邮件地址。 我们收到我们的客户(雷鸟)内部电子邮件没有问题,但我们没有收到外部(我查看垃圾邮件,什么也没有)。 我检查后缀日志,它说,一切都好。 Aug 29 16:55:43 mail postfix/smtpd[2019]: A1DA879E809: client=unknown[192.168.26.6] Aug 29 16:55:44 mail postfix/cleanup[2022]: A1DA879E809: message-id=<57C4BB64.7030807@internaldomain> Aug 29 16:55:47 mail postfix/qmgr[1771]: A1DA879E809: from=<account1@internaldomain>, size=114602, nrcpt=2 (queue active) Aug 29 16:55:47 mail postfix/smtpd[2019]: disconnect from unknown[192.168.26.6] Aug 29 16:55:47 mail postfix/local[2032]: A1DA879E809: to=<internaltest@internaldomain>, relay=local, delay=4, delays=4/0.04/0/0.01, dsn=2.0.0, **status=sent** (delivered to maildir) Aug 29 […]

configuration后缀将所有收到的邮件保存在文件中

我正在尝试为开发目的configurationpostfix,以便对网站上的电子邮件进行验收testing。 我已经完成了大部分的工作,但是只有一件事情我想正确设置,但不知道该怎么做。 目前,如果我的postfix服务器(在docker容器内)接收到一封邮件,它会向/var/mail/root邮箱/var/mail/root一条消息,通知/var/mail/root无法传递,如下所示: $ cat /var/mail/root From MAILER-DAEMON Fri Sep 9 17:48:05 2016 Return-Path: <> X-Original-To: root@localhost Delivered-To: root@localhost Received: by localhost (Postfix) id 0209A1416E4; Fri, 9 Sep 2016 17:48:05 +0000 (UTC) Date: Fri, 9 Sep 2016 17:48:05 +0000 (UTC) From: MAILER-DAEMON@localhost (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: root@localhost Auto-Submitted: auto-replied […]

Dovecot将邮件存储在/ var / mail中,但将mail_location设置为maildir:/ var / mail / vhosts /%d /%n

我已经使用此链接使用Postfix,Dovecot和MySQL设置邮件服务器。 简单来说: 我的问题是我已经使后缀处理邮件交付,如下所述dovecot。 我已经在dovecot中设置了mail_location = maildir:/ var / mail / vhosts /%d /%n,但仍然将邮件发送到/ var / mail / /etc/postfix/main.cf: #Handing off local delivery to Dovecot's LMTP, and telling it where to store mail #virtual_transport = lmtp:unix:private/dovecot-lmtp dovecot_destination_recipient_limit = 1 virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf virtual_transport = dovecot /etc/postfix/master.cf: dovecot unix – nn – – pipe flags=DRhu user=vmail:vmail argv=/usr/local/lib/dovecot/dovecot-lda […]