我在CentOS6,Plesk 10.4上使用PostFix的PHP mail()函数,而我的电子邮件没有传送到特定的地址。 我的个人GMail和Yahoo电子邮件地址从我的服务器收到电子邮件罚款,不会产生错误。 在这里的一个精彩的build议后,我检查了我的邮件日志,这是我看到的错误: Apr 10 10:26:29 ######### postfix/qmgr[8323]: 19EA21827: from= <[email protected]>, size=645, nrcpt=1 (queue active) Apr 10 10:26:29 ######### postfix-local[8331]: postfix-local: [email protected], [email protected], dirname=/var/qmail/mailnames Apr 10 10:26:29 ######### postfix-local[8331]: cannot chdir to mailname dir name: No such file or directory Apr 10 10:26:29 ######### postfix-local[8331]: Unknown user: [email protected] Apr 10 10:26:29 ######### postfix/pipe[8330]: […]
我在我目前的postfix安装上运行了两个月。 我注意到,从一个特定的客户端,他们发送一个无效的命令,包括其域名的前3个字母。 当postfix看到这个,它会导致我的米尔特退出。 我如何继续过去? 我已经看到了这个postfix文档,但不知道如何应用它: milter_unknown_command_macros (default: see "postconf -d" output) The macros that are sent to version 3 or higher Milter (mail filter) applications after an unknown SMTP command. See MILTER_README for a list of available macro names and their meanings. This feature is available in Postfix 2.3 and later. 谢谢
我使用后缀,并希望路由所有未configuration到电子邮件回到地址。 那可能吗? 所以,例如 [email protected] – >在虚拟文件中configuration,并由用户帐户john [email protected]读取 – >没有configuration为用户,虚拟表中没有条目 – >应添加到邮箱中:unknown_users @ email.com 提前致谢 莱昂
除特定收件人外,我无法将电子邮件发送给某个域中的任何人。 以下是我在隔离/caching日志中看到Maia(隔离程序)向用户发送的新邮件的电子邮件: <[email protected]>; Mon, 30 Apr 2012 11:30:24 -0400 (EDT) Received: from emmxgw0.mailtest.mycompany.com ([127.0.0.1]) by localhost (emmxgw0.mailtest.mycompany.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 29964-02 for <[email protected]>; Mon, 30 Apr 2012 11:30:24 -0400 (EDT) Received: from mail.mycompany.com (unknown [10.5.1.100]) by emmxgw0.mailtest.mycompany.com (Postfix) with ESMTPS id 4E5AE61281 for <[email protected]>; Mon, 30 Apr 2012 11:30:24 -0400 (EDT) […]
我在一个月前设置了一台服务器,因为个人原因我不得不停下来。 我今天又回到了这里,试图发送/接收电子邮件。 最初,我从自己的Gmail帐户发送一封电子邮件到我的服务器上的一个电子邮件帐户,我成功地收到了它。 但是,当我回复该电子邮件时,我还没有收到我的Gmail帐户中收到的邮件,也没有收到我的电子邮件帐户退回电子邮件。 但是,我已经尝试了两次,从Gmail帐户发送电子邮件到服务器,他们还没有收到。 我也一次又一次地向Gmail帐户发送了一封电子邮件,邮件或退回邮件都没有收到。 我已经检查过Postfix邮件队列,并显示以下信息: 我也检查了邮件日志,我得到以下错误: May 16 15:58:43 setanta postfix/smtp[9231]: DC06A122: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=1542, delays=1242/0.01/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting) 有没有人有关于这是怎么回事的想法? 提前谢谢了! 编辑 这是main.cf文件。 这一切都没有注释,所以如果在这里有什么缺失,那么要么没有包括在内,或者我已经散列。 queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix inet_interfaces = all inet_protocols […]
我希望Postfix服务器将每条消息传递给某个传输器,并将其传递给另一个服务器。 在master.cf中,我有以下的传输: zarafa unix – nn – 10 pipe flags= user=vmail argv=/usr/bin/zarafa-dagent ${user} 因为我不能让Postfix交付给两个传输,我可能需要的是一个包装传输,使用procmail也许,传递给zarafa-dagent并中继到第二个服务器(不只是转发到一个地址; 转发到第二服务器)。 它也可以是一个脚本,调用sendmail或任何,但目前,我不知道如何进行。 像bcc_maps这样的东西不起作用,因为它不会产生corrent的X-Original-To和Delivered-To头文件。 它需要被发送到它作为原始服务器被中继到的服务器上的同一个收件人。 编辑:也许我应该澄清一些事情:在备份机器上,我不能有主要相同的邮箱; 只有一个盒子 如果我确实拥有所有的邮箱,那么该服务器的BCC就没问题了。 但是,因为在主要的电子邮件是使用自定义zarafa传输交付,我不能让辅助知道什么邮箱。 因此,我想中继到该服务器,该服务器也认为自己本地的问题。 这样,Delivered-To标题会告诉我原来的RCTP是什么。
我从根服务器提供商那里得到了一个滥用的报告 – 有人通过我的服务器的Postfix发送了钓鱼邮件(邮件头源于我的服务器的IP地址)。 我应该检查什么? 服务器本身似乎没有被黑客入侵。
经过大量的研究,我已经configuration了我的postfix服务器,使用dovecot通过端口465接受SMTPS连接,一切都很顺利。 不幸的是,我忘记了,除非我听25号港口,否则我不会收到网上的任何电子邮件。 我希望有人知道如何打开Postfix上的端口25为匿名用户,但不允许中继和该端口上的任何其他不好的事情。 并按照它的方式离开港口465。 至于我目前的configuration,我改变了master.cf文件: smtps inet n – n – – smtpd 和main.cf文件: #使用我们的SSL证书 smtpd_tls_cert_file = ….. cer smtpd_tls_key_file = …..键 smtpd_tls_security_level =可能 #使用Dovecot进行SASLauthentication smtpd_sasl_auth_enable =是 smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sasl_path = private / auth broken_sasl_auth_clients =是 smtpd_recipient_restrictions = permit_sasl_authenticated,reject_unauth_destination 任何帮助表示赞赏!
我们有一个标准的Postfix / Dovecot安装与真实用户完美的工作,但不能解决如何添加虚拟用户,所有的虚拟用户login尝试失败,身份validation错误。 以下是来自configuration文件的片段: /etc/postfix/main.cf: virtual_mailbox_domains = virtualexample.com virtual_mailbox_base = / var / spool / vhosts virtual_mailbox_recipients = hash:/ etc / postfix / virtual_mailbox_recipients /etc/dovecot/dovecot.conf: !include conf.d / *。conf /etc/dovecot/conf.d/10-auth.conf auth_mechanisms = cram-md5 digest -md5 plain passdb { 驱动程序= passwd文件 #passwd文件的path。 还要设置默认的密码scheme。 args = scheme = cram-md5 /etc/cram-md5.pwd } /etc/cram-md5.pwd [email protected]:{} MD5 $ 1 $ […]
我正在使用PHP图书馆通过postfix发送电子邮件。 但是,当我尝试发送邮件时,我一直在日志中收到这条消息:postfix / sendmail [15782]:fatal:-n选项不受支持 我会从我的代码中删除这个标志,但我很好奇这个标志的目的似乎是无用的( http://linux.die.net/man/1/sendmail.postfix )。 我无法find关于谷歌的任何信息,有关这个选项的目的的任何想法?