Articles of 后缀

如何configurationPostfix在本地用户login时使用“@”(login)接受SMTP?

我在mydomain.com上有一个Ubuntu 14.04服务器,有一堆用户在login时使用@domain ,比如[email protected] 。 他们每个人都有一个“伪”帐户us.er-mydomain.com与相同的uid, passwd和shadow条目。 它们中的每一个都在/etc/postfix/virtual有一个入口: [email protected] us.er-mydomain.com 。 (这些用户在CentOS上从Virtualmin迁移) 。 我的服务器拒绝邮件错误: Dec 6 10:27:31 mydomain postfix/smtpd[8176]: NOQUEUE: reject: RCPT from lalala.asdfasdf.com[220.232.206.13]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[email protected]> 虽然它有一个[email protected]帐户。 我没有设置myhostname或mydomain 。 如果我将它们设置为我的服务器域,postmap开始拒绝具有unknown user: "us.er"邮件unknown user: "us.er"消息。 什么是解决SMTP接收的最佳方法? 这个设置有什么不对吗? Imap和pop3或多或less地工作。 configuration转储如下。 主机名 some-isp-vps 主机名-f mydomain.com postconf -n alias_database = hash:/etc/aliases alias_maps […]

增加Postfix / Cyrus的超时时间“超出指令时间限制”?

我有一个运行Postfix 2.1.5的旧OS X Server 10.4.x,它被configuration为使用cyrus作为邮箱传输。 这里是postconf -n: # postconf -n alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 enable_server_options = yes html_directory = no inet_interfaces = all local_recipient_maps = proxy:unix:passwd.byname $alias_maps luser_relay = mail_owner = postfix mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq […]

无法使用postfix从ec2实例发送电子邮件

我发现我没有收到一段时间的电子邮件。 当我检查日志,我看到这样的错误消息: 1 Mar 7 03:37:32 ip-179-45-37-216 postfix/smtpd[24969]: connect from localhost[127.0.0.1] 2 Mar 7 03:37:32 ip-179-45-37-216 postfix/smtpd[24969]: 92963C1550: client=localhost[127.0.0.1] 3 Mar 7 03:37:32 ip-179-45-37-216 postfix/cleanup[24972]: 92963C1550: message-id=<[email protected]> 4 Mar 7 03:37:32 ip-179-45-37-216 postfix/qmgr[23814]: 92963C1550: from=<[email protected]>, size=1398, nrcpt=1 (queue active) 5 Mar 7 03:37:32 ip-179-45-37-216 postfix/smtpd[24969]: disconnect from localhost[127.0.0.1] 6 Mar 7 03:37:32 ip-179-45-37-216 postfix/smtp[24973]: connect […]

Fedora Core 21上的postgreyconfiguration是非常不同的,没有logging

