Don Drake wrote:
>Why are you using this filter for outbound messages?? What happens if it
>flags inadvertently outgoing ham as spam?
>
>Regardless, the "modem code" is already in the script, but it's in an if
>statement that's not getting triggered, just remove the if and it's braces
>and it should work just fine:
>
>if ($checkedEmail=~/X-Spam-Flag: YES/) {
> $isSpam="SPAM";
> $checkedEmail=~s/(?<!\r)\n/\r\n/g;
> $xmailHeader=~s/(?<!\r)\n/\r\n/g;
>}
>
>Becomes:
>
>if ($checkedEmail=~/X-Spam-Flag: YES/) {
> $isSpam="SPAM";
>}
>$checkedEmail=~s/(?<!\r)\n/\r\n/g;
>$xmailHeader=~s/(?<!\r)\n/\r\n/g;
>
>That should fix all of your outbound messages.
>
>-Don
>
>
Ah, you beat me to a second, I just figured that same solution
myself and I was proudly writing the same mail ;), thank you for your
quick answer !!!
Now, about the using the filter on outgoing messages the situation
is like that: we have lots of customers and unfortunately some are
tempted on the dark side :( and I want to be warned before my server
ends in the herbal viagra black lists ;) so I do some preemptive
scanning, of course, virus de jour may start using now the provider mail
servers since most ISPs start blocking all the outgoing port 25 except
for their mail servers and then outgoing spam scan will be a must have.
Also the fact that now all headers are ok it makes me generally happy
and increase the server karma :).
Best regards and thank you for your excelent work,
Mircea Ciocan
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]