Re: [AMaViS-user] no go with amavisd-new and postfix

2007-02-13 Thread Mark Martinec
Ian, > I have a small issue with content filtering and cant get my around > it. When I enable @lookup_sql_dsn in the amavisd.conf file postfix > smtp process gives me an error. > If I disable @lookup_sql_dsn and just use the defaults from the > amavisd conf file everthing is ok. > Feb 13 23:41:

[AMaViS-user] no go with amavisd-new and postfix

2007-02-13 Thread Ian C Roberts
Helo, I have a small issue with content filtering and cant get my around it. When I enable @lookup_sql_dsn in the amavisd.conf file postfix smtp process gives me an error. Feb 13 22:59:59 freebsd postfix/smtp[15907]: A365A17F91: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, del

Re: [AMaViS-user] spamassassin and some questions

2007-02-13 Thread Gary V
Gary wrote: > Don't use both @local_domains_acl and @local_domains_maps. In this > case @local_domains_acl will be overwritten by @local_domains_maps. > @local_domains_maps = ( [ ".$mydomain", '.sonntag-partner.de' ] ); > # @local_domains_acl = ( ".$mydomain" ); Mark, Maybe it's time to update

Re: [AMaViS-user] spamassassin and some questions

2007-02-13 Thread Gary V
jacusy wrote: >> In order for X-Spam-Status and similar headers to be inserted, the >> recipient must be considered local. This is a FAQ. >> >> Look for "No spam-related headers inserted?" here: >> http://www.ijs.si/software/amavisd/#faq-spam >> >> @local_domains_maps = ( [".$mydomain", '.example.

[AMaViS-user] amavis + virtual domains + per-recipient white/blacklist

2007-02-13 Thread Philippe Trolliet
hi, i´m using amavis with a virtual domain system with postfix and cyrus-imapd on fedora core 4. all the necessary data is stored in a mysql database. i´m using amavis to scan mails with clamav and spamassassin. it is configured to mark spam mails in the subject. at first i had the problem that my

Re: [AMaViS-user] spamassassin and some questions

2007-02-13 Thread jacusy
> In order for X-Spam-Status and similar headers to be inserted, the > recipient must be considered local. This is a FAQ. > > Look for "No spam-related headers inserted?" here: > http://www.ijs.si/software/amavisd/#faq-spam > > @local_domains_maps = ( [".$mydomain", '.example.com', '.example.net'

Re: [AMaViS-user] spamassassin and some questions

2007-02-13 Thread Gary V
jacusy wrote: > Hi! > I played around some time today with postfix, amavisd-new and > spamassassin. My mails on the mail-gateway are just checked, and then > forwarded to another mail-server. spamassassin works (it is not in > daemon-mode), but the headers in the checked mail do not appear. I hav

[AMaViS-user] spamassassin and some questions

2007-02-13 Thread jacusy
Hi! I played around some time today with postfix, amavisd-new and spamassassin. My mails on the mail-gateway are just checked, and then forwarded to another mail-server. spamassassin works (it is not in daemon-mode), but the headers in the checked mail do not appear. I have these settings: /etc/am

[AMaViS-user] AV size limit?

2007-02-13 Thread Pavel Urban
Hello, is there a parameter like 'sa_mail_body_size_limit' for antivirus checks? I don't want our Clamav scanning 20MB 'funny' pictures' archives being sent by our users. Thanks! -- *** Pavel Urban ([EMAIL PROTECTED]) O2 syst

Re: [AMaViS-user] No space left on device

2007-02-13 Thread 'Bryan K. Walton'
On Tue, Feb 13, 2007 at 10:39:59AM +0200, Leon Kolchinsky wrote: > > I'm using the following cronjob to ensure I won't have this kind of > situation: > > */40 * * * * /bin/bash -c "(find /var/spool/amavis -type d -name 'amavis-*' > -prune -mmin +30 -exec rm -rf {} \;)" Thanks Leon! This is defi

[AMaViS-user] Storing Virus Names in SQL

2007-02-13 Thread Ralf Kirmis
Hello Listusers, i've the requirement to store the virus name in the logs in case of an virus and to store the banned filename in case of a banned file Logging is currently on an mysql server. Digging through the code brougt my attention to the save_info_final and probably adding two fields to th

Re: [AMaViS-user] per user setting with amavisd-new

2007-02-13 Thread Ian C Roberts
At 04:32 PM 2/12/2007, Ian C Roberts wrote: >> All, >> >> I have a slight problem with amavis and per user settings in a mysql >> database. I have created the tables from the sql readme doc that >> came with amavis and granted SELECT to the user that is configured in >> amavisd,conf as follows...

Re: [AMaViS-user] No space left on device

2007-02-13 Thread Mark Martinec
Leon, > */40 * * * * /bin/bash -c "(find /var/spool/amavis -type d -name 'amavis-*' > -prune -mmin +30 -exec rm -rf {} \;)" mmin +30 is too short. During more idle periods and when there are lots of child processes, it is not uncommon for a child process to live for several hours. Mark --

Re: [AMaViS-user] No space left on device

2007-02-13 Thread Leon Kolchinsky
> -Original Message- > From: [EMAIL PROTECTED] [mailto:amavis-user- > [EMAIL PROTECTED] On Behalf Of Clifton Royston > Sent: Monday, February 12, 2007 10:03 PM > To: Bryan K. Walton > Cc: amavis-user@lists.sourceforge.net > Subject: Re: [AMaViS-user] No space left on device > > On Mon, F