1

Topic: how can i send a disclaimer to outside

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: ubuntu14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):ldap
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro?2.3.1
- Related log if you're reporting an issue:
====
when i run python dump_disclaimer.py /etc/postfix/disclaimer/    i get here;

* [2015-10-21 22:29:27] + test.ipa.com.tr -> /etc/postfix/disclaimer/test.ipa.com.tr.{txt,html}

and i add a disclaimer text on iredadminpro.

But when i send a mail outside ,  the disclaimer text does not go .

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: how can i send a disclaimer to outside

Make sure your Amavisd config file has this setting to signing disclaimer text on outgoing emails:

# Uncomment this line to enable singing disclaimer in outgoing mails.
$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];

3

Re: how can i send a disclaimer to outside

You are right  it was inactive. I uncommented it in 50-user.
I restarted amavis. But disclaimer does not work.

4

Re: how can i send a disclaimer to outside

What do you mean "not work"? Did you update /etc/postfix/disclaimer/* with some text? Outgoing email doesn't have this disclaimer text?

5

Re: how can i send a disclaimer to outside

Yes i updated python dump_disclaimer.py /etc/postfix/disclaimer/
# ls /etc/postfix/disclaimer/
default.txt  test.ipa.com.tr.html  test.ipa.com.tr.txt

s# cat  /etc/postfix/disclaimer/test.ipa.com.tr.txt

DENEMEDIR

ZhangHuangbin wrote:

What do you mean "not work"? Did you update /etc/postfix/disclaimer/* with some text? Outgoing email doesn't have this disclaimer text?

6

Re: how can i send a disclaimer to outside

Please turn on debug mode in Amavisd, send testing email, extract logs related to this testing email from /var/log/mail.log, and paste log here so that others can help troubleshoot.

Note: it's a known issue that AlterMIME doesn't work well with HTML email.

7

Re: how can i send a disclaimer to outside

the mail used default.txt instead of test.ipa.com.tr.txt . I added   test.ipa.com.tr.txt 50-user.
it worked. but what you said, unfortunately it doesn't work as html page.

thanks

ZhangHuangbin wrote:

Please turn on debug mode in Amavisd, send testing email, extract logs related to this testing email from /var/log/mail.log, and paste log here so that others can help troubleshoot.

Note: it's a known issue that AlterMIME doesn't work well with HTML email.