我想安装postfix邮件服务器而不是ms交换服务器。 我们有大约8000个用户,我们要为用户使用活动目录。 我们需要多less台服务器? 我们应该select什么样的策略? 如何在邮件服务器中使用广告用户?
我正在开发一个Web应用程序,要求注册用户名能够接收电子邮件到: <some-username>@<my-web-app>.com 一旦系统validation了系统中的地址,我需要一种能够用Python处理电子邮件的方式。 假设你正在使用Postfix,一旦收到一封电子邮件,你如何添加一个Python的钩子来做一些后期处理?
我有以下设置: 带有postfix的linux box被configuration为负责example.com域 域的MX服务器被configuration,以便发送到example.com的邮件被发送到谷歌邮件服务器 在linux机器上存在几个用户帐户(同一台机器也是主机example.com站点) 当来自外部的人试图发送邮件到以@ example.com结尾的地址时,它被路由到谷歌邮件(并在那里适当地处理)。 当linux机器试图发送邮件到外面的世界时,邮件被正确地传送,因为反向dns和spfloggingconfiguration正确,所以linux机器是example.com域(和google邮件服务器一起)的有效邮件发送者。 但是,这是问题。 当PHP应用程序(在Linux框中托pipe)试图发送邮件到[email protected](和某些用户不存在于Linux的盒子),它失败,因为它甚至不咨询谷歌邮件服务器,但后缀smtp本地结束“某个用户”是未知的。 所以, 问题是 :如何告诉postfix将发送到@ example.com域的邮件转发到谷歌邮件服务器(如此,到MXlogging中指定的服务器),IF和只有在本地找不到邮箱。
尝试从我的Postfix服务器发送电子邮件到[email protected] Google Apps电子邮件时[email protected]以下错误。 to =,relay = local,delay = 0.09,delay = 0.07 / 0/0 / 0.02,dsn = 5.1.1,status = bounced(未知用户:“admin”) 有没有一种方法,我可以强制它不使用本地中继和对待作为外部电子邮件的[email protected] ,并不寻找在当前的后缀configuration用户。 我正试图通过电子邮件发送完整的电子邮件地址“[email protected]”而不是“pipe理员”。 我在mydomain.com + SPFlogging上有Google Apps MXlogging,以前是: v = spf1包括:_spf.google.com〜全部 (通过电子邮件发送给[email protected]用于处理该logging) 但是我不得不把它改成v = spf1 a mx ip4:MY.IP.HERE包括:_spf.google.com〜all
我一直在使用postfix,dovecot和mysql来configuration我的邮件服务器。 我有一个虚拟域和几个虚拟邮箱。 使用松鼠邮件,我已经能够login到我的帐户,并发送电子邮件(例如,我可以发送到谷歌邮件就好了),但是我无法收到任何电子邮件 – 不是从外部世界,也不是在我自己的networking。 我可以telnet使用本地,我的私人IP和我的公共IP端口25没有任何问题(我已经尝试从服务器本身和从我的networking上的另一台计算机)。 当我从我的googlemail帐户发送邮件到我的邮件服务器时, mail.log Apr 14 07:36:06 server1 postfix / qmgr [1721]:BE01B520538:from =,> size = 733,nrcpt = 1(队列激活) Apr 14 07:36:06 server1 postfix / pipe [3371]:78BC0520510:to =,relay = dovecot,delay = 45421,delayed = 45421/0/0 / 0.13,dsn = 4.3.0,status = deferred >失败。命令输出:无法打开日志文件/var/log/mail-dovecot.log:权限被拒绝) Apr 14 07:36:06 server1 postfix / pipe [3391]:8261B520534:to =,relay = dovecot,delay […]
我有一个快速的问题。 如何在不传送电子邮件的情况下将邮件添加到Postfix的队列中? 我正在编写一个脚本将Postfix统计信息(队列数,发送等)发送给我们的支持人员。 我想在Postfix的队列中有邮件来testing它是否正常工作。 但是,每次我从Postfix发送一封邮件,它都会被发送。 🙂 谢谢!
我有一个邮件域和两个服务器(机器)与Centos 6.4和公共IP地址。 Postfix邮件服务器和Dovecot IMAP / POP3服务器都安装在两者上。 我如何将它们冗余设置,使它们永久保持同步,以便我可以使用它们中的任何一个来发送和接收,并且如果其中一个服务器停机,那么将不会出现可见的中断? 收件箱和所有邮件是否应存储在两台服务器上以实现冗余?
当我尝试通过我的身份validation的SMTP服务器将家庭计算机上的客户端的电子邮件发送到[email protected]时,出现以下错误。 Oct 17 09:21:40 debian postfix/smtpd[1643]: NOQUEUE: reject: RCPT from unknown[xxxx]: 553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[192.168.1.5]> 我最终寻找一个错误的修复,但我目前想知道main.cf中的哪些configuration参数能够修复它。 例如,我应该摆弄smtpd_sender_restrictions , smtpd_relay_restrictions或smtpd_recipient_restrictions ? 我无法通过使任何以前的参数尽可能宽容来消除错误。 编辑:这是我目前的configuration的相关部分,虽然我主要是寻找可能导致地址被拒绝的几个可能的Postfix参数。 relay_domains = * smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rhsbl_reverse_client dbl.spamhaus.org, reject_rhsbl_helo […]
在通过我的邮件服务器发送邮件之后, postfix/anvil附加如下内容: Nov 9 15:09:11 keutenberg postfix/anvil[30006]: statistics: max connection rate 1/60s for (smtp:103.28.42.75) at Nov 9 15:02:42 Nov 9 15:09:11 keutenberg postfix/anvil[30006]: statistics: max connection count 1 for (smtp:103.28.42.75) at Nov 9 15:02:42 Nov 9 15:09:11 keutenberg postfix/anvil[30006]: statistics: max message rate 1/60s for (smtp:103.28.42.75) at Nov 9 15:02:43 Nov 9 15:09:11 keutenberg postfix/anvil[30006]: […]
我无法使Postfix与包含@ Postfix在/etc/postfix/virtual有虚拟域映射 它看起来像这样: domain.ru domain.ru [email protected] [email protected] [email protected] [email protected] 这意味着所有发送给用户[email protected]和[email protected]邮件都必须传送给名为[email protected]的Linux用户 但是,当我在Linux用户名中使用no @时,像me.example.ru一样,事情工作正常。 我发现saslauth拒绝与[email protected]一起工作,除非加载-r标志。 有什么熟悉的应该做的Postfix,使其工作方式相同? 我也试过me\@example.ru ,逃脱它。 没有效果。 我错过了什么?