Articles of 后缀

Postfix邮件发送到雅虎和Outlook的垃圾邮件(SPF,DKIM,DMARC也configuration)

我已经在电子邮件服务器中实现了DMARC,并得到了以下一些电子邮件域的响应, <?xml version="1.0"?> <feedback> <report_metadata> <org_name>Yahoo! Inc.</org_name> <email>[email protected]</email> <report_id>1422758871.723265</report_id> <date_range> <begin>1422662400</begin> <end>1422748799 </end> </date_range> </report_metadata> <policy_published> <domain>subdomain.domain.com</domain> <adkim>r</adkim> <aspf>r</aspf> <p>none</p> <pct>100</pct> </policy_published> <record> <row> <source_ip>11.22.33.44</source_ip> <count>2</count> <policy_evaluated> <disposition>none</disposition> <dkim>pass</dkim> <spf>pass</spf> </policy_evaluated> </row> <identifiers> <header_from>subdomain.domain.com</header_from> </identifiers> <auth_results> <dkim> <domain>subdomain.domain.com</domain> <result>pass</result> </dkim> <spf> <domain>subdomain.domain.com</domain> <result>pass</result> </spf> </auth_results> </record> </feedback> 根据元数据,SPF和DKIM被正确validation。 从上述结果还有其他细节需要关注吗? 在这个实现之后,我们的邮件服务器的邮件也被发送到Outlook和Yahoo的SPAM文件夹中。 有没有其他方法来处理这个垃圾邮件案件?

邮件命令:内容filter在后缀的作品?

我在我的机器(linux)中使用Postfix。 当我通过命令行发送邮件给本地用户telnet localhost 25时,我的邮件被一个内容filter(例如:spamassassin)=>parsing没有问题。 但是当我用邮件命令 (或sendmail命令或邮件php)发送一封邮件给同一个本地用户,我的邮件被发送,但不是由content-filter =>parsing,那为什么? 当我使用邮件命令时,为什么我的邮件没有被内容filterparsing? 我的后缀configuration是非常基本的: postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix html_directory = /usr/share/doc/postfix/html inet_interfaces = all mailbox_size_limit = 0 mydestination = localhost.localdomain, localhost, localhost.localdomain, localhost myhostname = localhost mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname recipient_delimiter = + […]

Postfix SMTP收件人筛选器没有筛选

我已经设置了Postfix列表的黑名单收件人,以便Postfix服务器不应该中继邮件(main.cf中的smtpd_recipient_access参数)。 这些地址在每行末尾都有一个REJECT文件。 我做了标准的步骤来创build数据库哈希(postmap哈希:/ etc / postfix / recipient_access)。 我可以testing,邮件被拒绝使用例如: postmap -q [email protected] hash:/etc/postfix/recipient_access 我收到了答复:按预期拒绝。 黑名单文件中的所有地址都是非本地的,即它们不包含在“mydestinations”variables中。 但是,使用Thunderbird通过Postfix SMTP服务器发送邮件只需将邮件发送到没有拒绝的黑名单地址。 我猜想一些其他的中继configuration,我可能会得到这个邮件中继,尽pipe我的黑名单匹配,但无法find问题。 我认为相关的configuration参数是: mydestination = $ myhostname,localhost,localhost.localdomain,localhost。$ myhostname relay_domains = $ mydestination,proxy:ldap:/etc/postfix/ldap/relay_domains.cf relayhost = smtpd_data_restrictions = reject_unauth_pipelining smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031 smtpd_helo_required =是 smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated,check_helo_access pcre:/etc/postfix/helo_access.pcre smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unknown_sender_domain,reject_unknown_recipient_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unlisted_recipient,check_recipient_access哈希:/等/后缀/ recipient_access,check_policy_service INET:127.0.0.1:7777,check_policy_service INET:127.0.0.1:10031,permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname smtpd_reject_unlisted_recipient =是 smtpd_reject_unlisted_sender =是 smtpd_sasl_auth_enable […]

Postfix使用virtual.db文件而不是mysql表

我已经指定了virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf ,但是我仍然有错误 警告:散列:/ etc / postfix / virtual不可用。 打开数据库/etc/postfix/virtual.db:没有这样的文件或目录 如果我创build虚拟和虚拟.db文件,一切工作正常,但我希望我的虚拟用户帐户存储在数据库中,而不是如果一个文件。 为什么postfix使用virtual.db文件而不是db表? postconf -n : alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes config_directory = /etc/postfix dovecot_destination_recipient_limit = 1 inet_interfaces = all inet_protocols = ipv4 milter_default_action = accept milter_protocol = 2 mydestination = localhost non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock smtp_tls_note_starttls_offer = yes smtpd_milters = unix:/var/run/opendkim/opendkim.sock smtpd_recipient_restrictions = permit_mynetworks, […]

后缀目的地满/忙/错误尝试另一个目的地

