Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14171

Adding disclaimer in html and plain text for individual domains

$
0
0

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Cent OS 6.4
- Related log if you're reporting an issue:
====
Hi,

How to add disclaimer in html and plain text for individual domains and global domains.

I have tried with plain text in default.txt it is wokring fine but with default.html nothing attached to mail.

Please find the attached html file.

Amavis configuration.
-----------------------------

$altermime = '/usr/bin/altermime';

# Disclaimer in plain text formart.
#@altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt --disclaimer-html=/etc/postfix/disclaimer/_OPTION_.txt --force-for-bad-html);
@altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt --disclaimer-html=/etc/postfix/disclaimer/_OPTION_.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',
},);

---------------------------------------------------------------------------------------------------------


Viewing all articles
Browse latest Browse all 14171