我与任务斗争,我需要通过我的后缀服务器发送电子邮件,并做一些额外的事情与收件人和发件人的信息。 我试图通过发送电子邮件到PHP脚本( http://blog.thecodingmachine.com/content/triggering-php-script-when-your-postfix-server-receives-mail ),但然后电子邮件不传递到接受者。 在mail.log中,我看到“通过myhook服务交付”。 是否有可能做到这一点? 弹回电子邮件到额外的脚本,并将其发送给收件人。
你好,我有这个盒子 5.9 后缀2.3.3 我怎么可以configurationpostfix每秒发送1条消息,无论如何,我尝试在main.cf中没有成功: default_destination_rate_delay = 1s default_destination_concurrency_limit = 1 default_destination_recipient_limit = 2 initial_destination_concurrency = 1 我错过了什么? 谢谢 UPDATE 我昨晚试了一下: initial_destination_concurrency=1 smtp_destination_concurrency_limit = 1 smtp_destination_rate_delay = 1s 没有成功的邮件 每小时stream量摘要 time received delivered deferred bounced rejected 0300-0400 0 9132 45000 286 0 0400-0500 1 22832 67 223 0 0500-0600 0 19000 15410 93 0 问题出在hotmail被列入黑名单,或者队列开始长大(延期),当hotmail删除黑名单时,postfix开始发送所有延期队列邮件,如地震。 这就是为什么我认为如果我configuration后缀每秒发送一封电子邮件,问题就消失了 […]
我需要将通过某个掩码转到邮箱的所有电子邮件转发到一个特定的邮箱。 例如,如果收件人邮件是79001234567它应该被转发。 从/etc/postfix/main.cf行 virtual_alias_maps = $alias_maps, $virtual_maps, ldap:/etc/postfix/imap-aliases.cf, ldap:/etc/postfix/imap-groups.cf, regexp:/etc/postfix/dummyregexp 这里是我使用的正则expression式:/ etc / postfix / dummymail /^7\d{10}@domain.tld/ [email protected] / var / log / maillog的一部分 Mar 17 01:39:23 mail postfix/smtpd[24228]: connect from mail-qa0-f52.google.com[209.85.216.52] Mar 17 01:39:23 mail postfix/smtpd[24228]: setting up TLS connection from mail-qa0-f52.google.com[209.85.216.52] Mar 17 01:39:24 mail postfix/smtpd[24228]: Anonymous TLS connection established from mail-qa0-f52.google.com[209.85.216.52]: TL […]
我试图添加一个DKIM密钥到我的Ubuntu邮件服务器上的其他域,我试图将下面的代码块添加到amavisd.conf文件 $enable_dkim_verification = 1; $enable_dkim_signing = 1; dkim_key('example.com', 'foo', '/var/db/dkim/example-foo.key.pem'); @dkim_signature_options_bysender_maps = ( { '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } ); @mynetworks = qw(0.0.0.0/8 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16); # list your internal networks 但是,在我的设置上,amavisd.conf文件被分割成以下文件: 01,Debian的 05-域ID 05-NODE_ID 15 av_scanners 15 content_filter_mode 20 debian_defaults 21 ubuntu_defaults 25 amavis_helpers 30 template_localization 40 […]
我有一个专用的服务器与公共IP运行与多个域的后缀。 电子邮件是完全正确的,但是当我试图从这台机器发送邮件时,他们经常会被外部电子邮件服务器反弹回来,并显示以下错误消息: “拒绝和我说话:501 HELO没有反向DNS名称” 当我去域的控制面板(gandi.net),他们不允许我为我的服务器设置PTRlogging。 我能做什么?
我至less有两个Web服务器利用Postfix从Web应用程序发送邮件。 一个是我所说的“主”,它将保持不变,另一个就是我所说的“奴隶”,它经常被用于负载分配。 每个克隆都有一个随机的外部IP。 所有的服务器都在一个私有的IP地址192.168.xx互相交谈。 我需要通过客户端的特定SMTP中继发送邮件,但防火墙规则需要IP。 问题是我不能保证服务器的IP除了'主'之外。 有没有一种方法可以将邮件从“奴隶”服务器直接发送到“主”? 理想情况下,主服务器将邮件路由到为每个域设置的SMTP中继。 谢谢
我试图阻止我的CentOS 6.5服务器发送电子邮件到某个收件人列表。 ( [email protected] , [email protected]等)。 我已经configuration了这样的postfix: /etc/postfix/main.cf : smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_access / etc / postfix / recipient_access : [email protected] REJECT [email protected] REJECT DB通过以下方式构build: postmap hash:recipient_access postfix被重新加载 service postfix reload php.ini是: sendmail_path = /usr/sbin/sendmail -t -i 不幸的是,这似乎并不奏效。 如果我使用PHP邮件()发送邮件到[email protected] ,它将一如既往地交付。 我错过了什么?
我只是安装了postfix 2.6.6和dovecot邮件服务器。 我有如下所示的main.cf中的auth相关的configuration: smtpd_tls_cert_file=/etc/httpd/ssl/mail.crt smtpd_tls_key_file=/etc/httpd/ssl/mail.key smtpd_use_tls=yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination 现在我可以发送和接收来自我的域名和通常在外面的电子邮件,这是很好的。 但是,我发现我可以很容易地发送一封邮件,而不需要使用下面的telnet远程validation,这意味着有人可以很容易地发送垃圾邮件到我的域名。 请帮助我,如果你知道如何禁用这个。 Myhost:~/ z$ telnet mail.example.com 25 Trying 232.96.23.130… Connected to mail.example.com. Escape character is '^]'. 220 mail.example.com ESMTP Postfix ehlo mail.example.com 250-mail.example.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN […]
一种防止垃圾邮件发送者欺骗你的SMTP服务器的技术是将你的最低MXlogging设置为假的。 我遇到了Postfix无法连接到有意义的使用传输testing工具的问题 。 从mail.log: Apr 7 12:03:11 myserver postfix / smtp [36868]:1F119B60AEC:to =,relay = none,delay = 265111,delay = 265110 / 0.06 / 0/0,dsn = 4.4.1,status = deferred transport-testing.dnsops.gov [129.6.24.80]:25:拒绝连接) 我可以从Outlook或Gmail发送电子邮件到TTT,所以我知道这很多作品。 如果Postfix试图在连接被拒绝的情况下尝试击中其他MXlogging吗?
是否有可能有某种正则expression式匹配和replace,就像传入邮件的传入邮件也可能呢? 我已经能够通过使用smtp_generic_maps选项来replace输出字段。 现在我想申请相同的传入邮件的领域。 但如果可能的话更丰富一些。 如果邮件来自我自己的域名,我不想重写到字段。 它来自另一个域,重写它。 因此,例如redirect到我的域内的另一个地址。 例如:假设我的域名是company.com 现在,我们可以将传入的邮件分为两类:来自我的域的邮件和来自我的域外的邮件。 对于第一类,postfix应该像往常一样进行处理,不应该发生重写。 但是,即使原始收件人是[email protected] ,第二类邮件(即来自[email protected]邮件) [email protected]应该被引导到中央邮件帐户[email protected] 。 通过这样做,我仍然允许员工的地址之间的电子邮件通信,但是把它们从外面的世界隐藏起来。