[AMaViS-user] Use of uninitialized value $args[0] in sprintf at /usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Logger.pm line 241.
Hi, don't know when it started but I see the following lines in the logs: Use of uninitialized value $args[0] in sprintf at /usr/local/lib/perl5/site_perl/5.10.1/Mail/SpamAssassin/Logger.pm line 241. [...] Mar 8 19:48:44 teg amavis[66058]: (66058-14) (!)INFO: dot-stuffing error (only one leading dot): .main_table { width: 600px; margin-right: auto; margin-left: auto; }\r\n Ideas? I'm running SpamAssassin-3.3.0_3 on FreeBSD8.0. Thanks, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Exclude from Quarantine
Hi, I have a very old domain I use to train the filter. Is there a way to exclude that email domain from quarantine (while still quarantining all my other domains)? Thanks, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: Reconfiguring perl 5.8.9 with disabled multithreading will provide a huge stack compared to yours, reducing the chance of a crash happening. I believe the 5.10.* now uses heap for regexp evaluations, so this would be another choice - perl 5.10.1 is in ports too, and works very well with SpamAssassin. Confirmed. Perl 5.10.1 from FreeBSD ports, even with multithreading enabled, survives abuse by your sample message. Seems indeed that with 5.10 it does not core. As even OpenBSD 4.5 ships with 5.10 I don't see any reason why I shouldn't upgrade all machines. Thanks, Helmut -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: Reconfiguring perl 5.8.9 with disabled multithreading will provide a huge stack compared to yours, reducing the chance of a crash happening. I believe the 5.10.* now uses heap for regexp evaluations, so this would be another choice - perl 5.10.1 is in ports too, and works very well with SpamAssassin. Confirmed. Perl 5.10.1 from FreeBSD ports, even with multithreading enabled, survives abuse by your sample message. I'll think abaout 5.10 but this is so wierd, with 5 more or less identical machines I can only reproduce this problem on 2 machines. I even reinstalled everything depending on perl, still no luck. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: Helmut, Reconfiguring perl 5.8.9 with disabled multithreading will provide a huge stack compared to yours, reducing the chance of a crash happening. I believe the 5.10.* now uses heap for regexp evaluations, so this would be another choice - perl 5.10.1 is in ports too, and works very well with SpamAssassin. Confirmed. Perl 5.10.1 from FreeBSD ports, even with multithreading enabled, survives abuse by your sample message. I'll think abaout 5.10 but this is so wierd, with 5 more or less identical machines I can only reproduce this problem on 2 machines. I even reinstalled everything depending on perl, still no luck. Are you certain that you have a multithreaded perl 5.8.* on all of them? The multithreading is a non-default option when installing perl from ports. Compare outputs of 'perl -V' on each. osname=freebsd, osvers=8.0-release, archname=i386-freebsd-thread-multi-64int usethreads=define use5005threads=undef useithreads=define usemultiplicity=define osname=freebsd, osvers=8.0-release, archname=amd64-freebsd-thread-multi usethreads=define use5005threads=undef useithreads=define usemultiplicity=define On all of them. Tested on 2 machines with AMD64 - fine. On 4 with i386 - 2 fail. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: The perl is from ports I presume. Which version? 5.8.9 multiThreaded Before I start, could you pleasee check your posting from 9 Sep 2009 03:53:17 +0200? Btw, it started crashing here too after upgrading p5-Convert-UUlib, easily reproducible on certain text files. $ perl -e 'use Convert::UUlib; Convert::UUlib::Initialize(); ($s,$c)=Convert::UUlib::LoadFile(p001)' Segmentation fault: 11 (core dumped) What makes you think it is related to that thread: amavisd dies randomly after update of p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30, 1 ? The UULib thing was related to (afair) libc and string comparison. I suspect p5-URI-1.52 to cause the problem. Maybe. Could also be a: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6225 Check that your www/p5-HTML-Parser is fresh. It is. Anyway, the last thing I updated was the p5-URI port on Jan 14th and 30 minutes later the problems began. BTW, only one single mail (from ~ 5.000 a day) is affectd by now... -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: Helmut, It is. Anyway, the last thing I updated was the p5-URI port on Jan 14th and 30 minutes later the problems began. BTW, only one single mail (from ~ 5.000 a day) is affectd by now... If it is reproducible, can you send your sample to me? The data is sensible, could you please email me your email address? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: Helmut, It is. Anyway, the last thing I updated was the p5-URI port on Jan 14th and 30 minutes later the problems began. BTW, only one single mail (from ~ 5.000 a day) is affectd by now... If it is reproducible, can you send your sample to me? Finally, I was able to get the core file. And (surpise, surprise ;) ) it is libc: [r...@ns1 ~]# gdb /usr/bin/perl perl5.8.9.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... warning: core file may not match specified executable file. Core was generated by `perl5.8.9'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so...(no debugging symbols found)...done. [...] Reading symbols from /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/NetAddr/IP/Util/Util.so.. .done. Loaded symbols for /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/NetAddr/IP/Util/Util.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2827e3ca in malloc () from /lib/libc.so.7 [New Thread 28401140 (LWP 100114)] (gdb) bt #0 0x2827e3ca in malloc () from /lib/libc.so.7 #1 0x2827fb42 in realloc () from /lib/libc.so.7 #2 0x280fba37 in Perl_safesysrealloc () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3 0x281447e8 in Perl_savestack_grow_cnt () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #4 0x2816e02b in S_regcppush () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #5 0x28172ba1 in S_regmatch () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #6 0x281705b3 in S_regmatch () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so [...] #3634 0x281705b3 in S_regmatch () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3635 0x28173236 in S_regtry () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3636 0x28177cc8 in Perl_regexec_flags () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3637 0x28119fde in Perl_pp_match () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3638 0x28113c91 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3639 0x2810ef06 in perl_run () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #3640 0x080489b5 in main () -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Hi, I have a few email where amavisd core dumps on FreeBSD 8.0. To find out what exactly causes the problem I'd like to inject that single mail into amavisd (yes, amavis, SpamAssassin is fine). The data I have is what was created within $amavisd/tmp, so I have the email.txt and the parts directory. Thanks, Helmut -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
I have a few email where amavisd core dumps on FreeBSD 8.0. To find out what exactly causes the problem I'd like to inject that single mail into amavisd (yes, amavis, SpamAssassin is fine). The data I have is what was created within $amavisd/tmp, so I have the email.txt and the parts directory. I usually use mini_sendmail for such purposes: $ mini_sendmail -fpostmas...@example.com \ -s127.0.0.1 -p10024 yours...@example.com email.txt Thanks: [r...@ns1 ~]# /usr/local/etc/rc.d/amavisd restart Stopping amavisd. kill: 74888: No such process kill: 74892: No such process kill: 74894: No such process amavisd already running? (pid=74887 74889 74890 74891 74893 74895 74896 74897 74898 74899 74900 74902). [r...@ns1 ~]# Jan 18 15:14:50 ns1 postfix/smtpd[70042]: warning: lost connection with proxy 127.0.0.1:10024 So amavisd is really dying. What can I do to further debug the problem? I tried ktrace but that's a huge amount of data. I can reproduce the problem with mini_sendmail: # mini_sendmail -fpostmas...@domain.tld -s127.0.0.1 -p10024 postmas...@domain.tld email.txt mini_sendmail: unexpected EOF # Helmut -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
For starters, run amavisd with full debugging ($log_level = 5), or better still (to be able to capture stderr), run it without daemonizing: # amavisd debug The last logged lines before a crash will give us a general idea in which area the problem occurs. I did so before but never thought of setting max_servers to 1 which is much more useful than max_servers=25... :) [r...@ns1 ~]# amavisd debug [...] Jan 18 16:47:12.007 ns1 /usr/local/sbin/amavisd[87055]: (87055-01) SpamControl: calling spam scanner SpamAssassin Jan 18 16:47:12.008 ns1 /usr/local/sbin/amavisd[87055]: (87055-01) timer set to 800 s for SA (was 1200 s) Jan 18 16:47:12.010 ns1 /usr/local/sbin/amavisd[87055]: (87055-01) calling SA parse, SA version 3.2.5, 3.002005, data as GLOB Jan 18 16:47:12.018 ns1 /usr/local/sbin/amavisd[87055]: (87055-01) CALLING SA check Segmentation fault: 11 [r...@ns1 ~]# [r...@ns1 ~]# spamassassin -D -lint email.txt [...] [88512] dbg: rules: ran body rule __NONEMPTY_BODY == got hit: 3 [88512] dbg: rules: running uri tests; score so far=0 [88512] dbg: rules: compiled uri tests [88512] dbg: rules: ran uri rule __DOS_HAS_ANY_URI == got hit: w Segmentation fault: 11 (core dumped) [r...@ns1 ~]# Unfortunately I cannot find a core dump. Also, not sure if of interest, but if I remove the lines Content-Type: multipart/alternative; boundary==_NextPart_756_F797_9627.56376690 the email gets processed. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd cores, manually inject email
Mark Martinec wrote: I have a few email where amavisd core dumps on FreeBSD 8.0. Jan 18 16:47:12.018 ns1 /usr/local/sbin/amavisd[87055]: (87055-01) CALLING SA check Segmentation fault: 11 [r...@ns1 ~]# spamassassin -D -lint email.txt [88512] dbg: rules: ran body rule __NONEMPTY_BODY == got hit: 3 [88512] dbg: rules: running uri tests; score so far=0 [88512] dbg: rules: compiled uri tests [88512] dbg: rules: ran uri rule __DOS_HAS_ANY_URI == got hit: w Segmentation fault: 11 (core dumped) Unfortunately I cannot find a core dump. Also, not sure if of interest, but if I remove the lines Content-Type: multipart/alternative; boundary==_NextPart_756_F797_9627.56376690 the email gets processed. The perl is from ports I presume. Which version? 5.8.9 multiThreaded I'm not sure which perl bug you've hit, but there were some workarounds for perl problems incorporated in SA 3.3.0. Since you are on FreeBSD (where ports system is aware of CPAN-installed perl modules, so both can coexist), would you be willing to try with one of the 3.3.0 release candidates? E.g. Before I start, could you pleasee check your posting from 9 Sep 2009 03:53:17 +0200? Btw, it started crashing here too after upgrading p5-Convert-UUlib, easily reproducible on certain text files. $ perl -e 'use Convert::UUlib; Convert::UUlib::Initialize(); ($s,$c)=Convert::UUlib::LoadFile(p001)' Segmentation fault: 11 (core dumped) I suspect p5-URI-1.52 to cause the problem. Is it possible to invoke URI like you did with Convert::UULib? I don't know the module very well. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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] amavisd dies randomly after update of p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30, 1
From: Mark Martinec mark.martinec+ama...@ijs.si Nevertheless, sending a bug report with a sample file to the maintainer of the Convert::UUlib module is certainly a valuable gesture. I'll do so... -- 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] Amavis error : BDB no dbS
From: David Njuki nju...@gmail.com You are apparently missing DB_CONFIG file for your BDB database, or your DB_CONFIG file does not have enough lockers configured for your BDB database, and needs to be adjusted to increase them. http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_ config.html http://www.oracle.com/technology/documentation/berkeley-db/xml/gsg_xml_tx n/cxx/lockingsubsystem.html Particularly look at the very end of this section: http://wiki.zimbra.com/index.php?title=OpenLDAP_Performance_Tuning_6.0#Be rkeley_DB_DB_CONFIG_tuning for now i have set $enable_db = 0; on amavisd.conf and it is working without the errors, which file do i use to set the configs for BDB that you recomend? Just as a sidenote, I tested a few things with UUlib1.30 and over weekend on all my 3 relays amavisd died and stuck with 99% of CPU load (the perl process). At the same time postfix logged the BDB no dbS error (allthough I don't know how BDB and UUlib are related, probably only over amavisd-new). You might want to try to revert to p5-Convert-UUlib-1.12,1 and try again. This helped here[tm]. Helmut -- 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] amavisd dies randomly after update of p5-Convert-UUlib-1.12 top5-Convert-UUlib-1.30, 1
From: Marc Lehmann schm...@schmorp.de On Fri, Sep 04, 2009 at 09:26:00AM +0200, Anton Berezin to...@freebsd.org wrote: - major changes, new bugs and changes in decoding behaviour are expected (but not intended). So I am Ccing this to the module author. That's fine, but the module author cannot of course do anything without a bug report or a testcase (or even the indication that this is a problem with the module, such as a backtrace etc.). Agree yourself on whom to blame, I'll support the loser with requested information. Meanwhile I'll have a coffee. -- 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] amavisd dies randomly after update of p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30, 1
From: Mikael Bak mik...@t-online.hu Helmut Schneider wrote: after upgrading p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30,1 on FreeBSD 7.2 the smtp-proxy dies randomly but reproducable. amavisd logs: This was probably what happened to me too. See other thread (Some email messages stuck in queue). Mark's solution fixed the problem for me. Quoting him: Comment our (or delete) entries in the @decoders list which mention a 'do_ascii' I guess this is a workaround but not a solution?! Mark?! I didn't know I have to be this careful being up-to-date with ports. It has never caused any problems before. It's not ports-related, you always have to be careful when upgrading any software on any system. Bugs/incompatibilities happen. -- 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] amavisd dies randomly after update of p5-Convert-UUlib-1.12top5-Convert-UUlib-1.30, 1
From: Marc Lehmann schm...@schmorp.de On Fri, Sep 04, 2009 at 11:35:49AM +0200, Helmut Schneider jumpe...@gmx.de wrote: So I am Ccing this to the module author. That's fine, but the module author cannot of course do anything without a bug report or a testcase (or even the indication that this is a problem with the module, such as a backtrace etc.). Agree yourself on whom to blame, I'll support the loser with requested information. Meanwhile I'll have a coffee. Such an unfriendly reply was totally uncalled for - I am not responsible for your personal problems, and I have no obligations to help you or find out who or what to blame, or to win or lose. My software is provided under an as-is basis, and if you want support, at least try to be friendly and constructive. Neither I do have personal problems (to be mentioned here) nor do I rely on your help. But maybe others do, that's why I neutrally and constructively reported a problem (and a solution!) to the amavis list and cc'ed the FreeBSD maintainer. I offered to provide any information necessary. He cc'ed you. This is your answer: That's fine, but the module author cannot of course do anything without a bug report or a testcase (or even the indication that this is a problem with the module, such as a backtrace etc.). If this lacks smileys, apologies, but for me this sounds like first of all prove me wrong. Actually I don't care if the problem is related to amavisd-new, to Convert-UUlib, or to the FreeBSD environment, I intended to help others to fix it. I already fixed it myself so I personally I do not care that much about it. So again, if anyone requires more information or tests please contact me by email (by the way, this is what Anton already did). I'm no perl expert but I will do my best to deliver the requested information. Helmut -- 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/
[AMaViS-user] amavisd dies randomly after update of p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30, 1
Hi, after upgrading p5-Convert-UUlib-1.12 to p5-Convert-UUlib-1.30,1 on FreeBSD 7.2 the smtp-proxy dies randomly but reproducable. amavisd logs: Sep 4 00:05:22 mx1 amavis[72155]: (72155-02) Checking: qcsmHIjHf0fF [192.168.0.202] u...@domain - hostmas...@domain Sep 4 00:05:22 mx1 amavis[72155]: (72155-02) p001 1 Content-Type: text/plain, size: 3302 B, name: Sep 4 00:05:22 mx1 amavis[74171]: TIMING [total 13 ms] - bdb-open: 13 (99%)99, rundown: 0 (1%)100 Sep 4 00:05:22 mx1 amavis[72153]: (72153-02) Checking: sOE-0COEejVL [192.168.0.202] u...@domain - hostmas...@domain Sep 4 00:05:22 mx1 amavis[72153]: (72153-02) p001 1 Content-Type: text/plain, size: 3330 B, name: Sep 4 00:05:22 mx1 amavis[74174]: TIMING [total 14 ms] - bdb-open: 14 (99%)99, rundown: 0 (1%)100 postfix logs: Sep 4 00:05:22 mx1 postfix/smtpd[73272]: warning: lost connection with proxy 127.0.0.1:10024 Sep 4 00:05:22 mx1 postfix/smtpd[73264]: warning: lost connection with proxy 127.0.0.1:10024 [r...@mx1 ~]# pkg_info | egrep -i '(^amavis|^postfix)' amavisd-new-2.6.4_1,1 Performance-enhanced daemonized version of amavis-perl postfix-2.6.3,1 A secure alternative to widely-used Sendmail [r...@mx1 ~]# Reverting to p5-Convert-UUlib-1.12 fixes the problem. JFYI, if you require more information email me. Regards, Helmut -- 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] amavisd-new 2.6.x does not run chrooted on *BSD
Henrik K [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 08:50:15AM +0300, Tuomo Soini wrote: Mark Martinec wrote: | Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges too early. Until I have this fixed, please provide a chroot directory through a command line using option -R, e.g.: | Another problem with 2.6.0 is that it drops privileges too early and can't open pid file in /var/run. Why /var/run? By default it's $MYHOME/amavisd.pid. From securitys point of view, there is no reason to write files as root. Or to even start amavisd as root if you are not chrooting. The directory a process is chrooted to should *never* be writable by the process itself due to security reasons! I suggest changing $MYHOME/amavisd.pid to something like $MYHOME/var/run/amavisd.pid. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] amavisd-new 2.6.x does not run chrooted on *BSD
Mark Martinec [EMAIL PROTECTED] wrote: Helmut, Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges too early. Until I have this fixed, please provide a chroot directory through a command line using option -R, e.g.: # amavisd -R /var/amavis The following patch should fix the problem: --- amavisd.orig 2008-04-23 20:50:05.0 +0200 +++ amavisd 2008-05-28 14:52:51.0 +0200 @@ -12550,6 +12550,5 @@ if ($ != 0 $ != 0) {} # dropping of privs is not needed -elsif (defined $daemon_chroot_dir_override - $daemon_chroot_dir_override ne '') { +elsif (defined $daemon_chroot_dir $daemon_chroot_dir ne '') { # dropping of privs now would prevent later chroot and is to be skipped } else { # drop privileges, unless needed for chrooting It does. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] amavisd-new 2.6.x does not run chrooted on *BSD
Mark Martinec [EMAIL PROTECTED] wrote: on *BSD (at least tested with FreeBSD 6.x and 7.x and OpenBSD 4.3) amavisd-new does not run chrooted: I guess Net::Server tries to chroot as non-root (GID/UID vscan) which according to man 2 chroot is not allowed: Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges too early. Until I have this fixed, please provide a chroot directory through a command line using option -R, e.g.: # amavisd -R /var/amavis Btw, I see that the following change is needed too when running chrooted with recent versions of NetAddr::IP : --- amavisd.orig 2008-04-23 20:50:05.0 +0200 +++ amavisd 2008-05-27 19:41:48.0 +0200 @@ -20087,6 +20087,6 @@ Mail::SPF::SenderIPAddrMech Mail::SPF::v1::Record Mail::SPF::v2::Record -NetAddr::IP NetAddr::IP::Util -auto::NetAddr::IP::Util::inet_n2dx auto::NetAddr::IP::Util::ipv6_n2d)); +NetAddr::IP NetAddr::IP::Util auto::NetAddr::IP::Util::inet_n2dx + auto::NetAddr::IP::Util::ipv6_n2d auto::NetAddr::IP::Util::ipv6_n2x)); } # the 3.2.0 could support the old Mail::SPF::Query too afaics that one's fine, thanks. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] amavis with not 777 /tmp
From: Alexander Straschil [EMAIL PROTECTED] As english ist not my nativ language: What does the phras Frankly ... mean ? http://dict.leo.org/ Helmut - 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] before queue filter
From: alex handle [EMAIL PROTECTED] Does someone have experience with running amavisd-new as before-queue-filter? Yes. On top days we process 250 000 mails per day, running amavisd-new with spamassassin, clamav and amavis unpackers disabled on a two-node cluster. No way. A message takes about 20 seconds at average to scan, with lets say 20 clients at the same time you can scan about 80.000 mails a day. HTH, Helmut - 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] DCC and Razor
From: Gary V [EMAIL PROTECTED] Helmut wrote: does anyone know if it is still necessary to compile DCC and/or Razor by hand or if this is done by CPAN (if someone installs Mail::SpamAssassin::Plugin::DCC)? Mail::SpamAssassin::Plugin::DCC (for example) is not DCC. It's a block of code that calls DCC. Thanks, I thought as much but wasn't sure. - 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/
[AMaViS-user] DCC and Razor
Hi, does anyone know if it is still necessary to compile DCC and/or Razor by hand or if this is done by CPAN (if someone installs Mail::SpamAssassin::Plugin::DCC)? Thanks, Helmut - 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/
[AMaViS-user] p0f, postfix, smtp_send_xforward_command
Hi, acoording to the previous thread I set up p0f. It works fine so far. Now, I read the RELEASE_NOTES and stumbled over smtp_send_xforward_command. I tried with and without but I cannot find any difference: X-Spam-Status: No, score=-2.417 tagged_above=- required=6.3 tests=[AWL=0.183, BAYES_00=-2.599, SPF_PASS=-0.001] X-Amavis-OS-Fingerprint: Linux 2.6, seldom 2.4 (older, 4) (up: 4305 hrs), (distance 15, link: ethernet/modem), [213.165.64.20] This header is produced with and without smtp_send_xforward_command so I am curious what it is for (I know what it is for on postfix, but should I see any difference within the header produced by amavis 2.4.3)? I'm using before-queue content filtering. Thanks, Helmut - 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] p0f - how do I know it's working?
From: Mark Martinec [EMAIL PROTECTED] of spam and neither of ham). Mailer on gmx.net seems to run Linux: (59045-07) OS_fingerprint: 213.165.64.20 -2.964 Linux 2.6, seldom 2.4 (older, 4) [Cable.BG / Teleca.SE] (up: 2978 hrs), (distance 17, link: ethernet/modem) You shameless stole my header! ;)) - 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] Mails from own network gets marked as spam, how to change?
Received: from dslb-XXX-XX-XXX-XXX.pools.arcor-ip.net (EHLO server.dachsweb.home) [XXX.XX.XXX.XXX] by mail.gmx.net (mp043) with SMTP; 06 Oct 2006 10:42:08 +0200 X-Authenticated: #9200454 Received: from [192.168.99.27] (unknown [192.168.99.27]) by server.dachsweb.home (Postfix) with ESMTP id 5F1F3C480F0 for [EMAIL PROTECTED]; Fri, 6 Oct 2006 10:42:08 +0200 (CEST) ... X-Spam-Status: Yes, score=7.648 tagged_above=2 required=6.31 tests=[AWL=-4.012, BAYES_20=-0.74, HELO_DYNAMIC_DHCP=3.066, HELO_DYNAMIC_IPADDR=4.2, RCVD_IN_NJABL_DUL=1.946, RCVD_IN_SORBS_DUL=2.046, SPF_FAIL=1.142] What do I have to change? Use the relay servers of ARCOR as smarthost. Even if amavisd is configured not to use RBLs many (most) providers would reject mails from dynamic IP ranges. I do so, too. HTH, Helmut - 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] amavis not logging in maillog
Amavis doesn't log anymore in maillog since i have upgraded it (and the OS). Can someone help me? Here is my conf: Openbsd 3.9 /etc/rc.conf.local syslogd_flags=-u -a /var/spool/postfix/dev/log -a /var/amavisd/dev/log Helmut - 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] Upgrade 2.3.2 to 2.4.1, amavisd.conf
From: Mark Martinec [EMAIL PROTECTED] sorry if I missed something but is there a place where man can see what changes happend to amavisd.conf? It is always hard to diff the old customized conf file with a new one. From Gary V: Then why not download and diff the two originals? Somehow I missed the mail from Gary. :( Right, there is currently no better way to get the diff. It's just - I still use a version of amavisd.conf for 200306xx and I do not know if I merged anything from there to 2.4.1. Maybe I should create a completely new conf file. :) ___ 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] Upgrade 2.3.2 to 2.4.1, amavisd.conf
Hi, sorry if I missed something but is there a place where man can see what changes happend to amavisd.conf? It is always hard to diff the old customized conf file with a new one. Thanks, Helmut ___ 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] Connection refused
Mar 6 01:01:15 moe postfix/smtp[23205]: warning: connect #2 to subsystem private/scache: Connection refused [...] No entry for scache at your master.cf?! scacheunix - - - - 1 scache --- 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] amavis-stats-0.1.17 Released
Hi, Rewrote web interface, added templates for easier customization. Added additional statistic scanning for bad headers. SEE: http://www.daleenterprise.com/amavis-stats Is there any how-to? I succesfully installed it but I can't see the buttons on the top. Maybe there are missing some php components: Are the buttons present but no text appears??? A link to the installed software would be helpful. The problem was PHP5. I installed PHP4 and now it works exept that the per domain statistics are empty. Helmut --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ 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] Only partially logging to syslog
Hi Paul, From: Paul Jacobson [EMAIL PROTECTED] Are you running amavisd chrooted? If so you'll need to add an extra log device within the chroot directory. Phantastic. But is this new to 2.3.2? With 20030616, which I am running, too, this was not necessary. BTW, do not use -u if you don't really need it... :) Thanks a lot, Helmut --- 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/