升级maildrop,解决自动回复乱码问题


邮件中包含中文的时候,自动回复后会显示中文为乱码。之前的maildrop版本是2.5.0,需要升级后修改配置才能解决这个问题。


下载maildrop-2.6.0

wget http://downloads.sourceforge.net/project/courier/maildrop/2.6.0/maildrop-2.6.0.tar.bz2?r=http%3A%2F%2Fwww.courier-mta.org%2Fdownload.php&ts=1375005587&use_mirror=nchc

安装配置

#./configure --prefix=/usr/local/maildrop --enable-sendmail=/usr/sbin/sendmail --enable-trusted-user='root vmail' --enable-syslog=1 --enable-maildirquota --enable-maildrop-uid=1000 --enable-maildrop-gid=1000 --with-trashquota --with-dirsync && make && make install

#cp /usr/local/maildrop/bin/maildrop /usr/bin/

#maildrop -v

maildrop 2.6.0 Copyright 1998-2005 Double Precision, Inc.

GDBM/DB extensions enabled.

Courier Authentication Library extension enabled.

Maildir quota extension are now always enabled.

This program is distributed under the terms of the GNU General Public

License. See COPYING for additional information.


配置extmail

修改extmail/libs/Ext/MailFilter.pm
修改内容如下:
$autoreply .="    cc \"| mailbot -N -A 'X-Loop: \$FROM' -A 'X-Sender: \$FROM' -A 'From: \$FROM' \\\n";

你可能感兴趣的:(中文,local,自动回复)