在从Fedora Core 16升级到Fedora Core 21的过程中,其中一个挑战就是让postfix和Postgrey合作。 经过许多长时间的关注,我仍然没有工作。 在旧的策略中,官方指导你创build你自己的脚本放入/etc/init.d 。 而且,事实上,在FC16上,我做到了! 但是今天,我们有systemctl 。 你可以用yum安装postgrey ,仓库知道它。 它安装正常。 然后你启用systemctl enable postgrey.service ,这也很好。 到现在为止还挺好。 只剩下几件事情要做… 接下来,移动您的白名单文件 – 似乎是相同的格式。 在旧的scheme中,你的postfix main.cf文件中会有这样的一行: … smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:127.0.0.1:10023, permit_mynetworks … 在我的/etc/init.d中,我写了一个脚本,其中的以下摘录显示了有趣的部分,并且运行良好: … exec="/usr/sbin/postgrey" prog="postgrey" options="–unix=/var/spool/postfix/postgrey/socket –inet=10023" [ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog lockfile=/var/lock/subsys/$prog start() { [ […]

IPtables丢弃所有,但后缀仍然发送电子邮件

我的iptables规则: # delete all current rules and user chains iptables -F iptables -X # global policy (target by default) iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP # localhost iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT # dns -> udp iptables -A INPUT -i […]

如何使用monit监视postfix邮件队列?

有没有办法监视使用监视postfix邮件队列? 可用的脚本只是检查,上/下/内存或CPU。 我希望通知队列开始填满时。 能够在不同的队列上设置监视器以便能够适当地作出反应将是很好的。

Postfix:根据用于访问服务器的域(相同的IP)设置自定义的SMTP Banner

我的服务器上有多个域指向相同的IP地址。 我如何设置后缀来迎接每个基于域名的单独的smtp横幅? 我到处search,但没有find一个好的解决scheme,也许这是不可能的?! 例如: ServerIP – Domain – SMTP Banner should look like this 93.184.216.34 – domain1.com – "220 domain1.com ESMTP Postfix" 93.184.216.34 – domain2.net – "220 domain2.net ESMTP Postfix" 93.184.216.34 – domain3.org – "220 domain3.org ESMTP Postfix" 先谢谢你!

如何检查邮件服务器是否被GMail标记为垃圾邮件?

我使用POSTFIX发送邮件。 从我的邮件服务器mydomain.com发送的SPAM在GMail中被标记为SPAM 。 在其他电子邮件服务,如雅虎和RediffMail邮件收件箱收件箱中。 SPFlogging是v=spf1 ip4:5x.6x.7x.8x ~all DKIM是 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;d=customnme.mydomain.com; s=mail; t=1469439662;bh=ox+NQjMd0N/RPAYLG5ZMS6WQnHCFcWQQorJHgFWEy0s=;h=From:To:Subject:Date:From;b=xrwOY34hTlIVVKxVxzGUpE+Z4TpQJhD+Zyw8YaU18hJgZmcbdWL49kGSpmf8qLPQrNgl6c796THzjozx3N1pi41H09LCnvsrFC9bHtIOzuESIIPtNF5Uz6iRgkNa092tjc2ezsLS2epa3Ckt87yQNlnGbabszD+i/ZWRRhM5Onw= 这是DMARC v=DMARC1; p=none; sp=none; rua=mailto:[email protected]; ruf=mailtp:[email protected] SOAlogging是 mydomain.com. SOA IN 604800 dnsserver1.mydomain.com 1720 1201 7000 2419200 86400 我希望所有这些logging都是正确的。 而我的邮件服务器不是一个黑名单。 我检查了这个网站, http://mxtoolbox.com/SuperTool.aspx# 。 反向DNS也正常工作。 垃圾邮件显示此消息, It is similar to messages that were detected by our spam filters 我GOOGLE了这个,并知道这个问题是与邮件内容。 但是从我的另一台邮件服务器发送的相同邮件内容正确地收到收件箱中。 以下是GMail中的电子邮件标题, Delivered-To: [email protected] […]

Postfix可以发送邮件到除gmail之外的所有域

我遇到了我的后缀服务器的一个奇怪的问题。 我可以发送和接收电子邮件,除了Gmail的。 每当我发送邮件到例如[email protected],它都会返回 I'm sorry to have to inform you that your message could not be delivered […] The mail system <[email protected]>: user unknown 这是我在mail.log中得到的 15:32 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=37.120.177.241, lip=37.120.177.241, mpid=20955, TLS, session=<jaW3/4ZRAqsleLHx> 15:32 postfix/smtpd[20956]: connect from v22017054597548976.hotsrv.de[37.120.177.241] 15:32 postfix/smtpd[20956]: 4B34140DE2: client=v22017054597548976.hotsrv.de[37.120.177.241], sasl_method=PLAIN, [email protected] 15:32 postfix/cleanup[20961]: 4B34140DE2: message-id=<[email protected]> 15:32 postfix/qmgr[17940]: 4B34140DE2: from=<[email protected]>, […]

postfix虚拟域是否接受通配符?

我可以在一个盒子上设置一个虚拟域名,以便将一些特定的电子邮件地址转发给gmail,而其他所有(使用通配符)转到我控制的另一个系统。 例如,我可以放在/ etc / postfix / virtual中 [email protected] [email protected] [email protected] [email protected] *@xcski.com *@home.xcski.com