On 1/4/11, Peter Sørensen wrote:
> Hi,
>
> I have followin defined and  a policybank for MYNETS like :
>
> $sa_spam_subject_tag = "TAGGED SPAM";
>
> $sa_spam_modifies_subj = 1;
> @spam_modifies_subj_maps =(\$sa_spam_modifies_subj);
> @spam_subject_tag2_maps[' some other text'];
>
> $policy_bank{'MYNETS'} = {
>                  Originating => 1,
>                  spam_subject_tag2_maps => [ " some text"],
>                  spam_admin_maps => ["mym...@....<mailto:mym...@....>"],
>                  .....
> };
>
> When sending SPAM from  a local user to a local user I get the text "some
> text" as expected.
>
> When sending SPAM from an external user to a local user i would like the
> "some other text" to appear
> But I get what's in sa_spam_subject_tag.
>
> So what am I doing wrong here ?
>
> Regards
>
> Peter Sørensen/Univ.Of.South Denmark/email:mas...@sdu.dk

Your syntax for @spam_subject_tag2_maps does not look right to me (but
I really do not know Perl).

I would try:

#$sa_spam_subject_tag = "TAGGED SPAM";
@spam_subject_tag2_maps = ('some other text ');

Or simply:
$sa_spam_subject_tag = 'some other text ';

-- 
Gary V

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to