Iredmail is to add disclaimers through the Amavisd-new + altermime implementation of outbound mail. Altermime supports per-domain,sub-domain,per-user to add disclaimers, while supporting TXT and HTML formats. By default, Iredmail is not enabled.
Edit/etc/amavis/conf.d/50-user to remove the annotations. Enable Disclaimer Functionality
#------------Disclaimer Setting---------------
# Uncomment this line to enable singing disclaimer in outgoing mails.
$defang _maps_by_ccat{+cc_catchall} = [' Disclaimer '];&http://www.aliyun.com/zixun/aggregation/37954.html ' >nbsp; #把注释去掉
Create a test disclaimer that will be added to all messages. If you want each domain or each user to have a different declaration, you can add a separate disclaimer. The path stored is/etc/postfix/disclaimer/
#echo ' testing disclaimer. ' >/etc/postfix/disclaimer/default.txt
Restart the AMAVISD service
#/etc/init.d/amavis Restart
At this time, all outgoing mail, will be at the bottom plus ' testing disclaimer. '