[AMaViS-user] DB blacklisting and quarantining

2009-09-11 Thread Chris Bryant
Is there any way to configure a user's policies so the user can have a 
blacklist in the database (using USERS/MAILADDR/WBLIST) and quarantine any mail 
that is blacklisted?  I've looked through the documentation and mailing list 
history and can't find a clear answer on if this is possible and, if so, how.  
It seems to me that any time the blacklist is matched, the mail is marked as 
spam and deleted.  Are there any per-user thresholds that can control this? 
 
Thanks, 
Chris 





USA.NET 

You Run Your Business.  We'll Run Your Email.



This message is for the sole use of the intended recipient(s) and may contain 
confidential and/or privileged information of USA.NET, Inc.  Any unauthorized 
review, use, copying, disclosure, or distribution is prohibited.  If you are 
not the intended recipient, please immediately contact the sender by reply 
email and delete all copies of the original message.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Quarantaine mail without spamassassin

2008-08-01 Thread Chris Bryant
Thank you very much Mark.  This works great for me too now, including 
checking against a custom X- header.

Thanks,
Chris

- Original Message - 
From: Mark Martinec [EMAIL PROTECTED]
To: amavis-user@lists.sourceforge.net
Sent: Thursday, July 31, 2008 8:10 PM
Subject: Re: [AMaViS-user] Quarantaine mail without spamassassin


 Richard,

 can you also use this with other custom lines in the header ?
 Our provider puts also a : X-Spam-Flag: YES
 is the header. Can you also test for that ?
my($subj) = $msginfo-get_header_field_body('subject');

 Yes, the get_header_field_body method can fetch any header field.
 If there are multiple instances (like with Received), each one
 can be selected individually. See comments at sub get_header_field.

 Keep in mind than anything after a colon is a body of a
 header field - which typically starts with a space or tab.

  Mark






USA.NET 
You Run Your Business.  We'll Run Your Email.

This message is for the sole use of the intended recipient(s) and may contain 
confidential and/or privileged information of USA.NET, Inc.  Any unauthorized 
review, use, copying, disclosure, or distribution is prohibited.  If you are 
not the intended recipient, please immediately contact the sender by reply 
email and delete all copies of the original message.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Patch to support Oracle lookups

2008-08-01 Thread Chris Bryant
Mark,

I wanted to pass on small patch that we needed to make to amavisd to get it 
to work with Oracle as a lookup db.  This is a patch against the 2.6.1 
amavisd.  As this was the only only change necessary to get the lookups 
working against Oracle, I was hoping you could include it in future builds.

1059c1059
 'SELECT *, users.id'.
---
 'SELECT users.*, policy.*, users.id'.

Thanks,
Chris






USA.NET 
You Run Your Business.  We'll Run Your Email.

This message is for the sole use of the intended recipient(s) and may contain 
confidential and/or privileged information of USA.NET, Inc.  Any unauthorized 
review, use, copying, disclosure, or distribution is prohibited.  If you are 
not the intended recipient, please immediately contact the sender by reply 
email and delete all copies of the original message.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Quarantaine mail without spamassassin

2008-07-31 Thread Chris Bryant
Mark,

I am trying to do the same thing as Richard and seeing similar results. 
When I detect a custom 'spam' header, I set the option to bypass_spam_checks 
using the code sample you provided, but I think that if spam checks are 
completely bypassed, then so are all of the actions that can be taken as a 
result of detecting spam.  Setting CC_SPAM doesn't seem to have any effect 
if bypass_spam_checks is set.

Chris

