服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

Exim应该将失败的消息的ID保存到数据库(或者至less将其pipe理到一个shell脚本)

安装程序 我们在Debian Squeeze 6(Squeeze)(LTS)上运行exim 4.72版本。 Exim仅用于外发电子邮件 – 它不处理来自其他服务器/域的电子邮件 – 它只处理来自本地运行的Java(Web)应用程序的(外发)消息。 对于匿名,让我们假设我们用于公司电子邮件地址的域名,以及我们的java web应用程序运行的域名称为example.com 。 的背景 我们有一个用java框架编写的web应用程序,它允许用户发送电子邮件。 这些电子邮件的envelope-from地址属于我们的域名: [email protected] 。 从技术上讲,这些电子邮件是创build的,并从Java Web应用程序(我们使用JavaMail API )本地发送,然后发送到他们的目标地址。 传入我们网域的电子邮件由Google Apps / Gmail处理(我们还设置了SPFlogging等) 这个设置工作正常,没有任何问题。 为了完成,这里是我们的(匿名) update-exim4.conf.conf : root@server:~# cat /etc/exim4/update-exim4.conf.conf # … comments are skipped … dc_eximconfig_configtype='internet' dc_other_hostnames='node1.example.com' dc_local_interfaces='127.0.0.1 ; ::1' 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' 问题 […]