#1  
Old 7th August 2008, 14:14
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default Remove attachment renaming

Hello!

I have: Standard ispconfig v.2.2.24.; OpenSUSE 10.3; ClamAV, SpamAssissan, Proftp, Postfix.
Current situation: I receive mails with attachment, that are renamed from test.doc to test.XXXDEFANGED-doc (where XXXX are No. 0-9)!

Question:How and what I have to configure, that attachments are not changed (or only changed exe, com etc, what I want to)?

Thank You!
Reply With Quote
Sponsored Links
  #2  
Old 7th August 2008, 17:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Uncheck the "Mailscan" checkbox in the email account settings of the users.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th August 2008, 21:01
CubAfull CubAfull is offline
Junior Member
 
Join Date: Jun 2008
Location: Cuba
Posts: 24
Thanks: 11
Thanked 2 Times in 2 Posts
Default

change this line in
Code:
/root/ispconfig/isp/conf/html-trap.rc.master
Code:
MANGLE_EXTENSIONS='html?|exe|com|cmd|bat|pif|sc[rt]|lnk|dll|ocx|do[ct]|xl[swt]|p[po]t|rtf|vb[se]?|hta|p[lm]|sh[bs]|hlp|chm|eml|ws[cfh]|ad[ep]|jse?|md[abew]|ms[ip]|reg|as[dfx]|c[ip]l|pps|wm[avszdf]|vcf|nws|wsz|\{[-0-9a-f]+\}'
to

Code:
MANGLE_EXTENSIONS='html?|exe|com|cmd|bat|pif|sc[rt]|lnk|dll|ocx|dot|xl[wt]|p[po]t|rtf|vb[se]?|hta|p[lm]|sh[bs]|hlp|chm|eml|ws[cfh]|ad[ep]|jse?|md[abew]|ms[ip]|reg|as[dfx]|c[ip]l|pps|wm[avszdf]|vcf|nws|wsz|\{[-0-9a-f]+\}'
__________________
-------------
>> CUBA <<

-------------
Reply With Quote
  #4  
Old 8th August 2008, 14:13
Mole Mole is offline
Member
 
Join Date: Apr 2008
Location: Latvia
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Code:
Uncheck the "Mailscan" checkbox in the email account settings of the users.
But this disables SPAM scan to entire e-mail address at all, doesn't it?

Code:
MANGLE_EXTENSIONS='html?|exe|com|cmd|bat|pif|sc[rt]|lnk|dll|ocx|dot|xl[wt]|p[po]t|rtf|vb[se]?|hta|p[lm]|sh[bs]|hlp|chm|eml|ws[cfh]|ad[ep]|jse?|md[abew]|ms[ip]|reg|as[dfx]|c[ip]l|pps|wm[avszdf]|vcf|nws|wsz|\{[-0-9a-f]+\}'
Do not work - I've changed appropriate line, but attachments continue be defanged!

Last edited by Mole; 8th August 2008 at 14:16.
Reply With Quote
  #5  
Old 8th August 2008, 14:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
But this disables SPAM scan to entire e-mail address at all, doesn't it?
No, this has nothing to do with spam scanning. This is the email sanitizer which is there to rename attachemnats and remove potentially harmful content from email messages.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 12th April 2010, 15:37
peterj peterj is offline
Junior Member
 
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default X-Security stopping spam check

Till,
Sorry to revive the old thread, but it does pertain to my problem I am running into.

Whenever the sanitizer runs, it places the X-Security in the header, however the spam check is skipped. It took me a while to notice the pattern. So, X-Spam-Checker and X-Spam status are missing from the header. By the way, the Mailscan option is not checked.

Is this intended or am I missing something else? Is there a way to prioritize the spam check ahead of sanitizer?

Last edited by peterj; 12th April 2010 at 16:05.
Reply With Quote
  #7  
Old 12th April 2010, 22:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

The sanitizer is the mailscan option, so the sanitizer does not run if the mailscan option is not enabled for this mailbox. You can check this in the procmailrc file in the home directory of the user.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
How can I remove ORDB.ORG from my Server leeeonardo Server Operation 5 4th April 2008 19:32
Cant send and receive email after remove dkfilter conf blackmask Installation/Configuration 1 20th December 2007 16:01
If I remove a user how do i remove the email dhonnoll78 Installation/Configuration 2 17th January 2007 04:15
Per User Attachment filter mccyberix Tips/Tricks/Mods 4 19th December 2006 16:35


All times are GMT +2. The time now is 18:26.


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