Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd July 2009, 06:53
Mysterion Mysterion is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Perfect SpamSnake - Bug or misconfiguration, attachments not forwarded

Hi,

I have a problem which is happening with at least one user and that I can reproduce: A message is received by the SpamSnake, it contains some text with an XLS file attached. I can see the message in MailWatch, it is 1.5MB and I can see and download the XLS attachment no problem. The messages for this server are forwarded to an SMTP server in another location. This particular message is received at the other end but without the attachment. The SMTP server log shows that the SpamSnake announce a SIZE of 1.5MB but only the 3.5KB of text is delivered. However, if I open the message in MailWatch, go at the bottom and select to RELEASE it, the the user will also get the same 1.5MB SIZE announcement but this time the message is delivered with the attachment. The same message sent to an Hotmail account is delivered no problem. This hotmail message sent to the same email address on the Spamsnake show the same problem with no attachment delivered.

I hope I was clear enough, if someone could point be in a direction to search for this problem, I'd appreciate very much. Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 22nd July 2009, 19:39
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Try adding the following to filename.rules.conf

allow .xls$ - -

Remember that all whitespace in the filename.rules.conf file must be separated with tab characters.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #3  
Old 28th July 2009, 17:34
Mysterion Mysterion is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I made the change but it did not solve the problem. I still receive the messages with attachments but theu are not passed to the end user. Only the text part of the message is forwarded.

Also, I found the same problem with some PDF files. Based on infos from the user, it would appear that the problem is related mostly to some specific domain names. It makes no sense at all to me.

Once again, with the PDF files, the client received the files attached once I released the message. In MailWatch, while viewing the message, on the first screen I do not see the attachments listed at the bottom like it would normally. If I click on the message-id to view the actual content, I see the message and see the attachment, which I can download without problem.

Any idea? I'm at a total loss on this one...

Last edited by Mysterion; 28th July 2009 at 17:38. Reason: spelling mistake...
Reply With Quote
  #4  
Old 28th July 2009, 20:08
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

This is a very odd problem as I've never experienced it myself, neither did I change the default setup to fix it.

I would say that the mailscanner filetype or filename rule files are bad and thus causing mailscanner to act that way, but could be wrong.

Replace the your files with the attached files, making sure to make a backup copy first.

So you would just have to drop them into the /opt/Mailscanner-version/etc folder. Make sure to unzip them first.

Rocky
__________________
Home of the SpamSnake

Last edited by Rocky; 12th February 2010 at 14:42.
Reply With Quote
The Following User Says Thank You to Rocky For This Useful Post:
Mysterion (3rd August 2009)
  #5  
Old 3rd August 2009, 22:29
Mysterion Mysterion is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Thumbs up

I made the change and it seems the problems was in those 2 files since I was not able to reproduce the problem after the correction.

I did not review my files for the source of the problem but it's probably a space instead of a tab hiding somewhere.

Thanks a lot for your help, you saved my day :-)
Reply With Quote
Reply

Bookmarks

Tags
attachment, problem, spamsnake

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect SpamSnake - Ubuntu 8.04 LTS - Page 02 - Installing Perl Modules denbert HOWTO-Related Questions 12 26th December 2008 13:17
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58
Perfect SpamSnake - Emails Stuck in MailScanner Incomming queue teixeira HOWTO-Related Questions 2 4th December 2008 02:49
Perfect SpamSnake User question Thomas_Powers HOWTO-Related Questions 4 3rd December 2008 15:09
SpamSnake SpamAssassin not working? getrav HOWTO-Related Questions 5 23rd June 2008 23:02


All times are GMT +2. The time now is 17:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.