Search 
You are here: Forums   
Latest PostsMinimize
RE: Switching database
by SteveT
on 17 May 2012 05:40 PM
RE: Switching database
by Jorgo
on 17 May 2012 04:29 PM
RE: Switching database
by fredz024
on 17 May 2012 03:43 PM
RE: Switching database
by Jorgo
on 17 May 2012 03:22 PM
RE: Switching database
by SteveT
on 17 May 2012 12:19 PM
Switching database
by Jorgo
on 16 May 2012 04:37 PM
RE: Hack attempts seem to be taking down POP3
by SteveT
on 10 May 2012 02:37 PM
RE: Hack attempts seem to be taking down POP3
by ub
on 09 May 2012 09:07 PM
RE: Hack attempts seem to be taking down POP3
by SteveT
on 09 May 2012 02:36 PM
RE: Hack attempts seem to be taking down POP3
by emkry
on 09 May 2012 02:09 PM
RE: Hack attempts seem to be taking down POP3
by SteveT
on 09 May 2012 02:03 PM
RE: Hack attempts seem to be taking down POP3
by emkry
on 09 May 2012 01:18 PM
RE: The operation not allowed on non-connected sockets. HELP!!
by whensen@holabird.com
on 30 Apr 2012 09:37 PM
RE: Hack attempts seem to be taking down POP3
by ub
on 23 Apr 2012 09:14 PM

ArGoStuff User to User Support Forums
help needed with SA/MF integration
Last Post 24 Oct 2007 03:30 AM by Dan. 26 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 212 > >>
AuthorMessages
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
21 Oct 2007 07:39 AM  

Hi there.

 

I have setup mailfilter to scan emails with spamassassin.exe.... but I ran into trouble. This is my filter

 

Version=4.1
Active=0

[SPAMassassin Direkte]
1
CINCA
CRLC
CRSTAC:\GratisEmail_SCRIPTS\Paranoid SPAM.txt
ARUNC:\Program Files\ArgoSA2\spamassassin.exe¦{X-MF-Filename}¦30¦1
ARUNC:\GratisEmail_SCRIPTS\IMAPrefresh\IMAPRefresh.exe¦-user="{X-MF-To}" -imap="SPAM" -Message="{X-MF-Filename}" -Unique=16¦30¦1
ADEL
ASTP

As you see I use run application to scan the message, and then I use IMAPrefresh to save the message if it is spam.

My problem is that I do not have any IF RETURNCODE = xx THEN in my filter, and I dont seem to be able to put two RUN APPLICATIONS in one filter, one in the IF sentence, and the other in the THEN sentence....

Is there a way around this, or do I have to create several filtes to handle this task?

Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
21 Oct 2007 10:17 AM  
http://members.commstream.net/test/.../sawin.htm

First setup MF/SA as shown in the tutorial above.
Then create a filter which checks if X-Spam-Level: ****** is present and save the file by imaprefresh. Do not use the move method adviced in the tutorial as it will save the message with an invalid filename.

-Roland
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
21 Oct 2007 11:32 AM  
Hmmm I have created the bat, and call it, but still nothing....

The headers doesnt even seem to embedded in the header?

I use this to MARK the messages as spam

[SPAMASSASSIN - CHECK IF SPAM]
1
CINCA
CSZEBA200
CRLC
ARUNC:\Program Files\ArgoSA2\sa.bat¦{X-MF-Filename}¦30¦1

And this to MOVE the spam messages


[SPAMASSASSIN - MOVE SPAM]
1
CINCA
CHDR00AX-Spam-Flag: YES¦
ARUNC:\GratisEmail_SCRIPTS\IMAPrefresh\IMAPRefresh.exe¦-user="{X-MF-To}" -imap="SPAM" -Message="{X-MF-Filename}" -Unique=16¦30¦1
ADEL
ASTP

sa.bat contains this

set tmpfile=%1.tmp
C:\progra~1files\argosa2\spamassassin.exe < %1 > %tmpfile%
move /Y %tmpfile% %1
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
21 Oct 2007 11:50 AM  
C:\progra~1files\argosa2\spamassassin.exe < %1 > %tmpfile%

-->progra~1files

Can you move SA to a path without spaces?

-Roland
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
22 Oct 2007 06:42 AM  
Hi Roland

Thank you for your help.

The path was wrong yes ...... but I also found inconsistencies in the ArgoSA2 installation. No matter what I set the threshold to, it always showed required=6.3 in the email headers.

I figured it was using another local.cf from some where, just could not find it. Now I have downloaded a complete fresh SA from the official site, and installed it in C:\spamassassin\ and now it works........

I have also changed my filters... With ArgoSA2 I had no choice but to let SA scann all emails, but now I can ask MF to only scan the emails that are going to accounts that are paying for SA scans.... this really took a load of my server.

Also I got Paranoid up and running.... it is very effective, and I think I will purchase it as soon as the trial expires and I have trained it some more.

I still have to look in to the spamd/spamc solution, but that will come later.
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
22 Oct 2007 07:49 AM  
Dan,

I would start with Paranoid 3.0 beta ... it is much more configurable and more efficient than 2.0. You will also have to update MailFilter if you use Paranoid 3.0.

You find the most recent versions here: http://sss.schrunk.net

-Roland
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
22 Oct 2007 07:55 AM  
Hi Roland

Yes I noticed the 3.0 but as it was only in BETA, I did not dare to install it on my production server :-(

I already have the latest version MF.

I Guess I have to setup a full testserver with Argo, PHP, MySql, SF, MF, SA, PSD so that I can test new rules, software and also so that we can test new versions of SQM without ...hickups :-)
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
22 Oct 2007 08:07 AM  
Yes ... use XAMPP !!!
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
22 Oct 2007 02:35 PM  

