Re: [AMaViS-user] [SPAM] Re: amavis on lotus?

2007-10-24 Thread Vincent Li
BOn Wed, 24 Oct 2007, Vincent Li wrote: > On Wed, 24 Oct 2007, Javier wrote: > >> thank you all for your kind answers... >> >> i understand the solution is a non-lotus smtp server to process the >> mail routing... >> >> but i have another question regard

Re: [AMaViS-user] [SPAM] Re: amavis on lotus?

2007-10-24 Thread Vincent Li
d sit in gateway, postfix will queue mail and amavisd scans it, clean email are relayed to internal lotus domino. I have nearly static flat user address file to validate recipient address on Postfix. Vincent Li http://bl0g.blogdns.com -

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-25 Thread Vincent Li
On Mon, 25 Jun 2007, Joshua J. Kugler wrote: > Setup: > Postfix 2.2.10 > Amavisd-new 2.3.3 > Spamassassin 3.1.0a > > I have Postfix and Amavis configured and working correctly. Mail is received > by Postfix and sent through Amavis, and is sent back to Postfix, and arrives > in the user's mailbox.

[AMaViS-user] SpamAssassin p0f plugin to work with p0f-analyzer

2007-06-12 Thread Vincent Li
://bl0g.blogdns.com/spamassassin/p0f-analyzer.pm http://bl0g.blogdns.com/spamassassin/p0f-analyzer.cf Vincent Li Bloghttp://bl0g.blogdns.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version

Re: [AMaViS-user] [SPAM] Re: file chokes on too many line feed chars

2007-04-03 Thread Vincent Li
On Tue, 3 Apr 2007, Vincent Li wrote: > On Tue, 3 Apr 2007, Sven Schuster wrote: > >> >> Hi Henrik, >> >> On Tue, Apr 03, 2007 at 08:43:23PM +0300, Henrik Krohns told us: >>>> Must be something else in that file, 2.7M LFs alone in a file >>>>

Re: [AMaViS-user] file chokes on too many line feed chars

2007-04-03 Thread Vincent Li
ot holding breath* > 0.lis: ASCII text > > real33m32.123s > user29m56.064s > sys 0m14.149s > $ > > > while running, it chewed up all available cpu power on my shiny > little AMD Duron home box :-) the old version (4.

Re: [AMaViS-user] amavis returns Bad SMTP Code 4.6.0 .. End data with .

2007-03-30 Thread Vincent Li
ot reproduce your problem when I send email with doc attachments. I also noticed that your setup skipped virus and spam scan. I am out of idea, maybe Mark or someone else could step in and shed a light. Vincent Li http://bl0g.blogdns.com --

Re: [AMaViS-user] amavis returns Bad SMTP Code 4.6.0 .. End data with .

2007-03-30 Thread Vincent Li
ecips_and_data_sent && $smtp_response !~ /^[245]/) { 13525 $smtp_response = 13526 sprintf("451 4.6.0 Bad SMTP code, id=%s, from MTA(%s): %s", 13527 am_id(), $mta_id, $smtp_response); -- Vincent Li http://bl0g.blogdns.com -

Re: [AMaViS-user] amavisd-release trouble

2007-03-28 Thread Vincent Li
re2 back to -- $mail_file =~ m{^ ([^/].*/)? ([A-Z0-9_-]*) ([A-Z0-9][A-Z0-9+-]{10}[A-Z0-9]) (\.gz)? \z}xsi my($fn_path,$fn_prefix,$mail_id,$fn_suffix) = ($1,$2,$3,$4); - It should work. Vincent Li http://bl0g.blogdns.com--

Re: [AMaViS-user] AMaViS Security Announcement ASA-2007-1:exploitablesecurity vulnerability in file(1) utility

2007-03-27 Thread Vincent Li
.mgc which is for file 4.20, I had to remove it and symbolic link /usr/local/share/file with the old one /usr/share/file, then it works. It only happens on my Fedora Core 3, not Federa Core 4, Yellow Dog Linux 4... Vincent Li http://bl0g.blogdns.com

Re: [AMaViS-user] [SPAM] New modules in SpamAssassin 3.2.0-pre2

2007-03-08 Thread Vincent Li
ch2007-03-08 11:32:13.129623584 -0800 @@ -203,6 +203,12 @@ # perhaps combined with Postfix: mydestination = /var/amavis/local_domains # for debugging purposes: dump_hash($local_domains_maps[0]); # + [EMAIL PROTECTED] = qw( + /etc/mail/spamassassin/P0f.pm +); + # Section II

Re: [AMaViS-user] [SPAM] Re: Why p0f-analyzer.pl? (AMaViS-user Digest, Vol 11, Issue 8)

2007-03-07 Thread Vincent Li
you can define other rules, but the code need to be modified a little bit. the plugin just proves that you can access p0f information through unix socket from a SA plugin, the plugin itself need to be improved :) > > Thanks a lot. > Claude > Vincent Li Bloghttp://bl0g.b

Re: [AMaViS-user] [SPAM] R: Why p0f-analyzer.pl?

2007-03-06 Thread Vincent Li
On Tue, 6 Mar 2007, Giampaolo Tomassoni wrote: -Messaggio originale- Da: Vincent Li [mailto:[EMAIL PROTECTED] Inviato: martedì 6 marzo 2007 19.22 A: Giampaolo Tomassoni Cc: amavis-user@lists.sourceforge.net Oggetto: RE: [AMaViS-user] Why p0f-analyzer.pl? On Thu, 15 Feb 2007, Giampaolo

Re: [AMaViS-user] Why p0f-analyzer.pl?

2007-03-06 Thread Vincent Li
On Thu, 15 Feb 2007, Giampaolo Tomassoni wrote: > From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Vincent >> >> On Fri, 26 Jan 2007, Giampaolo Tomassoni wrote: >> >>> Why does the p0f-analyzer.pl script exists? >>> >>> I see that the p0f tool is capable of caching a specified >> amo

[AMaViS-user] [OT]run p0f with -Q -0 option and test script p0fq.pl

2007-02-20 Thread Vincent Li
Here is how I run p0f with local unix socket: p0f -Q /var/run/p0f.sock -0 'dst port 25' >> /dev/null & then run a test script p0fq.pl from the p0f source package. ./p0fq.pl /var/run/p0f.sock src_host 0 dst_host 25 The p0fq.pl test script works on X86 machine running Linux, but not on Mac runn

Re: [AMaViS-user] [SPAM] Re: Amavis-new and SA utilities

2007-02-09 Thread Vincent Li
/mail/spamassassin/ are normally > seen and observed by all frontends to Mail::SpamAssassin > such as amavisd, spamd, spamassassin. > > Mark Right, amavisd debug-sa proves that, thanks for the clarification. Vincent Li Bloghttp://bl0g.blogdns.com ---

Re: [AMaViS-user] [SPAM] Amavis-new and SA utilities

2007-02-08 Thread Vincent Li
, which > is why I ask. > IIRC, Amavisd-new ignores SA local setting file local.cf. spamc/spamd, spamassassin don't ignore SA local setting. > Vincent Li Bloghttp://bl0g.blogdns.com - Using Tomca

Re: [AMaViS-user] Amavis stops working

2007-02-08 Thread Vincent Li
ng amavisd-new as smtp pre-queue proxy? amavisd-new is suppose to do post-queue work. smtp transparent proxy does not handle heavy load well. Vincent Li http://bl0g.blogdns.com - Using Tomcat but need to do more? Need to support

Re: [AMaViS-user] [SPAM] Why p0f-analyzer.pl?

2007-01-25 Thread Vincent Li
On Fri, 26 Jan 2007, Giampaolo Tomassoni wrote: > Why does the p0f-analyzer.pl script exists? > > I see that the p0f tool is capable of caching a specified amount of request, > and then reply to queries issues through a unix socket. > > This in native C-language, which often means reduced size an

Re: [AMaViS-user] [SPAM] Re: First public pre-release (-pre2) of amavisd-new-2.4.5

2007-01-24 Thread Vincent Li
On Wed, 24 Jan 2007, Mark Martinec wrote: > myself writes: >> which may pose a small risk of DoS. Such attack is only >> possible from within your own networks, as a firewall or >> a router should already be discarding packets with your >> own network address coming from outside. > > Actually I'll

Re: [AMaViS-user] [SPAM] First public pre-release (-pre2) of amavisd-new-2.4.5

2007-01-24 Thread Vincent Li
On Tue, 23 Jan 2007, Mark Martinec wrote: > A pre-release of amavisd-new-2.4.5 is available at: > > http://www.ijs.si/software/amavisd/amavisd-new-2.4.5-pre2.tar.gz > > The 2.4.5 is primarily a maintenance release, fixing known > bugs and deficiencies of 2.4.4. It is expected to be the last > rel

Re: [AMaViS-user] logfile analysis script

2007-01-06 Thread Vincent Li
)>,/) { return; } Your amavis log line pattern may vary, just slightly change the relevant amavis regex match pattern in Parse.pm should work Vincent Li http://bl0g.blogdns.com - Take Surveys. Earn Cash. I