- Original Message - 
From: Richard Smits [EMAIL PROTECTED]
To: amavis-user@lists.sourceforge.net
Sent: Tuesday, July 29, 2008 4:31 PM
Subject: Re: [AMaViS-user] Quarantaine mail without spamassassin


 Mark,

 Yes, I know, but i am testing with a telnet to port 25, and a subject
 without the space. But even if i change the regexp to

 /^[ \t]richard/
 or
 /^[ \t]*richard/
 and use subject: richard

 i have the same issue.

 I can see that the regexp is working, because the spam check is being
 skipped. I can see that in the logfile, and in the header on the
 received system.

 Email without richard in the subject : No, score=2.576
 Email with richard in the subject : score=x, tag=0, tag2=0, local=1,
 bl=, s=, mangle= (and no spamassassin info in the header)

 So I am halfway there... the only problem remains that the message is
 not being seen as spam, and not being placed in the quarantaine.

 Greetings... Richard

 Your regexp doesn't match the actual subject:

   if ($subj =~ /^richard/) {

 The subject is ' richard', i.e. with a space after a colon.
 That's why I started my regexp with a /^[ \t]* .../

   Mark






USA.NET 
You Run Your Business.  We'll Run Your Email.

This message is for the sole use of the intended recipient(s) and may contain 
confidential and/or privileged information of USA.NET, Inc.  Any unauthorized 
review, use, copying, disclosure, or distribution is prohibited.  If you are 
not the intended recipient, please immediately contact the sender by reply 
email and delete all copies of the original message.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Malformed UTF-8 character

2008-04-02 Thread Chris Picton
On Wed, 02 Apr 2008 12:34:12 +0200, Mark Martinec wrote:

 Chris,
 
 Apr  1 11:51:00 gateway amavis[2226]: (02226-01) (!!)TROUBLE in
 check_mail: main_log_entry FAILED: Malformed UTF-8 character
 (unexpected continuation byte 0xae, with no preceding start byte) in
 split at /usr/ sbin/amavisd line 9492, GEN11 line 324.
 
 I assume you are using amavisd-new 2.5.4. This is the first time this
 error has been reported.

Yes I am

 
 I assume this is because I am getting some malformed UTF-8 coming in
 (the mails appear to be a spam originating in Japan)

 However, Is there a way to either get amavis to process this correctly,
 or drop the mail?
 
 I am using perl-5.8.0-97.EL3 and perl-MailTools-1.77-1.el3.rf
 
 You are a brave man running it under perl-5.8.0.

I am trying not to stray too far from CentOS 3 provided packages.

 
 Is your locale set to UTF8 (command: 'locale'). If yes, try setting
 locale to 'C' in the process starting amavisd.

My locale is set to en_ZA.UTF-8

Running under LANG=C does allow the mail to go through.


 
 Are you assigning a non-default template to $log_templ in amavisd.conf?

Yes - I am using the template from amavisd.conf-sample


Chris


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Malformed UTF-8 character

2008-04-01 Thread Chris Picton
Hi All

I am getting the following in my logs:

Apr  1 11:51:00 gateway amavis[2226]: (02226-01) (!!)TROUBLE in 
check_mail: main_log_entry FAILED: Malformed UTF-8 character (unexpected 
continuation byte 0xae, with no preceding start byte) in split at /usr/
sbin/amavisd line 9492, GEN11 line 324.
Apr  1 11:51:00 gateway amavis[2226]: (02226-01) (!)PRESERVING EVIDENCE 
in /var/amavis/tmp/amavis-20080401T115045-02226

I assume this is because I am getting some malformed UTF-8 coming in (the 
mails appear to be a spam originating in Japan)

However, Is there a way to either get amavis to process this correctly, 
or drop the mail?

I am using perl-5.8.0-97.EL3 and perl-MailTools-1.77-1.el3.rf

Regards

Chris


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] bayes_min_num_ham not taking effect

2008-03-30 Thread Chris Picton
Hi all

I want to enable auto learning only after a certain amount of manual 
training.  Therefore, I have set the following in /etc/mail/spamassassin/
local.cf:

bayes_min_ham_num 200
bayes_min_spam_num 200

However, even after starting with an empty bayes database, amavisd-new 
seems to be autolearning, even before manual training of the specified 
number of messages.  I get messages stating autolearn=spam, 
autolearn=ham, etc, and the bayes databases are growing in size.

How can I force amavisd-new to respect the spamassassin settings in this 
case?

Chris


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Unsuccessfully releasing messages

2007-10-30 Thread Chris Picton
Hi

I am trying to release a message  as follows:
--
request=release
mail_id=g54s1WjRG5lf
secret_id=
quar_type=F
mail_file=g/spam-g54s1WjRG5lf.gz
requested_by=[EMAIL PROTECTED]
--

My response is
---
setreply=450 4.5.0 Unexpected:%20250%20Ok:%20queued%20as%200D8051E400D
-

However, the mail is successfully released:


Oct 30 15:20:03 localhost amavis[32016]: (rel-g54s1WjRG5lf) policy
protocol: requested_by=[EMAIL PROTECTED]
Oct 30 15:20:04 localhost amavis[32016]: (rel-g54s1WjRG5lf) release
g54s1WjRG5lf /var/amavis/tmp:  - 
Oct 30 15:20:04 localhost amavis[32016]: (rel-g54s1WjRG5lf) Quarantined
message release: g54s1WjRG5lf [EMAIL PROTECTED] -
[EMAIL PROTECTED]

