我正在尝试在CentOS上设置Postfix。 我已将其configuration为使用我的Google应用帐户发送邮件。 比方说,我已经configurationPostfix使用[email protected],这是一个谷歌应用程序的电子邮件。 我现在可以成功地让Postfix从[email protected]发送邮件到[email protected]。 但是,当我尝试发送一封邮件到[email protected],我收到一个错误'Recipient address rejected: User unknown in local recipient table' 。 即我无法发送邮件到*@mydomain.net这是我的Postfixconfiguration的域。 据我所知,Postfix检查local_recipient_maps和拒绝,如果local_recipient没有find。 现在我的问题是,我需要添加什么样的正确设置来禁用本地收件人检查? 相关链接: LOCAL_RECIPIENT_README smtpd_recipient_restrictions
我注意到postfix日志的问题,有些电子邮件传递状态的信息丢失。 该问题影响约1%的电子邮件。 “健康”日志: <server># grep 8EB992EFBB44 postfix_log/mail04.log Jun 5 03:09:29 mail04 postfix/smtpd[8537]: 8EB992EFBB44: client=xxx.xxx.xxx[xxx.xxx.xxx.xxx] Jun 5 03:09:29 mail04 postfix/cleanup[34349]: 8EB992EFBB44: message-id=<[email protected]> Jun 5 03:12:02 mail04 postfix/qmgr[76377]: 8EB992EFBB44: from=<[email protected]>, size=48845, nrcpt=1 (queue active) Jun 5 03:15:12 mail04 postfix/smtp[35058]: 8EB992EFBB44: to=<[email protected]>, relay=mx.baz.com[xxx.xxx.xxx.xxx]:25, conn_use=70, delay=343, delays=153/190/0/0.24, dsn=2.0.0, status=sent (250 ok) Jun 5 03:15:12 mail04 postfix/qmgr[76377]: 8EB992EFBB44: removed “破碎”日志: […]
我使用postfix发送直接电子邮件。 但是,我使用中继为特定发件人发送电子邮件。 所以我使用“sender_dependent_relayhost_maps”: /etc/postfix/main.cf : relayhost = transport_maps = hash:/etc/postfix/transport smtp_sender_dependent_authentication = yes sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay /etc/postfix/sender_relay : [email protected] smtp.relay.com 所以,当我发送一封电子邮件与发件人的电子邮件“[email protected]”,后缀将使用中继。 但是…我不想为某些收件人使用中继主机。 ;) 我想我必须使用“transport_map”才能通过“sender_dependent_relayhost_maps”通过电子邮件,但我不知道该怎么做… 谢谢
我在debian linux上使用postfix-pcre 。 当我运行postmap /etc/postfix/smtp_header_checks.pcre和postmap pcre:/etc/postfix/smtp_header_checks.pcre ,出现以下错误: postmap: warning: smtp_header_checks.pcre, line 1: record is in "key: value" format; is this an alias file? 哪里不对? 我在/etc/postfix/smtp_header_checks.pcre有这个: # Remove sender's IP address information /^Received: .*/ IGNORE /^X-Originating-IP:/ IGNORE
地址与我的虚拟主机具有相同的域名,导致Postfix和QMail恢复到本地networking,而不是直接发送邮件。 我以为我用Luke Tarplin方法解决了这个问题,但是从/etc/postfix/main.cf注释掉这些行从10.4.4更新到PLESK出于某种原因已经停止工作了。 我见过其他build议,包括添加MXlogging,以不同的方式修改main.cf 我对MTA的了解甚less,对DNS设置的了解甚less。 有没有人有一个解决scheme,使Postfix的所有电子邮件收件人相同的任何意见,只是发送电子邮件,而不是恢复到本地? 下面是从我的maillog,我发送到2封电子邮件,1个gmail,一个与vhost相同的地址。 正如你所看到的,一个被发送,一个没有。 Aug 2 05:52:27 server1 postfix/pickup[5242]: C2187750: uid=10013 from=<thermo-ta-ftp> Aug 2 05:52:27 server1 postfix/cleanup[5498]: C2187750: message-id= <[email protected]> Aug 2 05:52:27 server1 postfix/qmgr[32727]: C2187750: from=<thermo-ta- [email protected]>, size=1063, nrcpt=2 (queue active) Aug 2 05:52:27 server1 postfix-local[5503]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames Aug 2 05:52:27 server1 postfix-local[5503]: cannot chdir to mailname dir […]
我已经使用policydconfiguration了一个后缀来pipe理白名单/黑名单。 但我的主要问题是: 如果一封电子邮件被发送给收件人,并且有一些CC BCC被列入黑名单,则所有电子邮件都将被“丢弃”,即使允许,也不会到达主要收件人。 所以,看起来好像是一些收件人(RCPT,cccccc)被列入黑名单,postfix + policyd放弃所有电子邮件。 我觉得这不应该是正常的行为,我错了吗? 有没有任何configuration,允许? 或者我误解了一些东西。 这里是一个部分后缀conf: smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_sender, reject_non_fqdn_recipient, #policyd check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unverified_recipient, check_policy_service inet:127.0.0.1:10045, reject_rbl_client bl.spamcop.net, reject_rbl_client psbl.surriel.com, reject_rbl_client sbl.spamhaus.org, reject_rbl_client xbl.spamhaus.org, reject_rbl_client zen.spamhaus.org, reject_rbl_client combined.rbl.msrbl.net, reject_rbl_client relays.ordb.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client dnsbl.njabl.org, permit 如果有人需要更多的信息,不要犹豫,要求它!
我想知道是否有任何方法来为BI(商业智能)团队呈现所有Postfix日志的舒适格式。 商业智能团队与MySQL合作,我试图find如何将所有日志以可读格式推送到数据库。
我正在尝试安装iRedMail,并在我的头上。 我已经安装了它,并且可以在内部发送电子邮件,但不是在外部发送。 当我从外部发送电子邮件时,我收到以下回复电子邮件: The error that the other server returned was: 550 550 5.7.1 <[email protected]>… Relaying denied (state 13). 现在我不知道从哪里开始寻找! 有任何想法吗? 我真的只安装了iRedMail,所以我不确定还需要做些什么才能使它工作。 我已经将MXlogging指向该服务器,所以不应该成为问题。 此外,如果我停止后缀(所以没有什么是监听端口25),并发送testing电子邮件,我得到相同的回复。 为什么即使postfix停止,我也会得到相同的回复? 我已经运行超过25 tcpdump,可以看到数据包进出,所以它绝对是一个configuration问题! 我想我的问题不是真正的“我的问题是什么”,而是更多的“需要在Postfix和iRedMail上完成什么configuration?”
我在Ubuntu 8.04 LTS上有一个邮件服务器(cm.snowbarre.co.za),它将所有SMTPstream量转发到反垃圾邮件服务器cacti.snowbarre.co.za。 很多时候,我看到反垃圾邮件服务器上的标题包含的邮件服务器上没有托pipe的地址,我已经检查并确认我的服务器不是开放的中继服务器。 垃圾邮件发送者如何使用我的服务器来转发垃圾邮件? 我怎样才能阻止呢? 开放中继testing: paddington@paddington-MS-7387:~$ telnet cm 25 Trying 196.201.xx.. Connected to cm. Escape character is '^]'. 220 cm.snowbarre.co.za ESMTP Postfix (Ubuntu) mail from:[email protected] 250 2.1.0 Ok rcpt:[email protected] 221 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host. paddington@paddington-MS-7387:~$ 典型的标题是: Received: from cm.snowbarre.co.za (cm.snowbarre.co.za[196.201.xx]) by cacti.snowbarre.co.za (Postfix) with […]
我正在为当前用作Web服务器的机器上安装postfix邮件服务器 。 到目前为止,我已经得到它的工作,我可以通过端口25使用telnet发送和接收电子邮件。 但是,由于我的客户关心的是停机时间,所以我想随着时间的推移逐个设置所有账户,并确保它能正常工作,而不仅仅是切断旧的邮件服务器,并开始在新的账户上创build新的账户系统。 如何将域名customer.com添加到我的邮件服务器,只需将[email protected]添加到用户和别名列表中,而无需Web服务器尝试将具有@ customer.com域的所有电子邮件发送到新邮件服务器? 我正在运行ubuntu,在新的机器上使用postfix和postfix-mysql,旧的邮件服务器位于其他地方的托pipe环境,我没有任何控制权。