[AMaViS-user] Attachment Filtering - Per User Restriction

2009-10-09 Thread Manish Kathuria
How can I stop some users from sending any kind of attachments along with
their mails ? Further, I would like to block the attachment file extensions
selectively on a per user basis. Is it possible to do so ? I plan to use
Amavisd-new along with Postfix.

Thank you,
-- 
Manish Kathuria
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] Selective Content Filtering

2008-06-04 Thread Manish Kathuria
Hello,

Is it possible to carry out content filtering selectively for incoming
mail only while using postfix with amavisd-new ?

Thanks,

Manish


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] PID File Issues

2008-04-28 Thread Manish Kathuria


On Fri, 2008-04-25 at 21:41 +0200, Mark Martinec wrote:
 Manish,
 
  I am running amavisd-new 2.54. along with postfix on CentOS 5.1 on a
  mail server. There was an unclean shutdown of the mail server and when
  the system was started again, amavisd failed to start. Upon restarting
  amavisd, the following error was generated in the logs:
 
   (!)Net::Server: 2008/04/25-09:14:18 Pid_file already exists for running
  process (2440)... aborting\n\n  at line 277 in
  file /usr/lib/perl5/vendor_perl/5.8.8/Net/Server.pm
 
  The problem was solved by deleting the files /var/amavis/amavisd.lock
  and /var/amavis/amavisd.pid and restarting amavisd. What needs to be
  done so that this problem does not happen again ?
 
 Which version of Net::Server ?  Are you sure the process 2440
 really did not exist (perhaps it existed as a result of starting
 amavisd twice by mistake) ?  Please see subroutine check_pid_file
 in /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm,
 it does try to check if a process whose ID was found in a pid file
 does exist, and it aborts only if finding a process is possible
 and the process was found. But I see the procedure is Linux-specific
 for no good reason - the kill 0 would do the same job more portably.
 
   Mark
 


I think I need to restate the problem and sort out the confusion. It
happened again during the weekend. There was an unclean shutdown and
amavisd did not start on its own automatically when the system was
restarted. I have checked the logs and I could not find any error
messages but since amavisd did not start, postfix stopped accepting and
queueing mails, which was indicated in the mail log. However this time,
amavisd could be started manually without deleting any .pid or .lock
files. So my presumption that amavisd could not automatically start
because of presence or .pid or .lock files was probably not correct. 

I am not being able to identify the reason because of which amavisd is
not getting automatically started when the system is booted after an
unclean shutdown. I have dealt with a number of amavisd installations
but have never faced this problem before. What needs to be done to
ensure that amavisd starts automatically even after an unclean system
shutdown or crash ?

Thank you,

--
Manish



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] PID File Issues

2008-04-28 Thread Manish Kathuria


On Mon, 2008-04-28 at 19:18 -0400, Sahil Tandon wrote:
 * Manish Kathuria [EMAIL PROTECTED] [2008-04-28 12:46:31 +0530]:
 
  On Fri, 2008-04-25 at 21:41 +0200, Mark Martinec wrote:
   Manish,
   
I am running amavisd-new 2.54. along with postfix on CentOS 5.1 on a
mail server. There was an unclean shutdown of the mail server and when
the system was started again, amavisd failed to start. Upon restarting
amavisd, the following error was generated in the logs:
   
 (!)Net::Server: 2008/04/25-09:14:18 Pid_file already exists for running
process (2440)... aborting\n\n  at line 277 in
file /usr/lib/perl5/vendor_perl/5.8.8/Net/Server.pm
   
The problem was solved by deleting the files /var/amavis/amavisd.lock
and /var/amavis/amavisd.pid and restarting amavisd. What needs to be
done so that this problem does not happen again ?
   
   Which version of Net::Server ?  Are you sure the process 2440
   really did not exist (perhaps it existed as a result of starting
   amavisd twice by mistake) ?  Please see subroutine check_pid_file
   in /usr/lib/perl5/vendor_perl/5.8.8/Net/Server/Daemonize.pm,
   it does try to check if a process whose ID was found in a pid file
   does exist, and it aborts only if finding a process is possible
   and the process was found. But I see the procedure is Linux-specific
   for no good reason - the kill 0 would do the same job more portably.
  
  I think I need to restate the problem and sort out the confusion. It
  happened again during the weekend. There was an unclean shutdown and
  amavisd did not start on its own automatically when the system was
  restarted. I have checked the logs and I could not find any error
  messages but since amavisd did not start, postfix stopped accepting and
  queueing mails, which was indicated in the mail log. However this time,
  amavisd could be started manually without deleting any .pid or .lock
  files. So my presumption that amavisd could not automatically start
  because of presence or .pid or .lock files was probably not correct. 
  
  I am not being able to identify the reason because of which amavisd is
  not getting automatically started when the system is booted after an
  unclean shutdown. I have dealt with a number of amavisd installations
  but have never faced this problem before. What needs to be done to
  ensure that amavisd starts automatically even after an unclean system
  shutdown or crash ?

 The rc script(s) that are responsible for launching amavisd-new should do so 
 even if recovering from an unclean shutdown.  Can you confirm that 
 amavisd-new starts on boot after a clean shutdown?  This might be an issue 
 particular to your OS/setup than a fault in amavisd-new. 

Your statement is right regarding the initialization scripts is right. I
have shutdown and started the system a number of times without facing
any problems. The problem occurs only in the case of unclean shutdown.

I had installed amavisd-new on Cent OS 5.1 using the RPM from the Dag
Wieers repository and have compared the start up script with earlier
versions from the same repository which are working without any problem.
Can't find any problem there.

--
Manish


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] PID File Issues

2008-04-25 Thread Manish Kathuria
I am running amavisd-new 2.54. along with postfix on CentOS 5.1 on a
mail server. There was an unclean shutdown of the mail server and when
the system was started again, amavisd failed to start. Upon restarting
amavisd, the following error was generated in the logs:

 (!)Net::Server: 2008/04/25-09:14:18 Pid_file already exists for running
process (2440)... aborting\n\n  at line 277 in
file /usr/lib/perl5/vendor_perl/5.8.8/Net/Server.pm

The problem was solved by deleting the files /var/amavis/amavisd.lock
and /var/amavis/amavisd.pid and restarting amavisd. What needs to be
done so that this problem does not happen again ?

Thanks,
--
Manish Kathuria


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Blocking Encrypted / Password Protected PDF / DOC Files

2008-01-22 Thread Manish Kathuria
How can I block the encrypted or password protected PDF and DOC
(Microsoft) files using amavisd-new while allowing the unencrypted
ones or those without password to pass ?

Thanks,

Manish

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Redirecting Spam on Per Domain Basis

2007-02-26 Thread Manish Kathuria
Hello,

I am using amavisd-new along with Postifx for a number of virtual
domains on the same host. Currently, I am redirecting the detected
spam for all the domains to a single account ([EMAIL PROTECTED]) which
is monitored and scanned for false positives. Since the mail volume if
very high, I would like to redirect the detected spam  to a separate
mailbox for every domain, for example ,[EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED] and so on. I have not been able to
find appropriate configuration options in the documentation. Is it
possible to do so ? If yes, what are the parameters to be defined in
amavisd.conf.

Thanks,

Manish Kathuria

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/