| ArGoStuff User to User Support Forums |
MF and SpamAssassin - not working Last Post 05 Feb 2009 01:47 AM by Alexander -. 10 Replies. | Sort: |
| Prev Next | You are not authorized to post a reply. | |
Dave Webb
 Basic Member
 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 - Server Side Solutions Developer
 Basic Member
 Posts:289
 | | Dave Webb
 Basic Member
 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 Webb
 Basic Member
 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 - Forum Moderator
 Veteran Member
 Posts:1073

 | | 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 Webb
 Basic Member
 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 - Forum Moderator
 Veteran Member
 Posts:1073

 | | 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 Webb
 Basic Member
 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 | |
| - -
 New Member
 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.
| | | | |
| napster
 New Member
 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 - Server Side Solutions Developer
 Basic Member
 Posts:289
 | | 05 Feb 2009 01:47 AM |
| | | | -- Alex -- | |
|
| You are not authorized to post a reply. |
|
Active Forums 4.2 |
|  | | 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 |
| |
|  |  | |  |
|