Oct 30 15:20:04 localhost amavis[32016]: (rel-g54s1WjRG5lf) FWD via
SMTP: [EMAIL PROTECTED] - [EMAIL PROTECTED], 250 2.6.0 Ok,
id=rel-g54s1WjRG5lf, from MTA([192.168.20.4]:10025): 250 Ok: queued as
0D8051E400D


Why would I be getting a 450 4.5.0 Unexpected, if the message is being
successfully released?

Chris



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Quarantine metadata to database

2007-10-30 Thread Chris Picton
On Mon, 2007-08-27 at 17:13 +0200, Paolo Cravero wrote:
 Chris Picton wrote:
 
  1: I would like to quarantine metadata
  (to/from/score/tests/etc) to a database, while keeping the
  file on disk.  Is this possible, or should I write a script
  which scans the quarantine dir and extracts metadata for 
  myself?
 
 Some data is there already. Have a look at README.sql-mysql
 and table structure. Tests are not logged to DB but can go to
 syslog maillog.

Just a follow-up here...

Is it possible to log *only* quarantined mails, and not all mails
passing through amavis?  From what I can see, setting @storage_sql_dsn
will cause logging of all mails.

I am trying to create a quarantining system using sqlite for a low
volume mail gateway, but want to limit the impact of all mails being
logged to the sqlite database.

Thanks
Chris


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Quarantine metadata to database

2007-10-18 Thread Chris Picton
On Mon, 2007-08-27 at 17:13 +0200, Paolo Cravero wrote:
 Chris Picton wrote:
 
  1: I would like to quarantine metadata (to/from/score/tests/etc) to a
  database, while keeping the file on disk.  Is this possible, or should I
  write a script which scans the quarantine dir and extracts metadata for
  myself?
 
 Some data is there already. Have a look at README.sql-mysql and table 
 structure. Tests are not logged to DB but can go to syslog maillog.

Just a follow-up here...

Is it possible to log *only* quarantined mails, and not all mails
passing through amavis?  From what I can see, setting @storage_sql_dsn
will cause logging of all mails.

Chris





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Quarantine metadata to database

2007-08-27 Thread Chris Picton
Hi

Two questions regarding quarantining

1: I would like to quarantine metadata (to/from/score/tests/etc) to a
database, while keeping the file on disk.  Is this possible, or should I
write a script which scans the quarantine dir and extracts metadata for
myself?

2: can I quarantine to a multi-level hash directory: ie,
quarantine/A/V/E/AVEGwyZaKYwt.gz



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Change spam Subject, disable virus notification to recipient

2006-08-02 Thread Chris St. Pierre
I'm bringing up a new installation of amavisd-new 2.4.2, and have a
few quetions I've not been able to answer:

1.  Whenever one of my accounts receives a virus, the _recipient_ gets
a notification that someone tried to send them a virus.  This is
annoying, and I'd like to turn it off.  As far as I could tell
from the documentation for amavisd.conf, though, this is off by
default, since $warnvirusrecip, $warnbannedrecip, and
$warnbadhrecip are all set to 'undef'.  I've tried explicitly
setting them to undef in my amavisd.conf, but that doesn't work
either.  How can I disable this?

2.  When something is found to be spam, I'd like to munge the subject
such that it includes [SPAM:...] according to the number of
stars it receives.  I've set:

$sa_spam_subject_tag = '[SPAM:_STARS(*)_] ';

But amavisd doesn't interpret the SA tag _STARS(*)_; it just
comes through as a literal string.  Is what I want to do possible?

Thanks!

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

-
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/


Re: [AMaViS-user] X-DSPAM.* headers

