我试图在服务器上设置exim4,以便它可以接收邮件的几个子域,我想pipe到PHP脚本。 我想通过我的自定义脚本(PHP)处理所有传入的邮件。 我在下面发布了一些我的设置细节。 我设置这个比较新,所以我很抱歉,如果我完全没有。 我已经尝试了下面的命令,它似乎没有做任何事情。 我在/var/mail中看不到任何新邮件,而且PHP脚本似乎没有被击中。 echo "This is a test." | mail -s Testing [email protected] 这是自定义路由器,在exim4.conf : cmd_router: driver = accept domains = +local_domains transport = cmd_transport no_verify 以下是exim4.conf中的exim4.conf : cmd_transport: debug_print = "T: using cmd_transport" driver = pipe command = /dir/to/php_mailer.php delivery_date_add envelope_to_add 这里是update-exim4.conf.conf文件: dc_eximconfig_configtype='internet' dc_other_hostnames='QAnetwork ; sub1.domain.net ; sub2.domain.net ; localhost' dc_local_interfaces='127.0.0.1 […]
我在/etc/exim/exim4.conf缺lessexim4configuration文件。 dpkg-reconfigure exim4-config运行正常,发送/接收邮件也可以。 我只是不知道configuration保存在哪里。 主要的是我需要找出填充到Thunderbird的设置电子邮件字段(到smtp字段和imap / pop3字段),因为我找不到我的smtp和imap / pop3服务器的名称。 我可以在哪里得到它? 编辑:我已经设置mail.example.com当我运行configuration,但设置这个雷鸟不起作用。 EDIT2:在/etc/exim4/update-exim4.conf.conf我发现了一些configuration,但没有关于smtp / imap / pop3: dc_eximconfig_configtype='internet' dc_other_hostnames='example.com; localhost' dc_local_interfaces='<MY_IP_ADDRESS> ; 127.0.0.1 ; ::1' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='mail_spool'
我用Exim使用Mailman。 当一个非成员发布到一个邮件列表中时,可以用以下任何一种方式来configurationMailman,每个方法都有一个问题: 接受它 – 将垃圾邮件分发给所有名单成员。 丢弃它的默默 – 这是令人沮丧和困惑的人从第二地址发送邮件,没有意识到这不是他们订阅。 保持适度 – 这为主持人筛选垃圾邮件寻找less量非垃圾邮件创造了重大的工作量。 (2)如果主持人松懈,我们有效地回来。 拒绝与反弹信息 – 这将创build反向散射垃圾邮件。 在我看来,最好的办法是做与Exim做同样的事情,当有人试图发送邮件到一个不存在的地址:在SMTP连接时用拒绝代码拒绝它。 这样,真正的用户将被发送MTA通知问题,而与伪造的发件人的垃圾邮件将不会创build反向散射。 是否有可能configurationExim以这种方式查询邮件和拒绝在SMTP时间非成员列表发布?
由于前几天我已经看到从localhost每隔几分钟左右经常SMTP连接检查/ var / log / exim_mainlog 2015-05-08 13:34:41 SMTP connection from [127.0.0.1]:48724 (TCP/IP connection count = 1) 2015-05-08 13:34:42 SMTP connection from localhost [127.0.0.1]:48724 closed by QUIT 2015-05-08 13:35:29 cwd=/etc/csf 2 args: /usr/sbin/exim -bpc 2015-05-08 13:39:44 SMTP connection from [127.0.0.1]:48748 (TCP/IP connection count = 1) 2015-05-08 13:39:45 SMTP connection from localhost [127.0.0.1]:48748 closed by QUIT […]
我正在寻找一个简单的build议,应该基本上(最低限度)做一个默认的Debian 8 Jessie的exim4-daemon-heavy安装实际上接收任何邮件。 说到安装软件包后的基本操作,我的意思是设置MXlogging并通过dpkg-reconfigure exim4-config进行初始configuration: types: 互联网网站 系统邮件名称: example.org 侦听传入SMTP的IP: 空 其他目的地: 空 要传递的域: 空的 机器继电器: 空的 DNS查询最less: 不 交货方式: Maildir格式 分割configuration: 是的 这显然产生了这样的/etc/exim4/update-exim4.conf.conf文件: dc_eximconfig_configtype='internet' dc_other_hostnames='' dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' dc_use_split_config='true' dc_hide_mailname='' dc_mailname_in_oh='true' dc_localdelivery='maildir_home' 最后一个动作是将/etc/mailname设置为example.org 。 上述所有内容都足以让Exim发送电子邮件,但是如果有人试图向你发送一个,你会得到这个恼人的relay not permitted错误: H=example.net [192.0.2.1] F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted 这种行为是非常典型的,上次我设置了Exim(Debian 7 Wheezy's),我花了很多时间设置这个,最后它工作。 我不想rsync老configuration,我只是想知道什么设置使得Exim接收电子邮件 […]
我的本地注册商允许注册以.com.uy结尾的域名,并且最近开始提供.uy域名(向其现有的.com.uy客户免费提供.uy地址)。 在我的情况下,我拥有两个域名,即domain.com.uy和domain.uy 。 电子邮件目前正在我的服务器@domain.uy很好地工作,它目前有SPF,DKIM和DMARC设置。 一个SSL证书已经build立,到目前为止exim4正在完美地工作。 但是,我希望用户能够在收件箱中收到电子邮件,而不pipe电子邮件是发送给.com.uy还是.uy版本。 Bob的电子邮件地址是[email protected] ,将开始接收发送给[email protected]电子邮件。 传出的电子邮件应该按照目前的方式工作(即显示为[email protected] )。 我的问题是,无论发送哪个主机名电子邮件( [email protected]应该与电子邮件接收 [email protected]相同),允许用户接收电子邮件的适当方式是什么。 我一直在阅读地址重写不是因为我被build议,而是因为我认为它可以工作。 不过,我还没有改变什么,因为我想就此发表一些意见。 我也读过这个,但是并没有真正理解它。 我希望这是服务器端(不需要在最终用户configuration),服务器范围(即不要求每个用户的configuration),并足够干净,以避免任何可能的问题与垃圾邮件filter。 我拥有对服务器的SSH访问权限,并对其DNSlogging进行完全控制。 提前致谢 编辑:在exim.conf中添加一个重写function,可以像从我的domain.uy发送邮件时那样工作,但是目前远程邮件失败。 [001.641] ~~> RCPT TO:<[email protected]> [002.307] <~~ 550-Please turn on SMTP Authentication in your mail client. www3.checktls.com 550-(checktls.com) [69.61.187.232]:59092 is not permitted to relay through this 550 server without authentication. [002.307] Cannot proof e-mail address (reason: […]
如果我的用户在我的example.com域中有firstlastforms的用户名,那么有没有办法让exim正确地传递给他们,无论点数放在地址中? 这是Gmail的一项function。 [email protected] [email protected] [email protected] 全部被传送到[email protected] ,最后的标签被保留用于过滤。 理想情况下,我希望能够对这些用户发送的电子邮件进行规范化,使其具有他们select的点的forms(也是Gmail的一项function),以便他们的邮件始终显示为来自[email protected] if这是他们select的。
我的域名example.com在GoDaddy上注册,同时还有MXlogging。 example.com的主机位于由另一个主机托pipe的VPS上。 example.com运行一个具有联系表单的Web服务器。 我希望这个联系表格发送邮件到[email protected]到GoDaddy邮箱,我需要在VPS上设置exim以作为MTA运行。 我使用'dpkg-reconfigure exim4-config'设置exim4,select“internet site”选项,并接受其余的默认选项。 但是我看到exim试图把邮件发送到info @ example com自己到GoDaddy。 我发现在'dpkg-reconfigure exim4-config' Please enter a semicolon-separated list of recipient domains for which this machine should consider itself the final destination. These domains are commonly called 'local domains'. The local hostname and 'localhost' are always added to the list given here 并试图find一种方法来不包括本地主机名到这个列表: man update-exim4.conf dc_other_hostnames […]
550 maximum allowed line length is 998 octets, got 1014 在电子邮件中出现这个错误反弹。 有没有一个解决这个问题的设置? 试图谷歌它,但无法find任何解决scheme。
我尝试了所有我能想到的方法来使DKIM与我的Ubuntu 16.04服务器上的Exim4一起工作,但是从我的服务器发送的电子邮件仍然没有用DKIM签名! 我正在使用Exim4,unsplitconfiguration。 我在/ etc / exim4 / dkim中使用这些命令生成私钥和公钥: sudo openssl genrsa -out dkim.key 1024 sudo openssl rsa -in dkim.key -pubout > dkim.pub 我在/etc/exim4/exim4.conf.template中编辑了以下几行: .ifdef DKIM_DOMAIN dkim_domain = ${lc:${domain:$h_from}} .endif .ifdef DKIM_SELECTOR dkim_selector = mail .endif .ifdef DKIM_PRIVATE_KEY dkim_private_key = /etc/exim4/dkim/dkim.key .endif .ifdef DKIM_CANON dkim_canon = relaxed .endif 然后运行这些命令: sudo update-exim4.conf sudo service exim4 restart […]