主题: disclamier的文件格式
iRedMail 版本号:0.8.5
- 使用数据库存储用户帐号 mysql
- 使用的 Linux/BSD 发行版名称及版本号: debian 7.2
- 与您的问题相关的日志信息:无
================
想在disclamier中使用html格式,如何去操作?
50-user配置如下
@altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt --disclaimer-html=/etc/postfix/disclaimer/_OPTION_.txt --force-for-bad-html);
@disclaimer_options_bysender_maps = ({
# Per-domain disclaimer setting: /etc/postfix/disclaimer/host1.iredmail.org.txt
#'host1.iredmail.org' => 'host1.iredmail.org',
# Sub-domain disclaimer setting: /etc/postfix/disclaimer/iredmail.org.txt
#'.iredmail.org' => 'iredmail.org',
# Per-user disclaimer setting: /etc/postfix/disclaimer/boss.iredmail.org.txt
#'boss@iredmail.org' => 'boss.iredmail.org',
# Catch-all disclaimer setting: /etc/postfix/disclaimer/default.txt
'.' => 'default',
},);
default.html格式如下
root@exmail:/etc/postfix/disclaimer# cat default.html
<html>
<body>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<b>CONFIDENTIALITY NOTICE:</b>
<br>This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error, please destroy it immediately. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted,lost, destroyed, arrive late or
incomplete, or contain viruses. The ender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. If verification is required please request a hard copy version. Copyright of
<font color="#00518d" size="3" face="Microsoft YaHei"><b><i>MeHow</b></i></font>
</body>
</html>
----
root@exmail:/etc/postfix/disclaimer#
如果是txt文件,就有效果
html 发现没有效果