2006-03-21 Thread Covington, Chris
On Tue, Mar 21, 2006 at 01:34:12AM +0100, Mark Martinec wrote:
 Chris,
 
  If using SA, amavisd-new removes existing SA headers when SA is enabled. 
  Is there any way I can configure amavisd-new to remove X-DSPAM.* headers? 
  The architecture is
  postfix(25)-amavis(10025)-postfix(10026)-dspam(24)-postfix(10027)-mailstore
 
  I could have Postfix remove the X-DSPAM.* headers via header_checks, but
  without running multiple Postfix instances I can't figure out how to
  configure Postfix to not remove X-DSPAM.* after the dspam daemon inserts
  those headers which then get used to sort spam at the mailstore.  I was
  thinking I could get amavisd-new to remove X-DSPAM.*
 
 If dspam is invoked from amavisd, then X-DSPAM headers _are_ removed
 by amavisd.  Since you are calling dspam after amavisd, you will need
 to remove the pigtail if defined $dspam from the following clause,
 to get these headers removed unconditionally:
 
   push(@which_headers, qw(
   X-DSPAM-Result X-DSPAM-Confidence X-DSPAM-Probability
   X-DSPAM-Signature X-DSPAM-User X-DSPAM-Factors))  if defined $dspam;

Thanks Mark, works beautifully!

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] feature request: anomy sanitizer support

2006-03-20 Thread Covington, Chris
Hi all (Mark :),

How difficult would it be to add anomy sanitizer to amavisd-new?  It's 
basically just a perl script that reads from stdin and prints to stdout, and I 
don't think its interface has changed much over the years.  It would be a nice 
additional thing for amavisd-new to glue together.


---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] X-DSPAM.* headers

2006-03-20 Thread Covington, Chris
Hi all,

If using SA, amavisd-new removes existing SA headers when SA is enabled.  Is 
there any way I can configure amavisd-new to remove X-DSPAM.* headers?  The 
architecture is 
postfix(25)-amavis(10025)-postfix(10026)-dspam(24)-postfix(10027)-mailstore

I could have Postfix remove the X-DSPAM.* headers via header_checks, but 
without running multiple Postfix instances I can't figure out how to configure 
Postfix to not remove X-DSPAM.* after the dspam daemon inserts those headers 
which then get used to sort spam at the mailstore.  I was thinking I could get 
amavisd-new to remove X-DSPAM.*

Has anyone addressed this issue?


---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
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] First public pre-release of amavisd-new-2.4.0

2006-03-10 Thread Chris Horry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Martinec wrote:
 Here is the first public PRE-RELEASE of amavisd-new-2.4.0
 
   http://www.ijs.si/software/amavisd/amavisd-new-2.4.0-pre5.tar.gz
 
 Please see its RELEASE_NOTES,
 noting the few minor incompatibilities with 2.3.3.
 
 Testing and feedback is welcome.
 I hope to turn it into a release candidate in a week or so.

Now seeing the following for clean mails in logs:

Mar 10 11:49:14 gary amavis[6637]: (06637-10) Passed OTHER, 

Normal behaviour?

Chris

- --
Chris Horry KG4TSM  In theory there is no difference between
[EMAIL PROTECTED]  theory and practice.  In practice there is.
http://www.wibble.co.uk -- Yogi Berra
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEa6PnAAeGCtMZU4RAqvfAKDLfzB8TEajsVVKt1+gL8oyX4qVqwCfXUc4
t4yopkZKZ3jhOQB7Q77Zw0o=
=ua/r
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] First public pre-release of amavisd-new-2.4.0

2006-03-10 Thread Chris Horry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Martinec wrote:
 Chris,
 
 Now seeing the following for clean mails in logs:
 Mar 10 11:49:14 gary amavis[6637]: (06637-10) Passed OTHER, 
 Normal behaviour?
 
 I see, I removed two lines too many when I was stripping-out
 local site-specific modifications. Please change:
 
 --- amavisd~Fri Mar 10 12:41:39 2006
 +++ amavisd Fri Mar 10 18:19:03 2006
 @@ -7969,2 +7969,4 @@
$MSGINFO = $msginfo; $CONN = $conn;
 +  $msginfo-add_contents_category(CC_CLEAN,0);
 +  $_-add_contents_category(CC_CLEAN,0) for @{$msginfo-per_recip_data};
# compute body digest, measure mail size and check for 8-bit data

Yep, that fixed it.  Also, I am using Postfix (in response to your
previous e-mail).

Mar 10 12:31:26 gary amavis[8269]: (08269-01) Passed CLEAN,
[EMAIL PROTECTED] - [EMAIL PROTECTED], Hits: -0.288, tag=0,
tag2=4, kill=10, L/0/0/0

Thanks for the quick response and fix!

Chris