有谁知道是否有可能设置后缀与域的目的地。 如果该目的地(也是运行后缀)不能接受邮件,因为它的磁盘已满或离线。 然后另一个目的地将被尝试。 有点像MXlogging,这将工作,如果一个服务器脱机移动到下一个logging,但不是因为磁盘空间已满而不能接受邮件。 还是我错了?

如果我创build一个虚拟的电子邮件别名,转发大量的垃圾邮件,我的IP有被列入黑名单的IP地址的风险吗?

一个这样的情况就像是一个域名叫做domain.com有一个邮件服务器设置,将所有发送到[email protected]的邮件转发到[email protected] 。 如果有人发送了大量的垃圾邮件到[email protected] ,我的邮件服务器在domain.com有被列入黑名单的风险吗? 注意:我不打算发送垃圾邮件,我只想知道我的服务器是否有危险。

后缀:如何使复杂的附件过滤?

我有我们的服务器上的Postfix。 我需要在接收的邮件中过滤附件,不仅仅是通过它的types,而且还要检查里面的内容。 到目前为止,我需要过滤附件: 是一个.zip文件 包含档案中的.exe文件 大小约10-20K 是否可以将附件传递给外部脚本? (其实我可以编写脚本来分析上述情况)是否可以使用Postfix或者是否需要一些外部工具,如spammassasin或Amavis?

configurationSympa:命令输出使用错误

我在configurationSympa时遇到问题。 我创build了一个新列表[email protected] ,但是当我尝试将邮件发送到这个列表时,在我的maillog中出现错误: postfix/pipe[13544]: C699261227: [email protected], relay=sympa, delay=0.33, delays=0.31/0.01/0/0.01, dsn=5.3.0, status=bounced (command line usage error. Command output: /home/sympa/bin/queue: usage error, one one list-name argument expected. ). 有人能告诉我Sympa需要什么命令吗? 我已经configuration了/etc/postfix/main.cf和/etc/postfix/master.cf 。 每个订阅这个邮件列表的成员都会收到邮件。 在/home/sympa/etc/sympa_aliases我有关于新列表的logging: new_test_list: "| /home/sympa/bin/queue [email protected]" new_test_list-request: "| /home/sympa/bin/queue [email protected]" new_test_list-editor: "| /home/sympa/bin/queue [email protected]" new_test_list-unsubscribe: "| /home/sympa/bin/queue [email protected]" new_test_list-owner: "| /home/sympa/bin/bouncequeue [email protected]" postconf -n alias_database = […]

OpenVZ – SMTP – telnet – 连接超时

我的OpenVZ容器中的SMTP有问题。 我在OVH的专用服务器上创build了Proxmox的OpenVZ容器。 这个容器将作为邮件服务器。 所以我创build了“母服务器”规则将端口传递给容器(IP:192.168.0.100): iptables -t nat -A PREROUTING -p tcp –dport 25 -j DNAT –to-destination 192.168.0.100:25 iptables -t nat -A PREROUTING -p tcp –dport 587 -j DNAT –to-destination 192.168.0.100:587 iptables -t nat -A PREROUTING -p tcp –dport 110 -j DNAT –to-destination 192.168.0.100:110 iptables -t nat -A PREROUTING -p tcp –dport 143 -j DNAT –to-destination […]

出站电子邮件没有在Centos上使用Postfix进行DKIM签名

我一直在使用phpmailer来处理我的电子邮件,而且我已经正确使用了dkim。 我有一个关键的mail._domainkey.domain.com。 我已经使用http://www.mail-tester.com/validation了我以前的电子邮件,并且我为phpmailer电子邮件收到了9.4。 我有安装postfix和opendkim。 我已经设置他们使用相同的密钥我已经设置以前,但我跑了一个testing邮件发送从后缀,它只得到9.0。 没有dkim就输了-1。 我应该可以像这样的分数不被垃圾邮件过滤,但因为我有DKIM设置和工作在过去的id喜欢用它来获得10/10。 有一个简单的方法,我可以用现有的私钥文件和匹配的DNS条目签名电子邮件。 我使用roundcube作为客户端,但它看起来不像它可以在这个级别configuration。 我检查了发送到Gmail的电子邮件的来源,并没有提及数据中的dkim。 (它仍然是它的收件箱,但我想要得到这个sorting)。 这里是我configuration设置的所有东西 的/ etc / opendkim /的Keytable mail._domainkey.domain.com domain.com :default:/etc/opendkim/keys/domain.com/default /etc/opendkim.conf AutoRestart Yes AutoRestartRate 10/1h Canonicalization relaxed/simple ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts KeyTable refile:/etc/opendkim/KeyTable LogWhy Yes Mode sv PidFile /var/run/opendkim/opendkim.pid SignatureAlgorithm rsa-sha256 SigningTable refile:/etc/opendkim/SigningTable Socket inet:8891@localhost Syslog Yes SyslogSuccess Yes TemporaryDirectory /var/tmp UMask 022 UserID opendkim:opendkim […]