Articles of 后缀

Postfix 3 – UTF-8支持,不能发送消息

我们最近需要支持特殊字符的电子邮件,并且已经在后缀3中构build了UTF8支持。 发送电子邮件时,我们得到“本地收件人表中未知的用户” 经过一番调查,错误似乎是UTF8地址的格式: 拒绝:来自未知的RCPT [10.10.10.10]:550 5.1.1 <=?UTF-8?B?4pieQHphY2suaXM =?=>:收件人地址被拒绝:用户在本地收件人表中未知; 从=到= <=?UTF-8?B?4pieQHphY2suaXM =?=> proto = ESMTP helo = 问题似乎是TO地址转换为UTF8不包含@符号,因此被视为本地地址。 我们是否在后缀中缺less一些configuration? 目前没有关于获取Postfix和UTF8的最新信息。 我明白,即使我们的服务器路由电子邮件,其他人可能不会,但我们想尽我们所能来支持这些新的电子邮件地址。

后缀继电器块只能从特定的IP发送到域

问题很简单但很复杂:-) 我有一个Postfix服务器作为我的networking/服务器的中继。 smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination mynetworks = aaaa/x bbbb/x cccc 现在我需要: 阻止中继/ RCPT到某些域(例如:@ aaa.com,@ bbb.com和@ ccc.com) 但只能从一些服务器使用此限制(例如:IP 1.1.1.1和2.2.2.2) 这可能吗? 最好的祝福

Postfix“authorized_submit_users”不影响dovecot sasl

我正在使用postfix和dovecot SASL进行smtpauthentication 在Postfix我使用“authorized_submit_users”来禁止特定的用户发送邮件 authorized_submit_users = !user, static:all 但我意识到它只适用于“后缀/ sendmail”,但不适用于dovecot SASLlogin 这里是我在日志中得到的,如果我在服务器上本地使用“邮件”cli工具 postfix/sendmail[9649]: fatal: User zuser(8000) is not allowed to submit mail 但是当我以不允许的用户帐户login到Roundcube并尝试发送邮件时,邮件被排队并发送 postfix/submission/smtpd[9767]: E5D1C1C01A5: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=zuser 这是我的configuration postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no authorized_submit_users = !zuser, static:all biff = no home_mailbox = Maildir/ inet_protocols = ipv4 local_recipient_maps = proxy:unix:passwd.byname […]

Dovecot无法收到外部邮件AddressValueError