- --
Chris Horry KG4TSM  In theory there is no difference between
[EMAIL PROTECTED]  theory and practice.  In practice there is.
http://www.wibble.co.uk -- Yogi Berra
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEbg4nAAeGCtMZU4RAnOhAKCaLnsyfQrj1W3O3mso/ezEh2WZwgCdGq9I
7xhGapvFZaa884SPtALp1cQ=
=0L6p
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Generic spam scanner interface for amavisd-new (patch)

2006-01-05 Thread Covington, Chris
On Thu, Jan 05, 2006 at 10:46:16AM +0100, Felix Schwarz wrote:
 Hi all.
 
 FOREWORD:
 After using MailScanner for about three years, I finally switched to
 amavisd-new because I liked some things in the implementation better.
 One thing I really need is a decent DSPAM integration. I do not
 consider the current DSPAM integration in amavisd-new as sufficient as
 it is currently only a second scanner besides SpamAssasin, uses only
 one global user, does not enable easy spam filter retraining by users
 and the end result of the spam check is calculated by some hard coded
 rules.

In my opinion, amavisd-new does not need DSPAM support.  As of 3.4.X or
3.6.X (I forget which) DSPAM can run in daemon mode as a LMTP 
content-filter.  I use amavisd-new for banned files and A/V, then I have
amavisd-new reinject the mail to Postfix which reinjects to DSPAM via 
LMTP.  Problem solved.  I suppose it could be cleaner if amavisd-new
could support reinjecting to a LMTP content-filter, but the performance
is fine.

It looks like this:

postfix-amavisd-new-postfix-dspam lmtp daemon-postfix-mailstore

Mark, why don't you just drop DSPAM support (and maybe add LMTP 
reinjection like $forward_method = 'lmtp:[127.0.0.1]:24')?  

I see no benefit of calling DSPAM in amavisd-new.

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
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] Bayes database

2005-12-16 Thread Chris
Rocco Scappatura wrote:
 Hello,
 
 I'm using spamassassin with database MySQL.
 
 I have many problem when I try to restore dumped data to another DBMS (for
 high availability pupouse).
 
 Infact, I have often problems like this:
 
 mysql2:/home/rocsca/slave # mysql -u root  bayes.sql
 ERROR 1062 (23000) at line 245: Duplicate entry '4-ÈÜ?' for key 1
 
 Is an encoding problem? Anyone had similar problem?
 
 Thanks

Is there a tutorial for someone like me to start using mysql w/Amavis
and SA?


-- 
Best regards,
Chris

It's always darkest before ... daylight saving time.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
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] TIMING step update_cache randomly becomes VERY slow.

2005-12-13 Thread Chris
Mark Martinec wrote:
 using - it is logged during startup like:
 
   amavis[xxx]: Creating db in /var/amavis/db/; BerkeleyDB 0.27, libdb 4.3
 
 The last time this was reported it turned out it was with an old version
 of libdb. If this is also true in your case, try with a more recent version
 form ports, e.g. databases/db42 or databases/db43 or databases/db44.
 See also that the databases/p5-BerkeleyDB is reasonably recent.


On a somewhat related note - what is the proper db to use for the
lastest Amavis with FreeBSD?


-- 
Best regards,
Chris

There is no such thing as a dirty capitalist,
only a capitalist.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
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] TIMING step update_cache randomly becomes VERY slow.

2005-12-13 Thread Chris
Mark Martinec wrote:
 Chris,
 
 
Is there some sort of compile time arg to use? Just I removed my older
db port, and installed 4.3 - recompliled Postfix to use it, then rebuilt
Amavis. Seems Ami still calls in db3
 
 
 You may need to reinstall Perl module BerkeleyDB after upgrading libdb.
 No changes and no reinstall on amavisd-new are needed.
 
 On FreeBSD one puts a line like:
 WITH_BDB_VER=43
 into /etc/make.conf, which influences later ports installs.
 
 I don't know what is needed on Linux for a clean upgrade of libdb.
 Perhaps you have multiple versions present on the system, causing confusion.
 
   Mark

This worked well. I'm now gliding along on 4.3 - this also may explain
why Amavis crashed on Sunday, possibly do to the fact that Amivis was
using the default type that installs with BerkeleyDB (3.3 I think?)


-- 
Best regards,
Chris

The label new and/or improved means the price went up.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
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] policy bank question

2005-12-02 Thread Covington, Chris
Hi all,

I'd like to create a policy bank that would forward a mail from a 
client in a certain IP range AND a sender in a certain domain to a
defined forward_method.

