Re: amavisd clean shutdown and restart

2022-02-23 Thread Damian
Feb 24 00:00:05 [server] /usr/local/sbin/amavisd[97857]: (97857-03) rmdir_recursively: /var/amavis/tmp/amavis-20220223T235319-97857-Mo9niBLX/parts, excl= # cat /var/log/amavisd.log | head -n 5 Feb 24 00:00:00 [server] newsyslog[63582]: logfile turned over Feb 24 00:00:59 [server] /usr/local/sbi

Re: sa_mail_body_size_limit and attachments

2022-02-23 Thread Damian
Yeah, amavis was written at a time when 100k was a large attachment. Have people mostly moved on from amavis? What are the other options? I've been using it almost from the beginning (2001?), but trying to do more with it now, and it's not holding up. Do I understand correctly, that you want a

Re: sa_mail_body_size_limit and attachments

2022-02-23 Thread Alex
> > Is there a variable to skip processing messages that > > contain attachments larger than a specific size? > > There isn't. Yeah, amavis was written at a time when 100k was a large attachment. Have people mostly moved on from amavis? What are the other options? I've been using it almost from

Re: amavisd clean shutdown and restart

2022-02-23 Thread Janos Dohanics
On Thu, 24 Feb 2022 08:06:29 +0100 Damian wrote: > > Feb 24 00:00:05 [server] /usr/local/sbin/amavisd[97857]: (97857-03) > > rmdir_recursively: > > /var/amavis/tmp/amavis-20220223T235319-97857-Mo9niBLX/parts, > > excl= ... Nothing until monit(1) starts amavisd a minute later > > What is (the la

Re: amavisd clean shutdown and restart

2022-02-23 Thread Damian
Feb 24 00:00:05 [server] /usr/local/sbin/amavisd[97857]: (97857-03) rmdir_recursively: /var/amavis/tmp/amavis-20220223T235319-97857-Mo9niBLX/parts, excl= ... Nothing until monit(1) starts amavisd a minute later What is (the last of) ... there?

Re: sa_mail_body_size_limit and attachments

2022-02-23 Thread Henrik K
On Tue, Feb 22, 2022 at 10:09:02PM -0500, Alex wrote: > Hi, > The sa_mail_body_size_limit variable is to stop scanning when the > message body is larger than a certain size, but what about > attachments? Is there a variable to skip processing messages that > contain attachments larger than a specif

amavisd clean shutdown and restart

2022-02-23 Thread Janos Dohanics
Hello, I have a FreeBSD 12.3-STABLE r371667 server. I have this entry in /etc/newsyslog.conf to rotate amavisd logs: /var/log/amavisd.log vscan:vscan 644 30 * @T00 JC /var/amavis/amavisd.pid However, amavisd does not start reliably after log rotation. Some days amavisd does restart as ex

Re: sa_mail_body_size_limit and attachments

2022-02-23 Thread Damian
Is there a variable to skip processing messages that contain attachments larger than a specific size? There isn't.