更新后 from dovecot-1:2.2.10-7.el7.x86_64 to 1:2.2.10-8.el7.x86_64 从 dovecot-mysql-1:2.2.10-7.el7.x86_64 到 1:2.2.10-8.el7.x86_64 from dovecot-pigeonhole-1:2.2.10-7.el7.x86_64 to 1:2.2.10-8.el7.x86_64 我无法接收来自外部邮件地址的电子邮件。 发送邮件的工作正常,以及从本地邮件地址发送邮件时收到邮件。 在/ var / log / maillog我有以下错误: Oct 30 15:11:21 hostname postfix/smtpd[28227]: connect from sonic304-22.consmr.mail.ir2.yahoo.com[77.238.179.147] Oct 30 15:11:21 hostname postfix/smtpd[28227]: Anonymous TLS connection established from sonic304-22.consmr.mail.ir2.yahoo.com[77.238.179.147]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) Oct 30 15:11:21 hostname policyd-spf[28530]: Traceback (most recent call […]

pipe理一个域的所有Postfix邮件到PHP脚本 – Centos7 / EC2

我已经阅读了一些文章,包括这里的post,但似乎没有一个清晰的简洁的答案。 我在CentOS上的EC2实例上运行Postfix。 我想将一个域的所有电子邮件(@ support.mydomain.com)指向一个PHP脚本。 服务器主机名未设置为域(主机名是默认ip-1-2-3-4.awsregion.internal.compute)。 我为support.mydomain.com设置了一个MXlogging,指向www.mydomain.com。 从我读到的,我需要一个virtual alias来处理域。 我努力了: 将@support.mydomain.com apache@localhost添加到/etc/postfix/virtual 运行postmap /etc/postfix/virtual 将virtual_alias_maps = :hash:/etc/postfix/virtual和inet_interfaces=all到/etc/postfix/main.cf 添加apache: "|php -q /var/www/mydomain/my-script.php" newaliases这个 后缀重新加载 服务后缀重新启动 /var/log/maillog显示电子邮件的一个“`454 4.7.1中继访问被拒绝“的错误 – 至less这显示DNS /防火墙是好的… 将不胜感激从哪里开始或从一开始的新指南。

如何让postfix重写地址以包含多个收件人?

我试图设置Postfix来重写发送到example@myhost的电子邮件的目的地,而不是似乎已经发送到[email protected][email protected] 。 我正在使用LDAP查找将其绑定到FreeIPA,使用绑定到用户帐户的电子邮件地址。 从我的main.cf文件中的相关行(我认为)(编辑用“ example.com ”replace真实的域和192.0.2.0/24 IP): alias_maps = hash:/etc/aliases, proxy:ldap:/etc/postfix/ldap-aliases.cf masquerade_domains = myhost.example.com, example.com mydestination = $myhostname, myhost.example.com, example.com, localhost.$mydomain, localhost myhostname = myhost.example.com mynetworks = 192.0.2.0/24, 127.0.0.0/8 relayhost = [otherhost.example.com] smtp_generic_maps = ldap:/etc/postfix/ldap-generic.cf virtual_alias_maps = ldap:/etc/postfix/ldap-generic.cf ldap-aliases.cf : server_host = ldaps://ipa1.example.com search_base = cn=users,cn=accounts,dc=example,dc=com query_filter = (&(uid=%u)(mail=*)) result_attribute = mail bind = yes […]

Zimbra用外部Postfix来发送和接收

我请求你的帮助,我已经跟着几个教程,我不给我想要的。 情况是这样的: 服务器与Zimbra(192.168.1.10)服务器与Postfix(192.168.1.20) (是的,我的老板需要在另一台服务器的后缀(我知道zimbra有他自己的后缀) 那么,我们需要Zimbra通过postfix服务器发送和接收邮件。 这是configuration: main.cf 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 mydomain = mydomain.org.ar myhostname = postfix.mydomain.org.ar […]

电子邮件别名从example1redirect到example2域

我需要实现以下function: 用户发送电子邮件至[email protected],现在不存在电子邮件。 我购买这个域(example1.com),并希望自动将所有传入[email protected]的电子邮件redirect到其他公司的[email protected]。 域example1.com将仅用于此电子邮件别名。 我有VPS服务器与Ubuntu,Nginx安装,例如,与IP 80.70.60.50。 我如何configuration该function? 我应该select哪种types的DNSlogging?

Postfix:虚拟别名表中的用户未知

由于某些原因,当我从自我托pipe的Postfix服务器发送电子邮件时,它可以正常工作,但由于这个原因无法接收: Nov 3 18:30:06 pi postfix/qmgr[31993]: CB178142FAB: from=<[email protected]>, size=738, nrcpt=1 (queue active) Nov 3 18:30:06 pi postfix/error[1173]: CB178142FAB: to=<[email protected]>, orig_to=<megver83>, relay=none, delay=4.7, delays=4.7/0/0/0.01, dsn=5.1.1, status=bounced (User unknown in virtual alias table) Nov 3 18:30:06 pi postfix/error[1232]: D3CEC142FAD: to=<[email protected]>, relay=none, delay=0.03, delays=0.01/0.01/0/0.01, dsn=5.1.1, status=bounced (User unknown in virtual alias table) Nov 3 18:30:07 pi postfix/qmgr[31993]: 0E1AC142FAB: […]

Postfix – 来自特定服务器的邮件反弹

我只是build立了Postfix,Dovecot和Mysql的邮件服务器。 我可以发送/接收电子邮件到/从Gmail,Hotmail等,但邮件从特定的Microsoft邮件交换服务器(使用Outlook)发送从我的服务器反弹。 奇怪的是我可以从我的服务器发送邮件到这个微软服务器没有任何问题,反之亦然没有发生。 我甚至试图把这个服务器的IP地址添加到Postfix上的“mynetworks”,但是到目前为止没有运气。 此外,mail.log或mail.err上也不会显示任何内容 这里是反弹细节: Delivery has failed to these recipients or groups: '[email protected]' ([email protected]) <mailto:[email protected]> The e-mail address you entered couldn't be found. Please check the recipient's e-mail address and try to resend the message. If the problem continues, please contact your helpdesk. Diagnostic information for administrators: Generating server: xxx.MSserver.tdl [email protected] #550 5.1.1 […]