For instance, mail from a client in 192.168.123.0/24 whose sender is
[EMAIL PROTECTED] will be forward_method = 'smtp:[127.0.0.1]:10026'

Is this possible?

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

!DSPAM:1,4390aa6861878969736760!




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
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] submitting MS Exchange email to Bayes

2005-11-09 Thread Covington, Chris
On Tue, Nov 08, 2005 at 08:57:13AM +0100, Mathias Tauber wrote:
 Set up a shared imap (public) folder on exchange server.
 Users drag spam into that folder.
 
 Look for sa-learn for the perl scripts to read it and submit it as
 spam.
 
 We've tried that but fetched the mails with POP3 instead of IMAP.
 The result wasn't very satisfying. Does it matter if using IMAP
 or POP3? Headers aren't the original ones as the mail arrives on
 exchange as far as I know...

Make sure you run dos2unix on all the messages before you sa-learn them.

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.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/


[AMaViS-user] $banned_files_quarantine_method/to not working

2005-11-06 Thread Chris Jensen
Hi,
I've been banging my head against this for a couple of hours and it's
no doubt something obvious, but I can't figure it.

I'm trying out Amavisd-new's banned attachment filtering.
If I send banned attachments to the server, it does indeed block it,
but the warning to the recipient includes:
Our internal reference code for this message is 27912-02/4NspU-HtkcbX.
Not quarantined.

and the file is indeed not quarantined.

My amavisd.conf file includes:
$QUARANTINEDIR = /var/virusmails;
$virus_quarantine_to = 'virus';
$banned_quarantine_to = 'banned';

Yet, banned are not quarantined at all, and viruses are quarantined in
$QUARANTINEDIR, while I would've thought they'd be put in a
subdirectory named virus.

My full amavisd.conf is available at

http://drspirograph.com/amavisd.conf

Appologies if this is a FAQ, I have tried reading docs, and googling,
but to no avail. It's the end of a long weekend and brain rot has
probably set in.

Regards
Chris


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.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/


[AMaViS-user] decoder for zip?

2005-10-06 Thread Covington, Chris
Hi all,

When I start amavisd-new I see the following:

Oct  6 11:20:50 grettir amavis[12701]: Internal decoder for .zip 

Is there another type of decoder that can be used for .zip?

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
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] Banned files and SQL

2005-08-30 Thread Chris Hastie
I'm struggling to understand the documentation relating to the banned_rulenames
field in SQL tables.

The best I've been able to get to is this, and I wonder if someone can let me
know if I'm heading in the right direction before I spend too much time on
this.

I need to set up a pile of different REs, each in a reference with an arbitary
name:

eg
$banned_re_1 = [qr'\.[^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i = 1];
$banned_re_2 = [qr'^\.(exe-ms)$]' = 1];

Then I need to set up a hash which maps names to these:
eg

%banned_rules = {'double_extensions' = $banned_re_1,
  'ms_executables' = $banned_re_2 };

And then use these names in a comma separated list in the SQL table field
banned_rulenames. Am I anywhere near?

-- 
Chris Hastie


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
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] some mail making it through

2005-08-10 Thread Chris Larsen
even though the score is way up there..  not sure why this is getting thru..
 
Like this 
 

---
Hit : 24.931
From: [EMAIL PROTECTED]
Subject : re [6]
-- Destinataires --

---
This file was quarantined with the following path:

spam-b206d856c34609a66406f52137c33f72-20050810-131939-28031-10
Spam detection software, running on the system sk2.int.daeda.net, has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
[EMAIL PROTECTED] for details.

Content preview:  into account in 2000 Icons SI Swimsuit Issue Coyote
  Ugly Study: Most still not [...]

Content analysis details:   (24.9 points, 5.0 required)

 pts rule name  description
 -- --
 1.7 MSGID_FROM_MTA_ID  Message-Id for external message added locally
 2.7 FORGED_YAHOO_RCVD  'From' yahoo.com does not match 'Received' headers
 3.2 DOMAIN_RATIO   BODY: Message body mentions many internet domains
 0.1 HTML_80_90 BODY: Message is 80% to 90% HTML
 0.0 HTML_MESSAGE   BODY: HTML included in message
 3.0 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words
 0.8 HTML_FONT_LOW_CONTRAST BODY: HTML font color similar to background
 0.1 RAZOR2_CF_RANGE_51_100 BODY: Razor2 gives confidence level above 50%
