对于开发平台,我试图configurationpostfix,以便捕获由本地运行的应用程序发送的所有邮件,并将它们redirect到在外部邮件服务器(我们的公司邮件服务器)上pipe理的通用邮箱。 我也希望本地邮件帐户保持正常运行(例如,像往常一样将crontab报告发送到[email protected]) 为此,我创build了一个/etc/postfix/virtual文件如下 /(?<!@my-workstation\.local)$/ generic_account 我testing了这个文件如下: $ postmap -q [email protected] pcre:/etc/postfix/virtual generic_account $ postmap -q [email protected] pcre:/etc/postfix/virtual generic_account $ postmap -q [email protected] pcre:/etc/postfix/virtual $ postmap -q [email protected] pcre:/etc/postfix/virtual 它似乎没问题:任何不是@my-workstation.local一部分的邮件地址都被replace为generic_account而@my-workstation.local所有邮件地址部分都保持不变。 为了将generic_account路由到我的公司邮件服务器,我编辑了/etc/aliases并添加了一些内容,如下面的行(使用我们的真实域名和configuration的工作邮件帐户): generic_account: [email protected] 当然,我添加了以下行到main.cf并重新启动了postfix。 virtual_alias_maps = pcre:/etc/postfix/virtual 现在,当我尝试下面的命令,我得到一个不需要的行为: $ echo "Subject: sendmail test" | sendmail -v [email protected] Aug 28 10:38:07 my-workstation postfix/pickup[4841]: 89E553960E57: uid=0 from=<root> Aug […]
我的SMTP服务器被滥用,因为外部地址可以发送电子邮件到像[email protected],[email protected]等地址… 我想限制这些地址的使用只能由具有相同的域名,如[email protected]内部用户(可能来自networking)。 有了这些限制,像[email protected]这样的外部用户无法发送邮件到[email protected],但[email protected]可以。 [email protected]可以发送邮件到[email protected]。 我希望这是很清楚的…我真的不知道如何在Postfix中实现。
我想为出站邮件程序(postfix)设置域密钥签名。 我目前正在使用dkimproxy,但我需要设置一个实例每个后缀这是太多。 有没有软件可以在一个盒子上签名所有的邮件服务器? 那里有什么其他的select?
我有一个Web服务器A和一个Postfix邮件服务器B.他们都是Ubuntu的服务器。 由于某种原因,B只和A连接,不能连接互联网,而是A连接互联网。 所以我想我可以为A和B设置一些iptable规则,让A成为B的路由器或桥接器。 我想我必须使用DNAT规则,但是我不能把这个想法变为现实。 有谁能够帮助我?
我试图configuration一个辅助后缀来启用SMTP AUTH对我的主要后缀服务器(postfix + ldap auth + cyrus) 我已按照http://www.postfix.org/SASL_README.html#client_sasl添加: smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous relayhost = [192.168.66.98] 辅助后缀的configuration文件是: # postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = localhost, 192.168.66.85 inet_protocols = all […]
有没有办法强制Postfix处理邮件为新邮件(Inmail),而不是发送邮件(Outmail)如果设置了特定的标题? 因为inmail通过了路由规则(例如转发),并且只是被传递到了这个地址。 Outmail将被分发到To,CC和BCC的所有地址。 我希望所有这些(To,Cc)头都在那里,但是我希望邮件只发送到一个特定的地址。 我得到的邮件地址,parsing它在PHP中,并希望它被传递到一个用户地址取决于邮件内的信息。 但是,当然,邮件已经发送到发送服务器的所有其他收件人。 用法说明: 邮件列表 支持系统 等等
我在这里的第一个问题,如果我不能立即提供足够的信息,请降低对我的容易;-) 我正在使用OpenVZ运行由afterburst.com托pipe的VPS 我成功安装并configuration了以下组件: zpanel (with apache, mysql, php5.3, postfix) updated successfully to php5.4 running Laravel on secundary webpage (works fine) 发送电子邮件与PHP以及与MUAs工作正常。 从MUA发送到本地托pipe域的电子邮件也可以正常工作。 但是这里是错误的: 当我使用php sendmail命令向本地托pipe的域发送电子邮件时,电子邮件地址被转换为[email protected]。 我相信这与我的DNS设置有关,但是我尝试了很多东西,但是我找不到正确的答案 我的主机名是 [user@vps ~]# hostname vps.krause-it-consulting.com 这里是我的后缀configuration(postconf -n): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 delay_warning_time […]
我在最后几天在我的VPS上安装了postfix / dovecot组合,一切正常。 现在我想添加邮件转发,以便具有特定后缀的邮件,如下所示: youtube- [email protected] reddit- [email protected] stackexchange- [email protected] *[email protected] 被转发到一个地址,如[email protected] 。 我pipe理转发到*@mydomain.tld的所有邮件到一个特定的,但是不这样做。 谢谢你的帮助。
我正在尝试安装postfix服务器 我在vi /etc/postfix/main.cf中编写了这个代码 #Gmail SMTP relayhost=smtp.gmail.com:587 #Enable SASL authentification in postfix SMTP smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_sasl_security_options=noanonymous smtp_sasl_mechanism_filter=plain # Enable TLS ie SSL smtp_use_tls=yes smtp_tls_security_level=encrypt tls_random_source=dev:/dev/urandom 我在这里写了我的电子邮件和密码: vi /etc/postfix/sasl_passwd 但是当我写这个命令的date | mail -s testing [email protected] nothing happen date | mail -s testing [email protected] nothing happen 谁能帮忙? 我会欣赏这一点。 我有这个错误 CFC581CEDC1 366 Thu Mar 16 23:37:33 [email protected] (connect to […]
我的Postfixconfiguration有问题。 当我收到来自互联网的邮件时,我检查邮件(病毒,地址等)。 如果支票是好的,我发送邮件到目的地。 我把邮件给一个脚本,我检查它。 但我有一个转发循环,我发送无限的邮件。 vi /var/log/mail.log Jul 28 14:48:41 ks ****** postfix / local [19635]:D0A1B1C9AC:to =,relay = local,delay = 0.12,delay = 0.01 / 0/0 / 0.11,dsn = 2.0.0,状态=发送(传递给命令:/usr/lib/cgi-bin/test.php) 7月28日14:48:41 ks ******后缀/ qmgr [30839]:D0A1B1C9AC:删除 Jul 28 14:48:41 ks ****** postfix / qmgr [30839]:EA40D1C9AD:from =,size = 2973,nrcpt = 4(队列激活) Jul 28 14:48:41 ks ****** postfix / […]