XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> sa_filter2.pl 1.07 released!

Reply to this topicStart new topicStart Poll

> sa_filter2.pl 1.07 released!, Runs on any platform ..
hschneider
Posted: Jun 7 2004, 06:24 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



QUOTE

#      - Added backtick call for Win32 compatibility again.
#        IPC::Open2 is still used on non-Windows platforms.
#        Added platform specific config sections.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
hschneider
Posted: Jun 7 2004, 06:32 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Beau's bsa_filter will be upgraded ASAP.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 22 2004, 10:49 AM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



I receive an error in the spam log:

"Can't find email file \\?\D:\XMail\xmail\MailRoot\spool\14\20\mess\1087897724568.4436.a164.zen"

Any clue as to what may be wrong?

I was going to check the bsa_filter script to see if it wored in that but it hasnt been updated yet.
PMEmail Poster
Top
bim
Posted: Jun 22 2004, 10:55 AM
Quote Post


Advanced Wizard
**********

Group: Members
Posts: 489
Member No.: 297
Joined: 6-October 02



You obviously don't want the //?/ in front of the path. I don't know where it comes from, but I also get this on my Windows server.

Just put this just after you get the filename from the input:
CODE
$fileName =~ s/\\\\\?\\//i;
PM
Top
Bhozar
Posted: Jun 22 2004, 11:28 AM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Yay! that worked. Thanks!
PMEmail Poster
Top
Bhozar
Posted: Jun 22 2004, 11:38 AM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Doh! Now its broke in a different way.

Its finding the message and doing what it should do normally. When I receive the email I just sent from outlook It displays this at the top:

Content-Type: text/plain;

charset="US-ASCII"

Content-Transfer-Encoding: 7bit


It seems the script is converting my email to plain text too.
PMEmail Poster
Top
hschneider
Posted: Jun 22 2004, 11:49 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02





--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 22 2004, 12:16 PM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Still getting my emails converted to text emails with this inserted at the top:

Content-Type: text/plain;

charset="US-ASCII"

Content-Transfer-Encoding: 7bit
PMEmail Poster
Top
hschneider
Posted: Jun 22 2004, 12:31 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Please comment out these lines (no. 195 and 196):

$checkedEmail=~s/(?<!\r)\n/\r\n/g;
$xmailHeader=~s/(?<!\r)\n/\r\n/g;

Change to:

#$checkedEmail=~s/(?<!\r)\n/\r\n/g;
#$xmailHeader=~s/(?<!\r)\n/\r\n/g;


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 22 2004, 12:41 PM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Great! Thanks, thats fixed it now. Looks like it is running fine.

What are the differences between your sa_filter2 script and the bsa_filter script from beau?
PMEmail Poster
Top
hschneider
Posted: Jun 22 2004, 12:50 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Fine. Please test the final 1.08 under the upper link.

Beau added some additional stuff for e.g. forwarding SPAM to particular accounts.
I also optmized the way spamc is called.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 22 2004, 02:31 PM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



I have tried the 1.08 release and it seems to work fine.

Only thing that doesnt work is the $HITS function. In the SA header info added into the email it says the required number of hits is 8.3 which it is picking up from the default local.cf file. Should it not be picking up on what it says in the sa_filter2.pl script?

my $DEBUG = 1;
my $RULE = 'HIT';
my $EXITCODE = 7;
my $HITS = 8.0;
my $MAXDELAY = 25;
PMEmail Poster
Top
hschneider
Posted: Jun 22 2004, 03:03 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



The header is added by spamc, which gets the required_hits from your .cf file.
The filter uses its own limit (=$HITS) to judge SPAM from HAM. It does not care about the entry in your .cf file.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 22 2004, 03:23 PM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Ahhh, so even though it says 8.3 in the header it is actualy scoring it on 8.0.

Thanks for the info and the new script versions. I would guess that everything is working perfectly now. If anything new pops up I will post here.
PMEmail Poster
Top
hschneider
Posted: Jun 22 2004, 03:28 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



>Ahhh, so even though it says 8.3 in the header it is actualy scoring it on 8.0.
Exactly.

Thanks for testing!


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Announcements | Next Newest »

Reply to this topicStart new topicStart Poll