Articles of 后缀

包括使用“:include:”指令的postfix别名文件中的外部文件

在我的后缀别名文件中的一些条目是静态的,而其他的意图是dynamic的,并且每小时通过cron-job脚本更新。 我希望将静态条目自己放在一个文件中,并简单地通过“:include:”指令将dynamic条目包含到另一个文件中。 这样,我的脚本可以修改dynamic条目,而无需触摸静态条目文件。 这可能吗? (PS我知道:include:指令可以用作别名的右边,我只是想知道它是否也可以用来完全包含新的别名)

如何设置后缀接受邮件错误的拼写域?

比方说,我有一个电子邮件地址,[email protected],一个有效的SMTP服务器。 我想设置我的服务器和DNS,如果他们错误地发送电子邮件至[email protected],它仍然到达那里。 我已经build立了MXlogging,所以mystudios.com的MX是mystudio.com,但不幸的是,电子邮件反弹,“中继访问被拒绝”。 我如何configurationpostfix接受来自mystudios.com的邮件? 我还应该提到,mystudio.com接受邮件许多不同的域名,所以我有一个设置,其中mysql表用于validation域/别名/邮箱。 例如: main.cf: virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, mysql:/etc/postfix/mysql_virtual_mailbox_domainaliases_maps.cf virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, mysql:/etc/postfix/mysql_virtual_alias_domainaliases_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf 更多细节: 如果我将mystudios.com添加到domain mysql表中,我现在得到一个不同的错误: Recipient address rejected: User unknown in virtual mailbox table 但我不想设置与mystudio.com上存在的完全相同的别名。 我只想要发送到mystudios.com的任何东西redirect到mystudio.com。

centos 6.5 postfix postgresql支持

即时通讯尝试使用postgres与Postgres创build一个虚拟用户邮箱。 我得到以下错误: fatal: unsupported dictionary type: pgsql warning: process /usr/libexec/postfix/smtpd pid 22827 exit status 1 warning: /usr/libexec/postfix/smtpd: bad command startup — throttling 有没有额外的回购提供postgres支持? 谢谢

Postfix的主要问题

今天我注意到我的后缀日志中的以下内容: 我在日志中得到这个: Mar 6 13:36:16 my_server_name postfix/smtpd[23482]: connect from <other_server_IP> Mar 6 13:36:16 my_server_name postfix/smtpd[23482]: 0672758002: client=unknown <other_server_IP> 在日志中logging这个消息后,我发现这个迟了5分钟: Mar 6 13:41:16 my_server_name postfix/smtpd[23482]: timeout after DATA (478 bytes) from unknown[other_server_ip] Mar 6 13:41:16 my_server_name postfix/smtpd[23482]: disconnect from unknown[other_server_IP] Mar 6 13:41:16 my_server_name postfix/cleanup[25740]: 0672758002: message-id=<358106663.93.1394109376020.JavaMail.apwbcprd@my_server_ip> 那么没有更多的条目。 另一台服务器通过java代码发送消息。 这个其他服务器有其他的成功尝试和其他由于networking而失败的尝试。 同时我的SMTP服务器正在成功处理其他请求。 我假设其他服务器中存在问题,以至于我的SMTP服务器没有收到其余消息,因此我们看不到qmdr,皮卡,pipe道等。 注意:运行mailq命令,我没有队列中的消息

Postfix别名

我有个问题。 是否可以configuration后缀别名从外部脚本检索它们? alias_maps = /path/to/pythons_script.py 要么 alias_maps = /path/to/script.sh 编辑(根据作者的评论): 别名应该是发件人的依赖。

如何将DNS电子邮件发送到虚拟主机域来分隔服务器而不是网站

我很抱歉,如果这是重复的,但我不确定正确的短语来search,以确保尚未解决。 我有2台服务器,PTRloggingdomain.com和mail.domain.com 。 第一台服务器,对大型网站和应用程序进行大规模虚拟化pipe理,而第二台服务器则打算成为这些虚拟托pipe域的邮件服务器。 我已经成功地使用iredmail来为主域使用mail.domain.com的SMTP服务器运行电子邮件。 但是,我似乎无法弄清楚我需要如何设置我的DNS设置说[email protected] ,这样client.com DNSparsing为服务器domain.com ,但电子邮件client.comparsing为服务器mail.domain.com 。 我已经尝试为客户端设置mxlogging作为使用mail.domain.com优先级为10 ,但是,然后我们开始得到错误的电子邮件到/从domain.com 。 我知道我们需要做一些postfix设置来重写用户帐户,但是我怎么设置DNS,以便帐户[email protected]可以使用mail.domain.com或mail.client.com作为I / O邮件服务器?

Postfix Spamassassin延期队列大量错误

我一直在见证我的Postfix电子邮件服务器,配有Dovecot和spamassassin一些大规模的问题。 日志文件显示如下所示的错误,日志中有成千上万个这样的行。 Mar 13 14:21:48 centos postfix/qmgr[1908]: warning: 5ABBA1425BF: defer service failure Mar 13 14:21:48 centos postfix/qmgr[1908]: 5ABBA1425BF: to=<[email protected]>, relay=none, delay=1929, delays=1706/223/0/0, dsn=4.3.0, status=deferred (mail transport unavailable) Mar 13 14:21:48 centos postfix/qmgr[1908]: warning: 5ABBA1425BF: defer service failure Mar 13 14:21:48 centos postfix/qmgr[1908]: 5ABBA1425BF: to=<[email protected]>, relay=none, delay=1929, delays=1706/223/0/0, dsn=4.3.0, status=deferred (mail transport unavailable) Mar 13 14:21:48 […]

Postfix mysql临时查找失败

我正在尝试使用本指南configurationpostfix / courier / mysql / SquirrelMail安装程序,但在尝试发送电子邮件时出现以下错误: 451 4.3.0 <[email protected]>: Temporary lookup failure /var/log/mail.log条目: Mar 16 11:37:42 myserver postfix/smtpd[12750]: connect from localhost[127.0.0.1] Mar 16 11:37:42 myserver postfix/smtpd[12750]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Mar 16 11:37:42 myserver postfix/smtpd[12750]: warning: mysql:/etc/postfix/mysql-virtual_email2email.cf lookup error for "[email protected]" Mar […]

Postfix提供给unix用户而不是虚拟的

我已经设置postfix来使用虚拟用户的入站电子邮件,configuration从MySQL读取。 但是,当我试图在本地发送邮件时,使用诸如sendmail root@localhost < testmail ,查询正在执行,但邮件没有传递到虚拟用户目录。 目录/var/mail/root被创build。 MySQLconfiguration似乎是正确的,因为执行以下查询: SELECT destination FROM aliases WHERE mail='root@localhost' and enabled = 1 +—————-+ | destination | +—————-+ | root@localhost | +—————-+ SELECT destination FROM aliases WHERE mail='localhost' and enabled = 1; Empty set (0.00 sec) SELECT domain FROM domains WHERE domain='localhost' and enabled = 1; +———–+ | domain | […]

增加CentOS 6上的分区大小或移动postfix的位置

当我的主机设置我的服务器时,他们以一种奇怪的方式分区驱动器。 我有以下两个文件系统。 /dev/mapper/vg_norecordset-lv_root /dev/mapper/vg_norecordset-lv_home 不幸的是我…root只有50GB,是100%满。 …home仍然有一吨的空间。 问题是/var/spool/postfix/位于…root ,我不能发送也不能收到邮件。 我想我现在有两个select。 将postfix的位置移动到其他文件系统 – 或者 – 以主分区为代价增加根分区的大小。 我也不知道该怎么做。 fdisk -l输出: Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes […]