[AMaViS-user] time gap between amavis and postfix/smtp in the logs?

2006-12-14 Thread Leon Kolchinsky
Hello All, I have SASL_MYNET_BYPASS policy bank implemented, so my local network users and SASL authenticated users would bypass spam and banned files checks and only virus checks would apply to them. I've also list several mailing lists in amavisd.conf like this: @spam_lovers_maps =

Re: [AMaViS-user] Bayes autolearn not working?

2006-12-14 Thread Jef Driesen
Mark Martinec wrote: Jef, SA debugging can be turned on selectively, e.g: # amavisd -d bayes,learn debug-sa I have the default settings from ubuntu for spamassassin. bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_learn_threshold_spam 12.0 bayes_auto_learn 1

Re: [AMaViS-user] Bayes autolearn not working?

2006-12-14 Thread Mark Martinec
Jef, On a total of 232 messages, 25 get learned (4 ham, 21 spam) and 129 are not learned. I have no idea what happened to the other 78 messages. http://wiki.apache.org/spamassassin/AutolearningNotWorking Mark - Take

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 11/29/06, Gary V [EMAIL PROTECTED] wrote: If it continues to happen, either run amavisd-new in debug mode until it crashes (if it does), then show the last half dozen or so entries or *temporarily* set $log_level to 5 and look for error messages from amavisd-new in your log. It's not

Re: [AMaViS-user] Bayes autolearn not working?

