我似乎无法访问Amazon EC2上的实例上的端口25。 我打开了安全组和iptables防火墙中的端口。 我以同样的方式开放了其他港口(包括22和80),他们工作。 在实例上,我可以telnet到端口25,并看到来自postfix的输出。 从外部EC2我可以telnet到端口22或端口80,看到从SSH服务器和Web服务器的输出。 但是当我从EC2外部telnet到端口25时,它只是在等待。 我填写了表格,可以发送电子邮件,并已确认已完成。 我已经检查和传出的电子邮件工作正常。 (所有这一切都是通过中继来避免IP黑名单)。 那么亚马逊是否将传入的stream量视为不同的端口? 这对其他人来说工作正常吗? 任何帮助赞赏。 作为一个麻烦的替代来源,我在SUSE Linux(SLES 10)上使用postfix,我想知道是否其中任何一个隐藏的设置,这意味着他们将不会响应端口25从机器。 我已经用iptables -L -nvv和iptables -t nat -L -nvv检查了iptables设置,我看不到任何会阻碍的规则。 而且postfix在localhost上响应telnet。 编辑:当我完全closuresiptables,telnet立即返回 telnet: Unable to connect to remote host: Connection refused 按照答案的要求, master.cf的内容是: # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) […]
这是我第一次使用后缀,我有一些configuration它的问题。 它发送邮件到“真实”的世界,但我不能recive从networking发送的邮件。 我认为主机有一个主机configuration错误,我试过一些解决scheme,但没有影响 服务器运行Debain Stable(Lenny) 猫/ etc / hostname hosting 猫/ etc / hosts 127.0.0.1 localhost 94.23.70.214 artkiller-web.com hosting mail cat /etc/postfix/main.cf myorigin = $mydomain myhostname = mail.artkiller-web.com mydomain = artkiller-web.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = localhost, /etc/postfix/local-domain mynetworks_style = host relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 cat / etc / […]
我在生产环境中有一个postfix + cyrusIMAP邮件服务器,现在我需要把它迁移到一个新的硬件平台。 我已经设置了新的服务器(Ubuntu 10.04.2 LTS,后缀+ cyrusIMAP),但是我怎样才能testing它,而不会干扰当前的邮件服务器? 它将与公司使用的域名一致。
我正在使用Ubuntu 10.10 32位。 这是nginx,php-fpm和PHP 5.3的新服务器 我将安装postfix 。 目前服务器可以发送邮件(也许通过sendmail发送),但速度很慢,直到PHP超时。 要安装,我将运行: sudo apt-get install php-pear sudo pear install mail sudo pear install Net_SMTP sudo pear install Auth_SASL sudo pear install mail_mime sudo apt-get install postfix 但Postfix安装后,如何确保使用Postfix的所有邮件?
我只是把我的Web服务器locking在我的上面,它停止了服务页面,不接受任何SSH连接。 我可以通过Linode提供的控制面板重启这台服务器。 下面你会看到系统日志中的最后几个条目冻结之前,任何想法这意味着什么和/或如何防止在未来发生这种情况? 服务器运行Ubuntu 10.04(32位)。 Jul 13 08:50:15 megatron postfix/qmgr[2628]: 928E239B6E: from=<>, size=3111, nrcpt=1 (queue active) Jul 13 08:50:15 megatron postfix/bounce[29276]: 2EBCD39A99: sender non-delivery notification: 928E239B6E Jul 13 08:50:15 megatron postfix/qmgr[2628]: 2EBCD39A99: removed Jul 13 08:50:15 megatron postfix/local[29278]: 928E239B6E: to=<[email protected]>, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jul 13 08:50:15 megatron postfix/qmgr[2628]: 928E239B6E: removed […]
我最近采取了黑暗的道路,通过shell访问来pipe理我自己的VPS(CentOS 5)。 我安装了LAMP栈,FTP等,然后设置邮件服务器,我用postfix,dovecot和squirrel mail作为客户端。 在网上阅读不同的教程后,我成功地失败了。 这是邮件日志的示例: Jul 20 01:18:16 www postfix/smtpd[1287]: warning: private/proxymap socket: service dict_proxy_open: Connection reset by peer Jul 20 01:18:16 www postfix/master[1125]: warning: process /usr/libexec/postfix/proxymap pid 7431 exit status 1 Jul 20 01:18:16 www postfix/master[1125]: warning: /usr/libexec/postfix/proxymap: bad command startup — throttling Jul 20 01:19:16 www postfix/proxymap[7449]: fatal: unsupported dictionary type: mysql […]
有没有关于postfix服务器维护的提示? 我注意到它有时会粘住或运行速度很慢。 我在想在后台清理postfix邮件队列中可能会有一个守护进程的脚本运行? 其他技巧也是受欢迎的。
正如标题所暗示的,我们正在寻找一台内部SMTP服务器,用于所有具有电子邮件警报function的服务器应用程序(即WhatsUp Gold,我们的Windows Storage Server报告等)。 我们使用的大部分程序都允许对SMTP服务器进行基本身份validation。 其他程序甚至不允许使用用户名(只是一个邮件服务器地址,就是这样!)。 我们的公司邮件服务器(托pipe交换)要求我们为SMTP支付额外的费用,并且只有在启用了SSL的情况下才允许它,我们要发送电子邮件的95%的程序没有SSL选项,所以他们没有这个问题。 我已经尝试在内部设置一些sendmail和postfix服务器,但是每当我尝试发送邮件时,我们的Exchange服务器都会拒绝它,因为它无法validation主机名。 我猜测它正在对发件人地址进行MX查找,这只是机器的主机名,所以它来自类似“servername.localhost”的东西,这显然不存在。 我认为这里最大的障碍是我缺乏邮件服务器的工作方式。 这是我需要让我的邮件提供商修复? 是否可以通过在postfix / sendmail中进行configuration更改来解决问题? 获得这个内部邮件服务器设置和工作的最佳方式是什么?
我运行Ubuntu 10.04并安装了一个“卫星”Postfix的LAMP堆栈(用作我的ISP的SMTP中继)。 在php.ini中,我使用-t -i参数将sendmail传递保留为默认值: ;sendmail_path = 我发送这样的电子邮件: $headers = 'From: [email protected]' . "\r\n"; $headers .= 'Reply-To: [email protected]' . "\r\n"; $headers .= 'Return-Path: [email protected]'; mail('[email protected]', 'Email title', 'Text of the body.', $headers); 收到的电子邮件中有这个(它应该在标题中): Reply-To: [email protected] Message-Id: <[email protected]> Date: Thu, 27 Oct 2011 23:02:18 +0200 (CEST) 我们如何解决这个问题? 注意:电子邮件在其他安装上可以正常工作:带有qmail的Gentoo或带有smtp的Windows在php.ini中设置为我的isp。 这是完整的标题: Return-Path: <[email protected]> Delivered-To: [email protected] Received: (qmail 28922 invoked […]
我刚刚用Postfix和Dovecot设置了我的第一个邮件服务器。 我可以发送邮件(通过松鼠邮件)罚款,但不能收回。 Pingability告诉我, ConnectException: Connection refused但是我的防火墙没有阻塞端口25。 我怀疑它与我的Postfixconfiguration文件有关: smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix myhostname = mail.myserver(i've blanked this out).com mydomain = myserver(i've blanked this out).com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, […]