我试图从我的服务器发送邮件使用postfix ,除了一件事情,它完美的作品; 它以root@example而不是[email protected]发送邮件。 这是我的configuration文件,我错过了什么? # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending […]
我有一个Postfix的邮件网关设置,并希望更改收件人地址。 我希望所有邮件被转发[email protected] ,而不是转发到[email protected]我有postfixconfiguration使用smtp_generic_maps (如下),但是这只适用于邮件正在生成的邮件服务器本身。 任何通过Postfix服务器转发的邮件仍然会去[email protected]有效地忽略smtp_generic_maps 。 我应该考虑什么样的configuration来实现这个目标? # grep smtp_generic_maps main.cf smtp_generic_maps = hash:/etc/postfix/generic # postmap /etc/postfix/generic # service postfix reload # cat /etc/postfix/generic [email protected] [email protected]
我的服务器上运行postfix与ClamAV有问题,它不会从昨天开始发送也不会收到邮件,这对我们来说是非常重要的。 所以我检查了mail.log文件,发现所有的日志行都是关于ClamAV的,所以我试图阻止两者 /etc/init.d/clamav-daemon stop /etc/init.d/clamav-freshclam stop 但第二个冻结和服务不停止..我不能重新启动服务器本身,但可以最终重新启动后缀如果需要的话。 我怎样才能停止并彻底删除clamAV? 非常感谢你 ! 编辑在Debian上运行,这里是ps aux |的输出 grep clamav
Postfix正在返回一个临时错误代码(4xx),而不是一个永久性错误代码(5xx),用于“拒绝中继访问”,导致MX继续重试: 日志: postfix/smtpd[14279]: connect from unknown[10.244.xx] postfix/smtpd[14279]: NOQUEUE: reject: RCPT from unknown[10.244.xx]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mx.somewhere.com> postfix/smtpd[14279]: disconnect from unknown[10.244.xx] 相关configuration: smtpd_recipient_restrictions = reject_unauth_destination reject_unknown_reverse_client_hostname, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_invalid_hostname, reject_rbl_client zen.spamhaus.org, permit virtual_alias_domains = example.com virtual_alias_maps = hash:/etc/postfix/virtual 我宁愿如果Postfix会回应一个554错误,所以远程服务器停止重试一些永远不会工作的东西。
我们在3个独立的公共静态IP上有3个SMTP服务器。 我们在一个静态IP上有一个辅助故障转移连接。 我想将所有3个SMTP服务器放在路由器后面,并closures公共IP,使用postfix接受主互联网连接和故障转移中的邮件,然后将所有电子邮件路由到现在的内部SMTP服务器。 这些是3个不同的电子邮件域。 我如何设置Postfix cnfg来实现这个function? 我GOOGLE了这个,没有find一个合适的解决scheme。 我有一个现有的Ubuntu 16.04盒子当前充当SSH网关,并将lkike利用这台机器的smtp网关/智能主机。
我注意到在我的日志中,Postfix不能发送电子邮件到本地帐户。 postfix/local[12775]: warning: maildir access problem for UID/GID=33/33: create maildir file /var/www/Maildir/tmp/1492097290.P12775.FQDN: Permission denied postfix/local[12775]: warning: perhaps you need to create the maildirs in advance postfix/local[12775]: 56ABC81A28: to=<www-data@FQDN>, relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/www/Maildir/tmp/1492097290.P12775.FQDN: Permission denied) postfix/qmgr[8037]: 56ABC81A28: removed 我有configuration的虚拟域,他们正常工作。 我能够成功地将电子邮件从一个帐户发送到另一个帐户。 如何将Postfix的本地交付选项更改为/var/www/ ?以外的其他目录
我只使用我的服务器发送邮件,因为我使用Zoho在我的域中接收电子邮件。 我想禁止接收任何邮件的后缀,因为垃圾邮件发送者总是试图给我发邮件或使用我作为中继。
我知道这个问题已经被问到。 但我的问题是如此奇怪。 我已经做了一切必要的工作,以避免垃圾邮件,但我的邮件仍然将垃圾邮件文件夹。 我的mail-tester.com得分是10/10。 我的allaboutspam.comtesting结果也不错,你可以在下面的链接中看到: testing结果 但邮件仍然是垃圾邮件,我不知道该怎么办,我已经做了一切在互联网上。
我会很感激一些build议,如何运行在同一台服务器上运行的httpd和邮件的DNS。 我有一个在AWS上运行的服务器,我想运行httpd和邮件。 目前它只运行httpd,但我只是安装了后缀。 有一个TLD的logging,和一个www的子域,都指向我的IP地址。 现在我为主TLD设置反向PTR(所以mydomain.com转到5.5.5.5,5.5.5.5转到mydomain.com)。 但现在,我想安装后缀,我想我应该改变到www.mydomain.com,因为我认为这可能是一个明智的想法,如果我要发送和接收电子邮件。 这有道理吗? 下面是我目前如何安装(我也加了www.mydomain.com作为一个MXlogging,这是没有显示在下面)。 或者应该指向mydomain.com的Alogging总是有一个反向logging指向我的domain.com 谢谢 附图附: http : //i63.tinypic.com/j0d1ef.jpg
我的公司希望根据发件人的地址为所有电子邮件添加页脚。 我们已经成功实施它基于这篇文章https://www.howtoforge.com/how-to-automatically-add-a-disclaimer-to-outgoing-emails-with-altermime-postfix-on-debian-squeeze 。 主要的master.cf行是: smtp inet n – – – – smtpd -o content_filter=dfilt: dfilt unix – nn – – pipe flags=Rq user=filter directory=/var/spool/filter null_sender= argv=/etc/postfix/autofooter -f ${sender} — ${recipient} 当我们从webmail或outlook发送电子邮件,但是从移动电子邮件客户端发送时失败。 手机发送的电子邮件到达他们的收件人,但autofooter脚本根本不被调用。 networking邮件和手机邮件有什么不同?