2006-12-14 Thread Mark Martinec
http://wiki.apache.org/spamassassin/AutolearningNotWorking I should add: 'autolearn=...' is not shown when SA is not called, which can be because results from previous instance of the same message was cached, or other reasons for not calling SA (white/blacklisted, bypass_spam_checks, message

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Michael Scheidell [EMAIL PROTECTED] wrote: Try a newer version of 'file' and make sure its first in the path? Sorry, but, what 'file' ? amavisd-new ? It started to work bad from time to time, no changes were made...

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Leon Kolchinsky
-Original Message- From: [EMAIL PROTECTED] [mailto:amavis-user- [EMAIL PROTECTED] On Behalf Of Andres Sent: Thursday, December 14, 2006 3:49 PM To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix On 12/14/06, Michael Scheidell

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, On 12/14/06, Michael Scheidell [EMAIL PROTECTED] wrote: Try a newer version of 'file' and make sure its first in the path? Sorry, but, what 'file' ? amavisd-new ? It started to work bad from time to time, no changes were made... man 1 file Btw, below is a patch to amavisd which

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Leon Kolchinsky [EMAIL PROTECTED] wrote: Sorry, but, what 'file' ? amavisd-new ? It started to work bad from time to time, no changes were made... file is just a utility. # man file FILE(1) FILE(1) NAME file -

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Michael Scheidell
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andres Sent: Thursday, December 14, 2006 8:17 AM To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix (31027-04) TROUBLE in check_mail:

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Mark Martinec [EMAIL PROTECTED] wrote: Btw, below is a patch to amavisd which will let the error message parsing file(1) results - missing last x results be more informative by also reporting exit status from the file(1) utility. This may help troubleshoot your problem. ---

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, Thanks Mark for your answer, my amavisd file has 14938 lines, it does not reach 16290... (amavisd-new from ubuntu packages) The patch is against 2.4.4. It is likely that it will apply to earlier versions, with some line offset, likely to be automatically determined by patch. Try and

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Andres [EMAIL PROTECTED] wrote: Thanks Mark for your answer, my amavisd file has 14938 lines, it does not reach 16290... (amavisd-new from ubuntu packages) I do have this line defined $ln || $!==0 || $!==EAGAIN But at other location... Can I apply your patch manually ? Thanks

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, As you see I do not have proc_status_ok line and some sentences are different. Can you tell me the modifications for my amavisd-new file version? Which version is that? 2.3.3? That's more than a year old. Are you sure you want to bother with it? Make sure you have Net::Server version

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Mark Martinec [EMAIL PROTECTED] wrote: Which version is that? 2.3.3? That's more than a year old. Are you sure you want to bother with it? Make sure you have Net::Server version compatible with your version of amavisd-new. The latest Net::Server still compatible with

Re: [AMaViS-user] SA whitelist usage

2006-12-14 Thread Gary V
Andres wrote: On 12/13/06, Gary V [EMAIL PROTECTED] wrote: If you do have whitespace where the directive continues on to the next line, maybe you need to show 'postconf -n'. Are you sure the client in question was authenticated? Gary V Gary, I do have pcre support, I installed

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, I appreciate your patience on this. That's a year old from source but from packages is the last ( I do not know why ubuntu package maintainera are not using a more updated version). My choice of OS is FreeBSD :-) In this very conversation thread I patched amavisd-new file to be

Re: [AMaViS-user] time gap between amavis and postfix/smtp in the logs?

2006-12-14 Thread Mark Martinec
Leon, 1) What's the meaning of these lines do_notify_and_quarantine: rec_ccat=(1,0), ccat=(1,1) [EMAIL PROTECTED] ? It comes from: do_log(2,do_notify_and_quarantine: rec_ccat=(%d,%d), ccat=(%d,%s), %s, $rec_ccat, $rec_ccat_min, $ccat, $ccat_min, $rec) if $rec_ccat !=

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Mark Martinec [EMAIL PROTECTED] wrote: My choice of OS is FreeBSD :-) Hey That's my choice too :) ! I have a 4.10 server with jboss running since 2 years with no problem, I do not know why I tried ubuntu, maybe I can switch in the future... I found perl-net 0.94 and I will try

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, I found perl-net 0.94 and I will try to install it if you guys tell me that this version is compatible with my amavis version. With amavisd-new-2.3.3 or earlier you need Net::Server 0.90 or earlier. With 2.4.0 or later you can use any version of Net::Server (but preferably avoid 0.91,

[AMaViS-user] Hiding headers

2006-12-14 Thread amavis_user
Hi, Is it possible to hide the following headers in a mail scanned by amavisd-new ? X-Virus-Scanned:amavisd-new at abc.com Thank you. -Admin - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [AMaViS-user] Hiding headers

2006-12-14 Thread Noel Jones
At 12:07 PM 12/14/2006, [EMAIL PROTECTED] wrote: Hi, Is it possible to hide the following headers in a mail scanned by amavisd-new ? X-Virus-Scanned:amavisd-new at abc.com Thank you. in amavisd.conf $X_HEADER_TAG = undef; -- Noel Jones

Re: [AMaViS-user] Hiding headers

2006-12-14 Thread Mark Martinec
Is it possible to hide the following headers in a mail scanned by amavisd-new ? X-Virus-Scanned:amavisd-new at abc.com You mean how not to insert it? $X_HEADER_TAG = ''; or: $X_HEADER_LINE = ''; (no need to disable both) Mark

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Andres
On 12/14/06, Mark Martinec [EMAIL PROTECTED] wrote: Here is the patch that should apply cleanly to 2.3.3: Mark Mark, this is the output of the error with the patch applied: Dec 14 14:12:27 pc009 postfix/smtp[5276]: 5E08039A34D: to=[EMAIL PROTECTED], relay=127.0.0.1[127.0.0.1], delay=22,

[AMaViS-user] amavis templates for other LANG?

2006-12-14 Thread Heiss, Christian
Hi, does anybody has german templates for my read_l10n_templates to put into: /etc/amavis/de_DE/ And / or is it possible to select automatically the correct template depends on the LANG oder LC_* types? To have both: en_US and de_DE files Using Amavis Version: 2.4.4 Regards Christian

Re: [AMaViS-user] Urgent Help Mails Deferred by Postfix

2006-12-14 Thread Mark Martinec
Andres, Mark, this is the output of the error with the patch applied: Dec 14 14:12:27 pc009 postfix/smtp[5276]: 5E08039A34D: to=[EMAIL PROTECTED], relay=127.0.0.1[127.0.0.1], delay=22, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=05248-01,

[AMaViS-user] SPAM scores for mails received from a particular domain are high

2006-12-14 Thread amavis_user
Hi, I am facing a very unusual problem. Mails received from a particular domain on the e-mail gateway for processing are tagged as SPAM because of high scores . I checked and found that most of the mails ( about 90%) of it is always genuine mail.This is a problem for e-mails received

Re: [AMaViS-user] time gap between amavis and postfix/smtp in the logs?

2006-12-14 Thread Clifton Royston
On Thu, Dec 14, 2006 at 04:44:34PM +0100, Mark Martinec wrote: ... Why there is two hour gap (14:32 and 16:32) in between amavis and postfix/smtp transport (cause I can see that postfix/pipe is showing right time in the logs)? Looks like a discrepancy in time zone. Perhaps your

Re: [AMaViS-user] sa-update

2006-12-14 Thread Florin Andrei
Mark Martinec wrote: Florin Andrei, After running sa-update, the new rules were installed under /var/lib/spamassassin/3.001007/updates_spamassassin_org I restarted amavisd but I cannot tell whether it's the new rules that are being used, or the old ones. Is there a way to tell which rule