Re: [AMaViS-user] Spam properly handled, but Subject is not Re-written
Date: Sun, 1 Feb 2009 11:24:22 -0500 From: Casey Bralla maill...@nerdworld.org Subject: [AMaViS-user] Spam properly handled, but Subject is not Re-written To: amavis-user@lists.sourceforge.net Message-ID: 200902011124.22950.maill...@nerdworld.org Content-Type: text/plain; charset=iso-8859-1 Problem Summary: Spam is properly identified and quarantined, but the Subject line is not re-written. I'd like the subject line to say SPAM! + the old subject line Your domain is listed in @local_domains_maps? Hope this helps, Wolfgang -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ 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] Forged 'X-Virus-Scanned' header bypasses Amavis-new scanning
Hi Christopher, I've still got the mystery of how his email gets in without being scored by Amavis. When I run spamassassin on it, it gets a very high score. Other spam gets filtered just fine. Somehow, this one spammer avoids it. Message larger than sa_mail_body_size_limit? HTH, Wolfgang -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - 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] howto setup amavis to deliver message when antivirus fails?
Date: Thu, 7 Feb 2008 11:37:45 +0100 (CET) From: Tomas Macek [EMAIL PROTECTED] Subject: [AMaViS-user] howto setup amavis to deliver message when antivirus fails? The problem is, that when antivirus dies for some reason, Postfix's queue is growing, because amavisd-new says to the log, that antivirus failed. Does anyone know how to setup amavis to deliver the message even if antivirus is broken? You could enable always-clean as an fallback if your scanners fail. Search for the line #['always-clean', sub {0}], in your amavisd.conf file. Hope this helps, Wolfgang Cernohorsky -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - 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] $final_bad_header_destiny = D_BOUNCE still delivered !?!
Can i inject a mail somewhere in my server with a certain bad header format? If so how? And what do i need to malform to trigger it? Hi Jan! sendmail -i [EMAIL PROTECTED] sample-badh.txt should do what you want. Look into the README file in the test-messages directory of amavisd-2.4.x. Hope this helps, Wolfgang -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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] sendmail dual and relaydelay
hi, I intend to implement the relaydelay greylisting on a sendmail dual configuration with amavisd-new. Thanks to tell me if it can run and if so where should i put the relaydelay stuff, sendmail-rx.cf or sendmai-tx.cf ? Hi! I don't know if this is possible with a sendmail dual configuration or if you need to switch to sendmail milter - or to postfix, like I did. From the logical view I would say it belongs to sendmail-rx.cf. The sendmail-tx part only sends mail out. Hope this helps, Wolfgang -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - 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] amavisd-new and oracle
A few months ago I tried to run amavisd and sql lookups against an oracle database, without success. amavisd can't connect to the oracle db on another host and failed with an ORA-06413: Connection not open. (DBD ERROR: OCIServerAttach) error. Don't know the reason for this behavior so I played a little bit with the amavisd code and found the following: When the sql connection to the oracle server is opened in the usual way, connections to the db server fail. When an initial connection to the oracle server is made (and closed immediately) very early (e.g. before Net::Server configuration) in the program, then the connections to the oracle server works and sql lookups against the oracle db on the other host is possible. So it depends when the first connection to the db server is made - in the child process or early in the master process... Wolfgang -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - 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] amavisd-new and oracle
I wrote some days ago: Hello, anyone ever tried this - and with success? :-) I want to switch from static lookups to sql lookups with amavisd-new 2.4.4 and oracle instantclient 10.2. So I read README.sql, installed the perl modules DBI and DBD::Oracle created the TABLES in oracle and changed the settings in amavisd.conf to @lookup_sql_dsn = ( ['DBI:Oracle:host=oraclehost;port=1521;sid=sid', 'user', 'pw']); Note: the specified 'user' and his 'pw' are created in the oracle db on 'oraclehost'. I can successfully connect to the oracle db on the oraclehost with an little perl script, but when I try the same witch amavisd, I only get error messages like this (at loglevel=5): Nov 29 08:41:50 susetest /usr/local/sbin/amavisd[7974]: (07974-01) lookup_sql [EMAIL PROTECTED], query args: [EMAIL PROTECTED], @domain, @.domain, @. Nov 29 08:41:50 susetest /usr/local/sbin/amavisd[7974]: (07974-01) lookup_sql select: SELECT *, users.id FROM users LEFT JOIN policy ON users.policy_id=policy.id WHERE users.email IN (?,?,?,?,?,?,?) ORDER BY users.priority DESC Nov 29 08:41:50 susetest /usr/local/sbin/amavisd[7974]: (07974-01) sql begin, nontransaction Nov 29 08:41:50 susetest /usr/local/sbin/amavisd[7974]: (07974-01) Connecting to SQL database server Nov 29 08:41:50 susetest /usr/local/sbin/amavisd[7974]: (07974-01) connect_to_sql: trying 'DBI:Oracle:oraclehost;port=1521;sid=sid' Nov 29 08:41:51 susetest /usr/local/sbin/amavisd[7974]: (07974-01) (!)connect_to_sql: unable to connect to DSN 'DBI:Oracle:host=oraclehost;port=1521;sid=sid': ORA-06413: Connection not open. (DBD ERROR: OCIServerAttach) Nov 29 08:41:51 susetest /usr/local/sbin/amavisd[7974]: (07974-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 65) line 232. Nov 29 08:41:51 susetest /usr/local/sbin/amavisd[7974]: (07974-01) (!)Requesting process rundown after fatal error Nov 29 08:41:51 susetest /usr/local/sbin/amavisd[7974]: (07974-01) Amavis::In::SMTP DESTROY called, sock=Net::Server::Proto::TCP=GLOB(0xa422f88), normal=0 What makes the difference when I run the identical line $dbh = DBI-connect($dsn, $username, $password, {PrintError = 0, RaiseError = 0, Taint = 1, AutoCommit = 1} ); in an little perl script or within amavisd? Any ideas? Regards, Wolfgang Cernohorsky -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - 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-stats - old version broke :(
Ricardo Stella wrote: Cernohorsky Wolfgang wrote: Over 1200 rrds... Stats for passed/blocked messages work fine, so it's not a problem with them. I think it's more like a problem with the number of viruses detected and/or a particular one that breaks it. A guess: you call the rrdtool in amavis-stats as command line, like I did? This seems to be the limitation. Yesterday I installed php-rrdtool as an shared library and now amavis-stats runs without errors with my +800 rrds virus files. Wolfgang -- Wolfgang Cernohorsky Email: [EMAIL PROTECTED] ZID, Abt. Kommunikation WWW: http://www.vu-wien.ac.at/ Vet.Med.Univ. WienPhone: +43-1-25077 /1602 Fax: /1690 Veterinaerplatz 1 A-1210 Vienna, Austria - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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/