[cf: 100]
 4.3 BAYES_99   BODY: Bayesian spam probability is 99 to 100%
[score: 1.]
 0.2 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
 2.5 RAZOR2_CHECK   Listed in Razor2 (http://razor.sf.net/)
 2.0 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[69.79.43.232 listed in dnsbl.sorbs.net]
 0.4 URIBL_AB_SURBL Contains an URL listed in the AB SURBL blocklist
[URIs: kdegohoodkk.com]
 2.5 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist
[URIs: kdegohoodkk.com]
 1.5 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
[URIs: kdegohoodkk.com]

--- BEGIN HEADERS -
Return-Path: [EMAIL PROTECTED]
Received: from Dynamic-IP-cr697943232.cable.net.co (unknown [69.79.43.232])
by sk2.int.daeda.net (Postfix) with SMTP id 3F7E0AAE3CA
for [EMAIL PROTECTED]; Wed, 10 Aug 2005 13:19:36 -0500 (CDT)
FCC: mailbox://[EMAIL PROTECTED]/Sent
X-Identity-Key: id1
Date: Wed, 10 Aug 2005 14:16:00 -0500
From: Whitney Mcneil [EMAIL PROTECTED]
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: re [6]
Content-Type: multipart/related;
 boundary=02000709070409000309
Message-Id: [EMAIL PROTECTED]
--- END HEADERS ---



 
any ideas? 
 
Thanks,
chris
 
 


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
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] Re: [Mailzu-users] Quarantining Virus Mails

2005-08-01 Thread Chris Phillips

Brian Wong wrote:

Chris,

On 8/1/05, Chris Phillips [EMAIL PROTECTED] wrote:


Hi there,

I'm very new to mailzu  have a few questions, but will start with this one for
now: -

I would like to be able to see any emails stopped for containing viruses, in the
quarantine area, but I can not.




This is currently not implemented. Sam and I thought that it wasnt
really useful at the time, and figured it would be rare that people
would ever want viruses released due to the amount of possible FPs to
occur.

Bad headers is also not implemented, and I believe the reason was we
just didnt get around to it. We based alot of our work around what our
site needed, but now that MailZu is publicly used, we are starting to
add feature requests.

Consider the two above missing implementations added to our TODO list.
It isnt much work so possibly in the upcoming RC3. Sorry for the
inconvenience.



Is there some config tweak I have missed in mailzu, or is this related to my
amavisd-new config?



Nope, nothing wrong with your config at all.



Ah!  Thanks Brian, that's set my mind at rest :)

It's really good to know that they're on the TODO, cool.

I'll keep my eyes peeled for future releases...


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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] FINAL DECISION: Will our machine handle it

2005-07-25 Thread Covington, Chris
 I thought that rejecting non-existent users at SMTP time was 
 considered a bad idea because now the spammer knows that any 
 messages that are accepted are valid email addresses.  Is 
 this no longer considered a best practice?

Yes it's no longer considered best practice.  The problem is that the
accept-then-reject alternative wastes more resources due to accepting
the whole message (what if it was an 8MB email?) and then bouncing back
later.  Also, it is possible to bounce the message back to forged from:
addresses, wherease rejecting at SMTP time does not send a message back
- it is the connecting MTA's responsibility to inform the sender.

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
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] Followup on Perl 5.8.7 and Freebsd issues

2005-07-11 Thread Chris

[EMAIL PROTECTED] wrote:

Michael Scheidell:

The issue with deferred mail was that amavisd-new didn't 
really restart.


You would see the missing modules if you start with debug.

The rsync seemed to fix it. (again, don't ask don't tell) if 
you don't know what and why of the rsync, don't even try it.


I actually had a similar problem when upgrading a lot of 
systems from 5.8.5 to 5.8.6.  they rsync fixed it. Problem 
may be in the upgrade/install code for perl 5.8.[567]



Don't spread FUD. When upgrading perl, it's very important to rebuild all
dependend ports.

Update your ports tree and then do:

# portupgrade -rf lang/perl5.8