Re: [AMaViS-user] maRBL on Debian

2007-01-02 Thread Vincent Li
ure the packet right at command line: p0f -i eth0 -l 'tcp dst port 25' 2>&1 I once forgot to run p0f with -l option (outputs data in line-per-record style) and p0f-analyzer would not parse the p0f packet information right. Hope that helps Vincent Li http://bl0g.blogdns.com

Re: [AMaViS-user] p0f with dual sendmail?

2006-11-24 Thread Vincent Li
brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavi

Re: [AMaViS-user] p0f with dual sendmail?

2006-11-24 Thread Vincent Li
("p0f_lookup"); return $self; } sub p0f_lookup { my ($self, $pms) = @_; # get the first trusted header if ($pms->{num_relays_trusted} > 0) { my $frstru = $pms->{relays_trusted}->[-1]; .. ..... What to do next? } } I am still no

Re: [AMaViS-user] How can I find out which SPAM spamassassin learned?

2006-11-10 Thread Vincent Li
>", "$attachname" || die "Can't write file $attachname:$!"; binmode $out; print $out $p->decode(); }; } Some other SpamAssassin users adopt the script and let users forward the email as attachment to a local email account, then pipe

[AMaViS-user] OT: Amavis-stats missing (weekly/monthly..) text display

2006-10-20 Thread Vincent Li
patch. I tried the patch, not working though. Anybody could clue me in. There is no php error log in apache log. I am running php-5.1.6/apache-2.2.3. Vincent Li http://pingpongit.homelinux.com Opensource .Implementation. .Consulting. Platform.Fedora. .Debian. .Mac OS X. Blog

Re: [AMaViS-user] SA suddenly takes AGES...

2006-10-17 Thread Vincent Li
On Tue, 17 Oct 2006, Vincent Li wrote: > On Tue, 17 Oct 2006, Mark Martinec wrote: > >> >> Try SA from a command line, observing where in pauses longer: >> >> # su vscan -c 'spamassassin -t -D > >> I find the following bash function (in my .bashrc) qu

Re: [AMaViS-user] SA suddenly takes AGES...

2006-10-17 Thread Vincent Li
the above bash function into the clamav's .bashrc which is the account to run amavisd and ran the command below: su clamav -c 'spamassassin -t -D < test.msg' there is no timestamp attached to the debug lines I also copy and paste it into a bash program named timestamp and ran

Re: [AMaViS-user] warnvirusrecip

2006-10-07 Thread Vincent Li
n my log I receive this message: > amavis[4224]: (!) loading policy bank "FET": unknown field "warnvirusrecip". Maybe warnvirusrecip is invalid field in policy bank. > > Where do I wrong? > Thank > Andrea > Vincent Li http://pingpongit.homelinux.com Opens

Re: [AMaViS-user] Mails from own network gets marked as spam, how to change?

2006-10-07 Thread Vincent Li
hit. manually setup your TrustPath in SA, read http://wiki.apache.org/spamassassin/TrustPath?highlight=%28dynamic%29 > > What do I have to change? > > Thank you > > Gerald > > Vincent Li http://pingpongit.homelinux.com Opensource .Implementation.

Re: [AMaViS-user] Re-queueing of mails

2006-10-01 Thread Vincent Li
; 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/ > Vincent Li http://pingpon

Re: [AMaViS-user] Re-queueing of mails

2006-10-01 Thread Vincent Li
On Sun, 1 Oct 2006, Vincent Li wrote: > On Sun, 1 Oct 2006, Werner Schalk wrote: > >> Hi, >> >> hhhmm, this is strange. In a bash shell I get: > ..snip... >> >> This is not correct, the directory /var/amavis/quarantine is full of messages >> like

Re: [AMaViS-user] Re-queueing of mails

2006-10-01 Thread Vincent Li
ntine. try that :) > Thank you. > > Bye, > Werner > > --------- > Vincent Li http://pingpongit.homelinux.com Opensource .Implementation. .Consulting. Platform.Fedora. .Debian. .Mac OS X. Bloghttp://bl0g.blogdns.com