ok I will take it to this forum instead... as it is a MF issue...

Now I have copied my settings to all 3 files mentioned here at this old forum thread:
http://www.argostuff.com/Forums/tab...aspx 

So it seems like it runs SA with my settings (how could it anything else)... now when I run SA from MF it is run as SYSTEM, and the bayes, whitelists etc. are saved under DEFAULT USER. But when I go to train SA using the sa-learn.exe it is run as ADMINISTRATOR, so the bayes are saved under ADMINISTRATOR..... the same goes when I use sa-update....

 

DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
22 Oct 2007 07:30 PM  
OK I solved it. I just made includes in the ADMIN and DEFAULT USER files that pointed to the local.cf file.... Then I setup fixed links to bayes and whitelists in the local.cf, and its working.
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
22 Oct 2007 07:39 PM  
By the way, I also have the results for the spamassassin.exe vs. the spamc/spamd solution

Spamassassin.exe used as much as 13 sec!!!!

Spamc/spamd used from 300-4000 ms
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
23 Oct 2007 11:14 PM  
Roland

I have setup Parnoid 3.0 now, but it keeps saying Core status

what to do??
Alexander -User is Offline
Server Side Solutions Developer
Basic Member
Basic Member
Send Private Message
Posts:289

--
24 Oct 2007 12:10 AM  
Was MySQL server installed? http://dev.mysql.com/downloads/
-- Alex --
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
24 Oct 2007 12:19 AM  
yes it is installed, and the database is created.

What rights does the MySql user need to have in the DB?
Alexander -User is Offline
Server Side Solutions Developer
Basic Member
Basic Member
Send Private Message
Posts:289

--
24 Oct 2007 12:23 AM  
Administrator rights with all priveleges for Paranoid database. From your previous post I didn't understand what it saying "Core status ..." ?
-- Alex --
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
24 Oct 2007 12:29 AM  
in the bottom of PND 3 it says Core status NOT RUNNING.

DB may be the issue as I only gave it basic user rights. read write create etc.
Alexander -User is Offline
Server Side Solutions Developer
Basic Member
Basic Member
Send Private Message
Posts:289

--
24 Oct 2007 12:32 AM  
WHat happen if you click menu -> Service -> Start?
-- Alex --
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
24 Oct 2007 12:36 AM  
Sorry Core status NOT INSTALLED
DanUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:345

--
24 Oct 2007 12:38 AM  
Is the service name the same for PND2 and 3 or do I have to completely remove PND2 to test PND 3?
Alexander -User is Offline
Server Side Solutions Developer
Basic Member
Basic Member
Send Private Message
Posts:289

--
24 Oct 2007 12:54 AM  
Yes, they are the same. You have to uninstall Paranoid 2 before install Paranoid 3.
-- Alex --
You are not authorized to post a reply.
Page 1 of 212 > >>


Active Forums 4.2
DonationsMinimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoftMinimize
1 2 3 4 5 6


Mail Server v1.0.8.3
  • Added support of STARTTLS (STLS) command for SMTP, POP3, IMAP, and SMTP relay and delivery, which will allow secure, fully encrypted connections, when possible;
11/6/2011 1:10:34 PM
Mail Server v1.0.8.2
  • Optimized delivery speed. In earlier versions each "tick" which was checking whether messages were in the outbox queue, was picking up only one message at a time. Now it will attempt to pick MaximumAllowedThreads-ActiveDelivery threads messages, which should considerably increase deliver speed;
  • Optimized SEARCH and STATUS IMAP commands. They appear to be used very extensively by Android, and (not that extensively, but still) by iPhone. Now users who use mobile phones to access their IMAP accounts will see considerable improvement;
  • Optimized STORE IMAP command. Before storing of IMAP flags was occuring one message at a time, which seemed to be fine with SQL server, but proved to be slow for SQLite... Now it happens with single SQL call.
10/8/2011 7:59:35 PM
ArGoSoft Mail Server v1.0.8.1
  • Fixed a bug: when using IMAP via Firefox with "When I delete a message, move it to Trash folder" option, marking messages in the trash folder was causing high CPU usage, and was taking some time, making the server pretty much non-responsive. The problem was happening only when using SQLite.
6/6/2011 9:33:36 PM
ArGoSoft Mail Server v1.0.8.0
  • Fixed a problem with web interface - was showing only first page of messages, and would not switch to other pages; In order to fix the web interface, mail server itself has to be updated;
  • When installint initially, was still using SQLite, even when SQL was requested;
  • There was a problem with switching from SQLite database engine to SQL server database engine: the SQL database was not being created;
5/23/2011 5:53:55 PM
ArGoSoft Mail Server .NET v1.0.7.9
  • The server no longer requires Microsoft SQL Server. If SQL server is not found, it will use SQLite engine, which does not require separate installation. If SQL server is found, then user will be prompted whether he wants to use it;
  • Made other improvements, such as, now mailbox rebuild indexes orphaned records, rather then deleting them, also added an opotion to increment UIDL validity of folder (both on the Mailbox viewer box);
  • Made minor improvements on web interface;
4/26/2011 9:47:25 PM


1 2 3 4 5 6

Protect Your Computer today withGet AVG Today


Home:ArGoStuff:Forums:Articles:Cyber Security Tips:FAQ:Downloads:Links
Copyright 2006-2011 by ArGoStuff Terms Of UsePrivacy Statement