From `portupgrade --help':

-f, --force  Force the upgrade of a port even if it is to be
a
 downgrade or just a reinstall, or the port is
held

-r, --recursive  Do with all those depending on the given
packages
 as well


Your rsync method is broken and may result in unstable system.


Regards,
Andrzej Kukula





The perl-after-update didn't to squat for at me and 2 other fellas. As 
to portupgrade, that too didn't do as I expected.


While I understand the reasoning to toss out the only 2 things that 
claim to take care of this - you also need to remember that a good 
percentage of us are seasoned users.


Please don't insult us for what you seem to think is a lack of 
knowledge. And in defense of Mr. Scheidell - we have communicated off 
list and came to the same conclusions (for the most part). What he did 
do was to come up with an alternative way of dealing with the anomoly 
that some of us are having.


He also made it very clear that using rsync was at your own risk - but I 
guess Anrzej Kukula didn't read that part - or refused to.


In any event, acknowledge that there is an issue... Listen to the folks 
that have work-a-rounds, then pick your way of doing it.


Personally - I find the old way of updating perl (way down deep in 
UPDATING) is perhaps a more proper way then portupgrade -rf

Again - the keyword is the first word in the sentence.

--
Best regards,
Chris

If project content is allowed to change freely, the rate of
change will exceed the rate of progress.


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

___
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] Followup on Perl 5.8.7 and Freebsd issues

2005-07-10 Thread Chris

Thomas Vogt wrote:

Hi

What is the exact problem with amavis and perl 5.8.7? We have 4  FreeBSD 
Mailserver  with amavis 2.3.2, perl 5.8.7 and Spamassassin  3.0.4. We 
don't have any problems with it. Every server is handling  700k avarage 
mails a day without any problem.


Regards,
Thomas


IIRC - mine was taking the mail and deferring it. Once that happened, 
Amavisd killed itself.


... In a nutshell. Then once I down graded perl, all was good again. 
Mind you tho - this was only on the mailserver. My other devices 
upgraded well.



--
Best regards,
Chris

Remain silent about your intentions until you are sure


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

___
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] Q: spam lovers?

2005-06-16 Thread Chris Hastie

On Wed, 15 Jun 2005, Annette Jaekel [EMAIL PROTECTED] wrote


Am 14.06.2005 16:57 Uhr schrieb Sven Riedel unter [EMAIL PROTECTED]:



Hi,


with amavisd-new and centralized SA and dspam:
Is there an easy possibility for an user to decide to
opt-out from the
spam-checks of amavisd-new by itself? For dspam there would be a nice
$USERHOME/.nodspam. Is there an option for amavisd similiar
to that one?


There is nothing built in that I know of. But since the config
file is in essence a perl script that is invoked with perls
'do'-function (q.v.) you'll be able to write a small loop
in the config file that will build your spam_lovers_map
for you. (Mark will correct me if I said anything wrong here :) ).


The other approach is to use MySQL lookups to decide on what policy 
applies to what user, and write an interface for users to select their 
preferred policies.




Meanwhile I also found bypass_spam_checks_map. Is it better to configure
spam_lovers or bypass_spam_checks, if a mail receiver generelly want to
opt-out from the centralized spam-checks? Whats the main difference between
these two maps?


bypass_*_checks bypasses checks. On the face of it this is fine. The 
problem is that with multiple recipient emails if at least one recipient 
wants checks, then checks are performed. Because of this it is wise to 
also set *_lovers to match. That way they'll get the mail even if the 
checks are performed and failed.


The only problem I've had is with viruses, where I've been unable (using 
MySQL) to work out how to set defang* options on a per user basis. This 
has meant that sometimes people who want viruses get them defanged if 
the message hash is cached. bypass_*_checks it seems doesn't bypass 
checking the cache.




Furthermore I assume difficulties to realize no-spam-check for someone, if
a mail to a list or alias this user is on is receiving by amavis. I read
some hints, that for lists of receivers amavis process the mail for every
receiver, ignoring opt-out settings, if not all receivers agree not to
check the mail. So what with members of spam_lovers oder bypass_spam_check
if they are on a mail alias list?

I'm not sure what sort of list you mean. If one hosted on your box, then 
if the list address is set for filtering, incoming mail is going to be 
filtered before it hits the list expander. If this isn't what you want, 
add the list address to bypass_* and *_lovers. Personally, I think the 
spam policy of a list is down to the list admin, and I'd filter. I don't 
want my lists used for distributing spam and viruses thanks.


If you have aliases and rewrites then take care to have amavis at the 
appropriate point in the system if you want per user configuration. 
Whether amavis checks before or after the alias translation will affect 
what addresses you need to place in bypass* and *lovers.


HTH
--
Chris Hastie


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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

2005-06-08 Thread Chris Hastie

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/