1

Topic: Disclaimer not include , while send From Outlook

i wonder , if i can modified , $policy_bank{'MYNETS'} in /etc/amavisd.conf , where it's location so all network can include the disclaimer
refer to http://code.google.com/p/iredmail/wiki/ … Disclaimer

couse the problem is : when i send it from browser it's Fine , but when i send it from Outlook the Disclaimer not included in the message.

----

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

2

Re: Disclaimer not include , while send From Outlook

you can  try to use thunderbird and test , whether have disclamer?

3

Re: Disclaimer not include , while send From Outlook

shake wrote:

you can  try to use thunderbird and test , whether have disclamer?


yeah i'll check it maybe we have to use thunderbird , but it seem's my cient only use Outlook Express or Microsoft Outlook.

until now , the disclaimer only include when send email from browser but not included when using Outlook.

4

Re: Disclaimer not include , while send From Outlook

Pls post your disclaimer related setting in amavisd.conf.

5

Re: Disclaimer not include , while send From Outlook

ZhangHuangbin wrote:

Pls post your disclaimer related setting in amavisd.conf.

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
  allow_disclaimers => 1, # enables disclaimer insertion if available
};

# it is up to MTA to re-route mail from authenticated roaming users or
# from internal hosts to a dedicated TCP port (such as 10026) for filtering
$interface_policy{'10026'} = 'ORIGINATING';

$policy_bank{'ORIGINATING'} = {  # mail supposedly originating from our users
  originating => 1,  # declare that mail was submitted by our smtp client
  allow_disclaimers => 1,  # enables disclaimer insertion if available
  # notify administrator of locally originating malware
  virus_admin_maps => ["root\@$mydomain"],
  spam_admin_maps  => ["root\@$mydomain"],
  warnbadhsender   => 1,
  # forward to a smtpd service providing DKIM signing service
  forward_method => 'smtp:[127.0.0.1]:10027',
  # force MTA conversion to 7-bit (e.g. before DKIM signing)
  smtpd_discard_ehlo_keywords => ['8BITMIME'],
  bypass_banned_checks_maps => [1],  # allow sending any file names and types
  terminate_dsn_on_notify_success => 0,  # don't remove NOTIFY=SUCCESS option
};


This is the Section for Disclaimer ..
# ------------ Disclaimer Setting ---------------
# Uncomment this line to enable singing disclaimer in outgoing mails.
$defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];

# Program used to signing disclaimer in outgoing mails.
$altermime = '/usr/bin/altermime';

# Disclaimer in plain text formart.
@altermime_args_disclaimer = qw(--disclaimer=/etc/postfix/disclaimer/_OPTION_.txt);

@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',
},);
# ------------ End Disclaimer Setting ---------------

i just want ,  all outgoing Mail will include Disclaimer  , no matter there's from Browser or from Client Outlook ..
and it's only for one Domain.