MailScanner 4.84.3-1 can't deny any file.

Markus Nilsson markus at markusoft.se
Mon Nov 14 07:37:35 GMT 2011


Yes that version is compatible with newer perl's without modification, but I'm using an older MailScanner version with new perl with the added "-U" switch successfully. 

Add -U to the hashbang of the MailScanner "binary" /usr/sbin/MailScanner 

#!/usr/bin/perl -I/usr/share/MailScanner/ -U 

/Markus 

----- Ursprungligt meddelande -----

Från: "吳汝剛" <ak6783 at gmail.com> 
Till: "MailScanner discussion" <mailscanner at lists.mailscanner.info> 
Skickat: torsdag, 10 nov 2011 9:40:18 
Ämne: Re: MailScanner 4.84.3-1 can't deny any file. 

Because I use Fedora 13 and 14.If you update all package to newer.It's need install MailScanner 4.84.3. 
If not install 4.84.3. It's can't use MailScanner. Because the perl problem.You can see MailScanner changlog. 
4.84.3 is use on new perl. 

So,I hope MailScanner can fix this problem. 

MailScanner 4.84.3 also can't add inline clean message on mail.It's have other user ask this question. 


2011/11/10 Markus Nilsson < markus at markusoft.se > 




Hi again, 

It's weird that your debug session hangs, I've not seen that. Maybe a lint would give more info? If not, you might need to try to debug the debug-run, maybe with strace and adding debug-prints to the MailScanner code. Or maybe try a slightly older version to verify that you only have problems with this specific version. (I have not yet stepped up to 4.84.3) 


/Markus 





Från: "吳汝剛" < ak6783 at gmail.com > 
Till: "MailScanner discussion" < mailscanner at lists.mailscanner.info > 
Skickat: tisdag, 8 nov 2011 23:56:49 


Ämne: Re: MailScanner 4.84.3-1 can't deny any file. 

Hello, 
This is test message. 
[root at mail ~]# MailScanner --debug 


In Debugging mode, not forking... 
Trying to setlogsock(unix) 
Building a message batch to scan... 
Have a batch of 1 message. 

But it's wait five minutes ago and not show any other message. 


2011/11/8 Markus Nilsson < markus at markusoft.se > 

<blockquote>


Did you try running MailScanner in debug with just one of these messages in the queue? 

/Markus 




Från: "吳汝剛" < ak6783 at gmail.com > 
Till: "MailScanner discussion" < mailscanner at lists.mailscanner.info > 
Skickat: måndag, 7 nov 2011 2:55:58 


Ämne: Re: MailScanner 4.84.3-1 can't deny any file. 

Hello, 
Allow Filenames = N/A 
Deny Filenames = N/A 
Filename Rules = %etc-dir%/filename.rules.conf 
Allow Filetypes = N/A 
Allow File MIME Types = N/A 
Deny Filetypes = N/A 
Deny File MIME Types = N/A 
Filetype Rules = %etc-dir%/filetype.rules.conf 
N/A is not set anything. 


2011/11/3 Markus Nilsson < markus at markusoft.se > 

<blockquote>


Please print the relevant configuration settings in MailScanner! 

Allow Filenames = 
Deny Filenames = 
Filename Rules = 
Allow Filetypes = 
Allow File MIME Types = 
Deny Filetypes = 
Deny File MIME Types = 
Filetype Rules = 

Thanks! 

/Markus 



Från: "吳汝剛" < ak6783 at gmail.com > 
Till: "MailScanner discussion" < mailscanner at lists.mailscanner.info > 
Skickat: torsdag, 3 nov 2011 10:56:36 
Ämne: Re: MailScanner 4.84.3-1 can't deny any file. 



Hello 
Is it found any problem? 
Why use 4.84.3-1 can't deny file? 


2011/11/2 Denis Beauchemin < Denis.Beauchemin at usherbrooke.ca > 

<blockquote>



I wouldn’t be surprised if you forgot to stop the default sendmail (/sbin/chkconfig –list sendmail should say it is OFF at all levels). You must turn it off (/sbin/chkconfig sendmail off; /sbin/service sendmail stop) and then start/restart MailScanner. 

Are there any headers added by MailScanner in your received emails? You should have some. If you don’t have any, it’s because of what I described in the previous paragraph. 

Denis 




Denis Beauchemin 
Architecte Technologique - Section Infrastructure des serveurs 
Service des technologies de l’information (S.T.I.) 
Université de Sherbrooke 
Courriel: Denis.Beauchemin at USherbrooke.ca 
Tél.: 819-821-8000 Poste: 62252 




De : mailscanner-bounces at lists.mailscanner.info [mailto: mailscanner-bounces at lists.mailscanner.info ] De la part de ??? 
Envoyé : 1 novembre 2011 22:44 
À : mailscanner at lists.mailscanner.info 
Objet : MailScanner 4.84.3-1 can't deny any file. 



Hello, 
I test MailScanner 4.84.3-1 on Fedora 13 and Fedora 14. 
It's can't deny any attachment at filetname.rules.conf list. 
Example: 
The default set deny .cur and .reg attachment. 
But when I send mail with .cur or .reg attachment. 
It's always can received this mail. 
And I check maillog. 
It's no show any error message. 
Please check it. 
I list fedora 13 and 14 some information. 

[root at tw14 MailScanner]# MailScanner -v 
Running on 
Linux tw14.linguitronics.com 2.6.35.13-91 .fc14.i686 #1 SMP Tue May 3 13:36:36 UTC 2011 i686 i686 i386 GNU/Linux 
This is Fedora release 14 (Laughlin) 
This is Perl version 5.012003 (5.12.3) 

This is MailScanner version 4.84.3 

[root at tw ~]# MailScanner -v 
Running on 
Linux tw.linguitronics.com 2.6.34.9-69.fc13.i686 #1 SMP Tue May 3 09:20:30 UTC 2011 i686 i686 i386 GNU/Linux 
This is Fedora release 13 (Goddard) 
This is Perl version 5.010001 (5.10.1) 

This is MailScanner version 4.84.3 



</blockquote>



-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 


</blockquote>



-- 
吳汝剛 
個人網頁 http://pc.aspa.idv.tw 
個人Blog http://ak6783.blogspot.com/ 
Twitter http://twitter.com/akong77 
Plurk http://www.plurk.com/akong77 
Facebook http://www.facebook.com/akong77 
Email (1) : akong at aspa.idv.tw 
Email (2) : ak6783 at gmail.com 
手機 : 0960599655 


WebRep 
Overall rating 








	
	MailScanner CronLabAntiSpamAppliance Signature	Bearcom scanned this message. We don't think it was spam. Was it? Report here! 

-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 


-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 


</blockquote>



-- 
吳汝剛 
個人網頁 http://pc.aspa.idv.tw 
個人Blog http://ak6783.blogspot.com/ 
Twitter http://twitter.com/akong77 
Plurk http://www.plurk.com/akong77 
Facebook http://www.facebook.com/akong77 
Email (1) : akong at aspa.idv.tw 
Email (2) : ak6783 at gmail.com 
手機 : 0960599655 

-- 
MailScanner mailing list 
mailscanner at lists.mailscanner.info 
http://lists.mailscanner.info/mailman/listinfo/mailscanner 

Before posting, read http://wiki.mailscanner.info/posting 

Support MailScanner development - buy the book off the website! 

-------------- next part --------------
Skipped content of type multipart/related


More information about the MailScanner mailing list