> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Graeme Tattersall
> Sent: Friday, November 09, 2007 9:16 AM
> To: [email protected]
> Subject: [AMaViS-user] Amavisd-new 2.5.2 Disclaimer server
>
>
> Hi,
>
> Hopefully someone can help me here. I'm trying to set a
> disclaimer policy on my amavisd-new server, but the system is
> behaving strangely.
Let me show you what I have, and you see if you can change it to what
you are doing.
(maybe its just postfix needs the x-forward stuff)
I am using 'mynets' (all outbound email from 'mynets' gets tagged if it
it is CLEAN).
Well, email should not go OUT if it isn't clean, but you understand.
Also, you WILL want to use a different file for html and txt file.
If not, outlookish client will wrap your disclaimer at random points. ;
@altermime_args_disclaimer =
qw(--verbose --disclaimer=/var/amavis/etc/disclaimer.txt \
--disclaimer-html=/var/amavis/etc/disclaimer.html);
$defang_maps_by_ccat{+CC_CLEAN} = [ 'disclaimer' ];
$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
originating => 1,
allow_disclaimers => 1,
Etc..
>From main.cf:
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = $mynetworks
>From master.cf:
127.0.0.1:10025 inet n - n - - smtpd
-o notify_clases=protocol,resource,software
-o header_checks=
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_chec
ks
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o local_header_rewrite_clients=
-o smtpd_milters=
_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm).
For Information please see http://www.spammertrap.com
_________________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/