Re: [AMaViS-user] Re-queueing of mails

2006-10-01 Thread Vincent Li
27;; #$interface_policy{'SOCK'} = 'AM.PDP-SOCK'; amavisd-release by default use AM.PDP-SOCK. $socketname = '/var/amavis/amavisd.sock'; #$socketname = '127.0.0.1:9998'; > > Cheers, > Werner. > Hope that helps Vinc

Re: [AMaViS-user] Disable X-Spam-Status header field

2006-09-28 Thread Vincent Li
really want to use SA's header editing, you can use spamd/spamc, or SpamPD, but apparently they are not feature rich as Amavisd. They only do spam tagging. > > So the question is: how can i use this options in amavisd.conf or will they > take effect if i will > put them in the

Re: [AMaViS-user] Disable X-Spam-Status header field

2006-09-27 Thread Vincent Li
chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > AMaViS-user mailing list > AMaViS-user@lists.sourceforge.net > https://lists.

Re: [AMaViS-user] Question about amavisd version 2.3.3 - compat with SA 3.1.5?

2006-09-21 Thread Vincent Li
On Thu, 21 Sep 2006, Mark Martinec wrote: > Vincent, > >>> sa-update can be used with SA 3.1.5 without a need for a change in >>> amavisd-new. Versions before SA 3.1.5 required a one line change >>> in amavisd (or the use of the latest amavisd-new 2.4.3-rc*) >>> to be able to access rules as prepa

Re: [AMaViS-user] Question about amavisd version 2.3.3 - compat with SA 3.1.5?

2006-09-21 Thread Vincent Li
On Thu, 21 Sep 2006, Jim Knuth wrote: > Heute (21.09.2006/18:28 Uhr) schrieb Vincent Li, > >> On Thu, 21 Sep 2006, Mark Martinec wrote: > >>> sa-update can be used with SA 3.1.5 without a need for a change in >>> amavisd-new. Versions before SA 3.1.5 required a o

Re: [AMaViS-user] Question about amavisd version 2.3.3 - compat with SA 3.1.5?

2006-09-21 Thread Vincent Li
a sa-update utility. > Hi Mark, May I ask what is the one line change? I ran amavisd debug-sa, it is like what you mentioned, the rules updated by sa-update is not accessed by amavisd > Mark > Vincent Li http://mcli.homelinux.org System AdminThe Biomde

Re: [AMaViS-user] Question about amavisd version 2.3.3 - compat with SA 3.1.5?

2006-09-20 Thread Vincent Li
w 2.3.3 and SA 3.1.4, I don't think you need to upgrade amavisd-new IIRC. > > -- Clifton > > -- Vincent Li http://mcli.homelinux.org System AdminThe Biomdedical Research Centre University of British Columbia Tel:604-822-7830 Email:

Re: [AMaViS-user] SA add_header

2006-09-10 Thread vincent li
On Sun, 10 Sep 2006, Bill Landry wrote: > I am wondering if there is a way to configure amavisd-new to allow SA to add > the following sample x-header to all messages: > > X-Spam-Relay-Country: US CN RU > > I have added the following entry to my SA local.cf file, but then realized > that ama

Re: [AMaViS-user] SQL for quarantine

2006-09-08 Thread Vincent Li
On Fri, 8 Sep 2006, Anders Norrbring wrote: > I'm about to set up a spam quarantine in MySQL and let users manage > their accounts via MailZu or similar utility. > But I'm a bit confused over the README.sql... I ONLY want to do the spam This is my changes to amavisd.conf $inet_socket_port = [

[AMaViS-user] Re: failed to exec /usr/local/bin/file

2006-03-15 Thread Vincent Li
On 14-Mar-06, at 6:04 PM, Vincent Li wrote: Hi All, I got big trouble with my production email server, I am running on Mac OS X server 10.3.4. Amavisd-new 1.15 was running fine on my system, but after I upgrade to Amavisd-new 2.3.3. Amavisd-new gave me following errors. even if I copy my

[AMaViS-user] failed to exec /usr/local/bin/file

2006-03-14 Thread Vincent Li
Hi All, I got big trouble with my production email server, I am running on Mac OS X server 10.3.4. Amavisd-new 1.15 was running fine on my system, but after I upgrade to Amavisd-new 2.3.3. Amavisd-new gave me following errors. even if I copy my my old amavisd 1.15 and amavisd.conf back and r