Search 
You are here: Forums   
Latest PostsMinimize
RE: Hack attempts seem to be taking down POP3
by SteveT
on 05 Feb 2012 11:46 AM
RE: Hack attempts seem to be taking down POP3
by ub
on 04 Feb 2012 04:52 PM
RE: relaying denied errors
by SteveT
on 02 Feb 2012 10:29 AM
RE: relaying denied errors
by electricpet
on 02 Feb 2012 09:12 AM
RE: relaying denied errors
by SteveT
on 02 Feb 2012 12:57 AM
relaying denied errors
by electricpet
on 30 Jan 2012 10:47 AM
RE: Hack attempts seem to be taking down POP3
by ub
on 25 Jan 2012 07:56 PM
RE: Hack attempts seem to be taking down POP3
by TheOtherBob
on 25 Jan 2012 03:01 PM
RE: Hack attempts seem to be taking down POP3
by ub
on 24 Jan 2012 08:26 PM
RE: I have to migrate mailserver pro > mailserver.net
by vincewarde
on 18 Jan 2012 11:08 AM
I have to migrate mailserver pro > mailserver.net
by vincewarde
on 17 Jan 2012 08:20 PM
RE: How can I set up a DNS server - MySQL
by StephenRussell
on 13 Jan 2012 09:15 AM
RE: How can I set up a DNS server - MySQL
by SteveT
on 12 Jan 2012 01:58 PM
How can I set up a DNS server - MySQL
by StephenRussell
on 12 Jan 2012 05:18 AM
RE: IMAP / iPhone
by Eskissimo
on 06 Jan 2012 07:47 AM
RE: IMAP / iPhone
by Bru92
on 06 Jan 2012 07:35 AM
RE: IMAP / iPhone
by Eskissimo
on 20 Dec 2011 06:03 AM
RE: Feature Request: DKIM Signing
by jeffff
on 13 Dec 2011 05:11 PM

ArGoStuff User to User Support Forums
MF and SpamAssassin - not working
Last Post 05 Feb 2009 01:47 AM by Alexander -. 10 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
AuthorMessages
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
28 Mar 2008 03:49 AM  

Hi all.

I've just installed my first ArgoSoft .Net MailServer with MailFilter, Sophos AV and SpamAssassin (all demo versions at the moment until I know they all work as I want them to) but can't seem to get SpamAssassin to scan any messages.  I just get 'Return code:1" in the log and there is nothing in the .eml files to suggest it has been touched.

I have 3 other servers working perfectly and having set them up the same and compared settings I'm at a loss (the only difference being newer versions of everything).  The one thing I can see that is different, and I don't know how to change it, is the temp folder used when scanning.  My other servers all use C:\Windows\Temp but this new one is using C:\Program Files\Server Side Solutions\MailFilter\Temp - could this be anything to do with?  I've checked permissions, etc.

Any help welcome!

Thanks,
Dave

Dave Webb
www.windows2008forums.co.uk
Alexander -User is Offline
Server Side Solutions Developer
Basic Member
Basic Member
Send Private Message
Posts:289

--
28 Mar 2008 09:54 AM  
Hello Dave,

Please try this tutorial. Although, it's written for eWall, it should work for MF too:
http://sssolutions.net/ew/tutor.php?topic=sa

Regards,
Alex
-- Alex --
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
31 Mar 2008 11:52 AM  
Alex,

Thanks for the reply. That's exactly what I have in my batch file but I'm using the perl version of SA, not the Win32 version. I may download that and try it anyway. I have the other version working well on 3 other servers so not sure why this one is being problematic.

Regards,
Dave
Dave Webb
www.windows2008forums.co.uk
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
31 Mar 2008 03:25 PM  
Hi all.

Even with the Win32 version of SpamAssassin it won't work - here is the output when it runs sa.bat (as per the above)...

31/03/2008 20:22:29 45 4151 Applying action 'run 'sa.bat''
31/03/2008 20:22:29 45 4151 C:\Program Files\SpamAssassin\sa.bat C:\Program Files\Server Side Solutions\MailFilter\Temp\0000002D.tmp
31/03/2008 20:22:29 45 4179 Return code: 1

I think it's related to the temp folder, as all my other servers use c:\windows\temp and they're fine. I've no idea who to change this though.

Any suggestions welcome

Thanks,
Dave
Dave Webb
www.windows2008forums.co.uk
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
01 Apr 2008 01:24 AM  
It does not work due to the spaces in the path C:\Program_________Files\Server_______Side_______Solutions ...

Try to quote the path!

-Roland
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
01 Apr 2008 02:47 AM  
Hi Roland.

I tried that but it still fails (unless it still has that problem with spaces in the path to the temp file). I even tried using C:\Progra~1 etc but not luck. I've even compared folder permissions with my other servers but can't see any difference.

How do I change the temp path that MF uses? That's the only thing I can think of.

Thanks,
Dave
Dave Webb
www.windows2008forums.co.uk
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
01 Apr 2008 04:12 AM  
Dave,

I have tested it, believe me. The problem are the spaces in the Argument (maybe aswell in the path to sa.bat):

C:\Program Files\Server Side Solutions\MailFilter\Temp\0000002D.tmp

If you run C:\my path to\sa.bat C:\Program Files\Server Side Solutions\MailFilter\Temp\0000002D.tmp sa.bat will try to pass the file "C:\Program" to spamassassin. "Files\Server" is considered as second Argument, "Side" as third "Solutions\MailFilter\Temp\0000002D.tmp" as forth.

-Roland

It should work if you either install MailFilter into a path without spaces or you just try to quote the Command Line in MailFilter. Change {X-MF-Filename} to "{X-MF-Filename}" [not tested]
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
08 Apr 2008 01:39 PM  
Hi Roland.

The only way I could get this to work was to put it in C:\SA - I tried using short file names, wrapping everything in quotation marks, etc but still it wouldn't work.

Thanks for your help with this

Dave
Dave Webb
www.windows2008forums.co.uk
- -User is Offline
New Member
New Member
Send Private Message
Posts:2

--
17 Jan 2009 04:31 PM  
Change {X-MF-Filename} to "{X-MF-Filename}"

This worked for me.  Upgrading from MSPro to .NET and using SA from MailFilter.  SA wouldn't process the temp file until I made this change.

napsterUser is Offline
New Member
New Member
Send Private Message
Posts:1

--
05 Feb 2009 01:40 AM  
Does anyone know how to connect by MF Scripts to paranoid MySQL Database to catch user's password?

=================

napster


New Jobs

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

--
05 Feb 2009 01:47 AM  
-- Alex --
You are not authorized to post a reply.

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

Get TZO


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