RE: [AMaViS-user] Patch for problem Exceeded storage quota
Hi, What are you settings for $MAX_EXPANSION_QUOTA? Sounds like you're hitting that. .. but perhaps the problem is different, in fact I have in the log file also: Jun 6 11:12:00 mail postfix/local[3019]: 30F40500CBC: to=[EMAIL PROTECTED], relay=local, delay=2, status=bounced (cannot access mailbox /var/mail/edoardo for user edoardo. error writing message: File too large) What is the filesystem quota of your user? (under linux and some other unices: quota -v to view). What is your maximum mailbox size setting in postfix? Since you're having similar problems with your MTA, amavis most definitely doesn't have to be patched. .. that is present also with another mail without a big attach, or they are a different problems ? but I don't think this but only problem. Different problems: - Amavis refuses to unpack a mail all the way because it's too large - Postfix refuses to append mails to your mailbox because the mailbox size will be bigger than what your setting for max. mailbox size is. With the parameter 'MAX_EXPANSION_QUOTA' I can to stop a mail with a big attach ?? You can give it a value in bytes. If a mail with all attachments uncompressed is bigger than the given value, amavis aborts trying to unpack it (let alone scan it) and passes it back to the MTA. It's better explained in amavis.conf-sample, which came with your amavis distribution. Regs, Sven --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r ___ 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] Starting amavis at system startup /etc/init.d/functions: not found
Thanks for your help. Now it is working. MJ -Original Message- From: Mike Cappella [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 8:07 PM To: 'MJ' Subject: RE: [AMaViS-user] Starting amavis at system startup /etc/init.d/functions: not found I'm sorry, here's the update. I had changed a function call to echo which both echo its output then ran the program, but that of course would not run the program. This should fix: --- #!/bin/sh # # amavisd This script controls the amavisd-new daemon. # (to be used with version amavisd-new-20020630 or later) # # description: amavisd is an interface between MTA and content checkers # processname: amavisd # pidfile: /var/amavis/amavisd.pid prog=/usr/local/sbin/amavisd prog_base=$(basename ${prog}) prog_config_file=/etc/amavisd.conf RETVAL=0 # See how we were called. case $1 in start) echo $Starting ${prog_base}: ${prog} -c ${prog_config_file} ${prog} -c ${prog_config_file} RETVAL=$? [ $RETVAL -eq 0 ] touch /var/lock/subsys/${prog_base} echo ;; stop) echo $Shutting down ${prog_base}: ${prog} -c ${prog_config_file} stop ${prog} -c ${prog_config_file} stop RETVAL=$? if [ $RETVAL -eq 0 ] ; then echo ${prog_base} stopped rm -f /var/lock/subsys/${prog_base} else echo fi ;; restart) $0 stop $0 start RETVAL=$? ;; reload) echo $Reloading ${prog_base}: ${prog} -c ${prog_config_file} reload RETVAL=$? ;; *) echo Usage: $0 {start|stop|status|restart|reload} exit 1 esac exit $RETVAL -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MJ Sent: Tuesday, June 07, 2005 9:17 AM To: 'Mike Cappella' Cc: amavis-user@lists.sourceforge.net Subject: RE: [AMaViS-user] Starting amavis at system startup /etc/init.d/functions: not found Initially it was giving error for the directory /var/lock/subsystems, then I created the directory. Now it is not giving any error but still it is not running. MJ --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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/ --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] amavisd-new-2.3.2-pre1 minor fixes
Bill wrote: I'm wondering if I should regress my amavisd version, but I know that 2.3.1 isn't happy is 2.3.0 a good candidate? Can't tell from the release notes, but I may just give it a try. 2.3.0 was short lived because of problems. If you are going to temporarily regress, I would suggest 2.2.1. My 0.02 Gary V --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Can't connect to UNIX socket /var/run/clamav/clamd
- Original Message - From: MJ [EMAIL PROTECTED] Hi, Can someone help with following error? Check the path to your clamd socket in clamd.conf and amavisd.conf. They need to point to the correct location of the socket and they both need to match. Look for this section in your clamd.conf: # Path to a local socket file the daemon will listen on. LocalSocket /var/amavis/clamd.socket Look for this section in your amavisd.conf: ['ClamAV-clamd', \ask_daemon, [CONTSCAN {}\n, /var/amavis/clamd.socket], Bill --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Can't connect to UNIX socket /var/run/clamav/clamd
MJ wrote: Hi, Can someone help with following error? amavis[556]: [ID 702911 mail.error] (00556-05) ClamAV-clamd av-scanner FAILED: Too many retries to talk to /var /run/clamav/clamd (Can't connect to UNIX socket /var/run/clamav/clamd: No such file or directory) at (eval 39) line 264. Jun 8 17:11:53 sune amavis[556]: [ID 702911 mail.error] (00556-05) WARN: all primary virus scanners failed, considering backups earun 8 17:11:53 sune amavis[556]: [ID 702911 mail.debug] (00556-05) Using (ClamAV-clamscan): /usr/local/bin/clamscan --stdout --di sable-summary -r --tempdir=/var/amavis/tmp /var/amavis/tmp/amavis-20050608T165159-00556/parts http://www200.pair.com/mecham/spam/clamav-amavisd-new.html Gary V --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Per user defang_* options in mysql
Is it possible maintain per user defang_* options in MySQL? I have an entry in my policy table called 'No checks' which is supposed to do just what it says on the tin. Both virus_lover and bypass_virus_checks are set to 'Y'. The intention is that users selecting this policy should receive their mail unaltered, but because $defang_virus is set true users using this policy occasionally receive defanged mail if the body has been cached. -- Chris Hastie --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Calyx Point pcf files
There is a mortgage/realty software called Point, produced by Calyx, that has a .PCF file format for its data output. These are simple reports, not executables or macros or whatnot. amavisd-new-20030616p10-5 from Debian Sarge sees these .PCF files incorrectly as Windows executables. Is there a way to exempt certain files, extensions, etc from being banned? -- John Beamon Systems Administrator Franklin American Mortgage Co. em: [EMAIL PROTECTED] --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Old amavisd-new and Convert::UUlib problem
System: SuSE SLES 8 x86, Perl 5.8.3, amavisd-20020517 (I know...) Hi people, I don't expect a lot of support for such an old version of Amavis, but we're in the process of migrating to a new version. In the meantime, we're getting this failure in the maillog: amavis[536]: (00536-20) Decoding of part-2 (ASCII text) failed, leaving it unpacked: Convert::UUlib failed: File I/O Error:: No such file or directory, Not Enough Memory; result file status: /var/amavis/tmp/amavis-20050609T02-00536/parts/part-5 does not exist at /usr/local/sbin/amavisd line 4111. It shows up VERY offten. There are 3 scanning servers, and the other two, running Perl 5.6.1, do NOT have this problem. Convert::UUlib version is 1.0 on all systems. I upgraded the problem box to the latest 1.051, but no luck. Note: /var/amavis/tmp/amavis-20050609T02-00536 (or whatever the current workdir/pid will be) indeed does not seem to exist when the message shows up. The Not Enough Memory is bogus, the box has 2% swap used, 4GB of RAM, and plenty of space on the amavisd tmpfs as well: Filesystem 1K-blocks Used Available Use% Mounted on /dev/shm 1048576 39992 1008584 4% /var/amavis/tmp Anyone seen this before ? If not, how do I trace this ? Any help appreciated. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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] Re: SAVI glibc 2.2 version
On Tue, 7 Jun 2005, Gary Windham wrote: I started digging into this problem after upgrading to Sophos 3.93 on our amavis servers the other day and getting bit. :) Thanks much for detailing the underlying issues. SAVI:: namespace. The SAVI-Perl module will then check this variable in the DESTROY method and decide whether or not to call the SAVI terminate function. I'm sure this isn't the most elegant solution, but it seems to work around the problem. The terminate function also releases memory, so in the general case not calling it would result in a leak. In the specific case of amavisd, if the terminate function is being called the process is exiting, so not freeing memory isn't a big deal. It seems annoying for the user of the API to have to manually inform the module whether or not to clean up. I will follow up with Sophos technical support and see if I can get more information as to why they chose this approach and how it might be worked around in a multiprocess environment. Hopefully SAVI-Perl can remain functional and still kludge-free :). -- Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/ Operating Systems and Network Analyst | [EMAIL PROTECTED] California State Polytechnic University | Pomona CA 91768 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ 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/