我正在build立一个小票系统,基本上我的电子邮件服务器的一些邮件帐户被传送到一个PHP脚本,将照顾电子邮件。 服务器正在运行,我可以通过SMTP发送电子邮件,没有任何问题,我也可以在用户虚拟邮箱上接收它们,并通过IMAP访问它们。 但是,有一个问题,我使用这个规则来pipe理电子邮件: smtpd_recipient_restrictions = check_recipient_access mysql:/etc/postfix/mysql-virtual-recipient-access.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination 在/etc/postfix/mysql-virtual-recipient-access.cf引用的SQL查询语句每次都应该将特定邮箱传递给PHP时返回以下内容: FILTER ticket:dummy 然后我有一个在master.cf定义的钩子,像这样: ticket unix – nn – – pipe flags=F user=www-data argv=/webroot/tiketman/AppCore/Mail/Incoming.php ${sender} ${size} ${recipient} 如果我从服务器内部或外部的地址发送和发送电子邮件,这种设置工作正常,但是反弹如我的服务器上Mail Delivery Notifications ,如 <[email protected]>: Host or domain name not found. Name service error for name=sfasdadf.com type=A: Host not found 不要被过滤,也不能通过用户邮箱传送到PHP。 这里是/var/log/mail.log发送testing邮件并接收错误: Sep 19 23:09:11 mail postfix/smtp[8773]: 764E2409DF: […]
我有一个邮件服务器(后缀2.9.6)启动并运行15-20用户,只有一个单一的域内部使用,让我们称之为xyz.mail.lan 用户是: [email protected] [email protected] [email protected] … [email protected] 没有外部中继,或从互联网接收邮件是必要的。 它现在正常工作。 我的目标是限制用户互相发送邮件。 例如: user1被允许发送邮件到:user2,user3,user4,user5 用户2只能发送邮件给:user1,user3 user3被允许发送邮件到:user1,user5 … user5被允许发送邮件到:user1,user4 我不会有超过20个用户,所以我不介意如果我的手必须为每个用户设置丑陋的规则。
我在我的内部networking中设置了一个SMTP服务器,但是我想完全删除端口25,因为我的服务提供商限制了对端口25的访问。 但是,即使在我的服务器端口587进行身份validation,服务器总是去端口25中继主机,如果我发送电子邮件到Gmail帐户,例如,这就是我得到的。 Oct 14 07:18:03 smtp postfix/smtp[12902]: connect to alt4.gmail-smtp-in.l.google.com[74.125.136.27]:25: Connection timed out Oct 14 07:18:03 smtp postfix/smtp[12905]: connect to alt4.gmail-smtp-in.l.google.com[74.125.136.27]:25: Connection timed out Oct 14 07:18:03 smtp postfix/smtp[12903]: 6DA571015A3: to=<[email protected]>, relay=none, delay=2825, delays=2188/488/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.136.27]:25: Connection timed out) Oct 14 07:18:03 smtp postfix/smtp[12904]: 501161015A9: to=<[email protected]>, relay=none, delay=1601, delays=964/488/150/0, dsn=4.4.1, status=deferred (connect […]
我已经设置了一个Postfix作为一个STMP严重破坏的embedded式设备的继电器。 因此,我需要让Postfix启用AUTH并接受用户名和密码的任意组合。 到目前为止,我已经把邮件转发到另一个整个子网的中继relayhost ,但是当设备尝试到AUTH PLAIN ,Postfix以503 5.5.1 Error: authentication not enabled回答503 5.5.1 Error: authentication not enabled ,导致embedded式系统中断传输。 我如何让Postfix接受任何用户:密码组合?
Postfix中/ etc / aliases和virtual_alias_maps之间的区别在哪里,我应该把本地帐户的别名到虚拟用户帐户(即从根到[email protected])?
是否有可能使用postfix的relayhostdynamic地转发传入的电子邮件? relayhost = proxy:mysql:/etc/postfix/email2server.cf 我用mysql数据库来查询每个电子邮件与中继主机。 但没有工作。 如果我静态定义relayhost = myhost2.tld它会起作用。 我这样做完全错了吗? 什么是实现这一目标的正确方法? 提前感谢任何答案。
我可以在我的服务器上发送但不接收电子邮件 – 这与我之前遇到的问题类似,但是我已经进一步了解,并且我的电子邮件没有问题地发送。 我相信电子邮件接收问题是基于我的MXlogging。 我的后缀main.cf文件看起来像这样: readme_directory = no # TLS parameters smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem smtpd_tls_key_file = /etc/ssl/private/iRedMail.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 # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = domainname.com alias_maps = hash:/etc/postfix/aliases alias_database = hash:/etc/postfix/aliases myorigin = domainname.com mydestination = […]
这是从aol滥用得到的电子邮件标题和信息。 这种types的电子邮件是从我的服务器以非常低的速率随机生成的,IP被非常频繁地列入黑名单。 经过2周的努力,我仍然无法find垃圾邮件发送者: Return-Path: <[email protected]> Received: from zircon.freezone.co.uk (zircon.freezone.co.uk [91.222.8.110]) by mtaig-mcb01.mx.aol.com (Internet Inbound) with SMTP id 09111700012D7 for <[email protected]>; Sun, 9 Nov 2014 10:13:08 -0500 (EST) Received: from rosemaryzipn by mailtn.zircon.freezone.co.uk with local (Exim 4.40) id YAkDpP-GlgNmv-5p for [email protected]; Sun, 09 Nov 2014 23:57:32 +0000 To: [email protected] Subject: Photos from the most thrilling naked […]
我在CentOS 6上运行Postfix 2.6.6,正如这篇文章的标题所述,我在接收来自外部源的反弹电子邮件时遇到了问题。 这里是一个例子: testing1:从Gmail发送一封电子邮件到“我的域名”上的无效电子邮件帐户,并从我们的服务器收到550 5.1.1消息。 按预期工作。 testing2:从“我的域名”发送内部电子邮件到“我的域名”上的无效电子邮件帐户,并立即收到550 5.1.1消息。 按预期工作。 testing3:从“我的域名”发送一封电子邮件到一个无效的Gmail帐户,我什么也收不回来。 问题。 这里的问题是,如果我们的一个员工发送一封电子邮件给一个无效的帐户,并且他们没有收到任何来自外部服务器的退回消息,他们会认为它已经交付,而事实上,所有。 有任何想法吗? 不完全确定哪些设置要改变。 谢谢! postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_percent_hack = no broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 default_destination_recipient_limit = 100 home_mailbox = Maildir/ html_directory = no inet_protocols […]
我在CentOS上安装了postfix,并尝试使用smtpvalidationconfigurationphpmailer。 Phpmailer 将只能工作,如果我把0.0.0.0/0下我的networkingpostfix main.conf mynetworks = 127.0.0.0/8, [::ffff:127.0.0.0]/104, [::1]/128, 0.0.0.0/0 但是在这个线程中( 如何configurationPostFix来允许其他机器通过它发送电子邮件? )有人说不要把0.0.0.0/0放在我的networking中,因为它会导致垃圾邮件问题等等。 有人可以请build议我该怎么做,让我的服务器摆脱垃圾邮件的问题,也为了工作phpmailer? queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix myhostname = example.com mydomain = example.com myorigin = /etc/mailname inet_interfaces = all inet_protocols = all mydestination = localhost.localdomain localhost $mydomain virtual_alias_maps = hash:/etc/postfix/virtual unknown_local_recipient_reject_code = 550 […]