[AMaViS-user] d-ot: sa tags meanings
dumb Q: where do I find meaning of various SA tags ? I managed to find some on the http://spamassassin.apache.org/tests_3_1_x.html, but, can't find reference to TVD_FW_GRAPHIC Yes, score=7.719 tag=0.5 tag2=6.31 kill=6.31 tests=[BAYES_20=-0.74, DATE_IN_FUTURE_12_24=2.767, EXTRA_MPART_TYPE=1.091, HTML_MESSAGE=0.001, TVD_FW_GRAPHIC_ID1=2.8, TVD_FW_GRAPHIC_NAME_LONG=1.8], autolearn=no, quarantine qyGa6htHzEJO -- Voytek - 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/
[AMaViS-user] Forward mail directly to an MDA
Hi! I'm new to this list, this is my first post. I'm planning to set up a personal spam filtering gateway. It should collect mail from several remote POP servers, scan them through amavis and make them available through an IMAP server. I managed to figure out how to configure every piece of software involved, there is only one step that causes a bit of trouble. In fact there is no need for any MTA in this setup. Amavis will get the mail from fetchmail using plain SMTP and should pass it to dovecot. I planned that Amavis would pass the mail on to procmail which stores it in the MailDir format for dovecot to read it. The problem is that Amavis doesn't support to relay directly to procmail or any other MDA. That would mean that I have to use an MTA for the sole purpose of relaying mail between Amavis and procmail. That's a bit of overkill IMHO. I read in the documentation that Amavis can call sendmail via the command line. Is this interface flexible enough to call procmail instead? Is anybody aware of a wrapper script? Perhaps there is also an easy way to configure postfix to act as an MDA. Did anybody have to deal with this kind of setup in the past? Best regards, Jona Joachim - 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/
[AMaViS-user] Per-domain *_quarantine_method
Hi, I think the following quarantining method is not supported right-away, but it requires policy banks: @domain1 = quarantine to SQL DB_ONE @domain2 = quarantine to SQL DB_TWO @domain3 = plus-addressing default = quarantine to file @storage_sql_dsn is used, but @lookup_sql_dsn is undefined (using LDAP instead). I browsed through the docs and *_quarantine_method are scalar, while *_quarantine_to_maps do not allow so much flexibility. So, do I need to dig into policy banks? TIA, Paolo - 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] d-ot: sa tags meanings
On Tue, Nov 14, 2006 at 10:11:29PM +1100, Voytek Eymont wrote: dumb Q: where do I find meaning of various SA tags ? I managed to find some on the http://spamassassin.apache.org/tests_3_1_x.html, but, can't find reference to TVD_FW_GRAPHIC That comes from sa-update updates, I don't think all have reference. Find the updates from /var/lib/spamassassin where they normally go. If you can't understand what the rules do, then you are out of luck probably.. Cheers, Henrik - 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] d-ot: sa tags meanings
On Tue, November 14, 2006 11:05 pm, Henrik Krohns wrote: On Tue, Nov 14, 2006 at 10:11:29PM +1100, Voytek Eymont wrote: That comes from sa-update updates, I don't think all have reference. Find the updates from /var/lib/spamassassin where they normally go. If you can't understand what the rules do, then you are out of luck probably.. Henrik, many thanks, found it I guess I'm out of luck... -- Voytek - 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] amavis ignores spamassassin config file
Thanks to all for your answers. Peter: you will always have to restart amavisd before it reads in any rules. yes, i do this with the following alias alias sendmail-start-all=(/usr/sbin/sendmail -C/etc/mail/sendmail-rx.cf -L sm-mta-rx -bd -qp /usr/sbin/sendmail -L sm-mta-tx -bd -q15m /usr/local/sbin/amavisd start) I have a very similar setup and it works well for me. However I did not symlink the files, but copied them to /var/amavis/.spamassassin/user_prefs Not working too Daniel: SpamAssassin 3.0.6 (2005-12-07) That's really old... Lots of new features in 3.1.x, not the least is which is sa-update (new rules provided periodically). That's the version shipped with RHEL4 :( , I retrieved the last rpm version from http://dag.wieers.com but cannot install it (conflicts). Jakob: You can check what rules spamassassin loads using spamassassin --debug --lint . Take care that you run this command as users amavis(or vscan) an nor as root, i.e. do a su - amavis There's a nologin in the /etc/passwd for the amavis' shell # su - amavis # id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),5(tty),6(disk),10(wheel),48(apache),1002(yawtb),1502(spamm) I change it to bash, su - amavis (now it's ok) and there is no errors reported by spamassassin --lint -D. Rules seem to be loaded, for example: debug: config: read file /usr/share/spamassassin/70_sare_stocks.cf debug: using /etc/mail/spamassassin for site rules dir Mark: # amavisd debug-sa Argument 1,all isn't numeric in numeric gt () at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm line 245. debug: SpamAssassin version 3.0.6 ... debug: config: read file /usr/share/spamassassin/70_sare_stocks.cf ... debug: using /etc/mail/spamassassin for site rules dir debug: config: read file /etc/mail/spamassassin/local.cf debug: using /var/lib/amavis/.spamassassin/user_prefs for user prefs file debug: config: read file /var/lib/amavis/.spamassassin/user_prefs ... OK, finally I get it working by changing my alias to alias sendmail-start-all='(/usr/sbin/sendmail -C/etc/mail/sendmail-rx.cf -L sm-mta-rx -bd -qp /usr/sbin/sendmail -L sm-mta-tx -bd -q15m (/usr/local/sbin/amavisd start | /usr/local/sbin/amavisd reload)) that correclty (re)starts amavis All is fine now; sorry, Vincent On 11/13/06, Gary V [EMAIL PROTECTED] wrote: Jakob wrote: I've modified the /etc/mail/spamassassin/local.cf to include new rules (SARE from rulesemporium) and new scores for the Bayes test. Although these rules are used by the spamd daemon launched from procmail rules, they are not used by amavis. It causes the following problem: You can check what rules spamassassin loads using spamassassin --debug --lint . Take care that you run this command as users amavis(or vscan) an nor as root, i.e. do a su - amavis before. Then you will see what files it tries to read. Exactly the same stuff will be read when amavis uses spamassassin. Hope this helps, JC I have seen occasionally where this could give wrong result for site rules dir. Stop amavisd and run it in debug-sa mode, look for [11992] dbg: config: using /etc/spamassassin for site rules dir or [11997] dbg: config: read file /etc/spamassassin/local.cf This will tell you what amavisd is using. Gary V - 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/ - 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] d-ot: sa tags meanings
On Tue, Nov 14, 2006 at 11:17:19PM +1100, Voytek Eymont wrote: On Tue, November 14, 2006 11:05 pm, Henrik Krohns wrote: On Tue, Nov 14, 2006 at 10:11:29PM +1100, Voytek Eymont wrote: That comes from sa-update updates, I don't think all have reference. Find the updates from /var/lib/spamassassin where they normally go. If you can't understand what the rules do, then you are out of luck probably.. Henrik, many thanks, found it I guess I'm out of luck... They are not that complicated though.. If you grep TVD, you can find that they check mime headers for specific 'Content-Id' etc. See some tutorial for regular expressions. :) Cheers, Henrik - 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] Adding SA score to headers
Mark Richards wrote: Perhaps the first step is to get the spam score into the subject line, but I don't know where to begin looking for the most practical method of doing so. I'm sorry, I misunderstood your desire for placing the score in a new header, and didn't understand this to mean into the Subject header. In this case, search the archives for : writing score into header MrC - 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] Bad file descriptor errors with AMaVIS under
I downgraded both file and libmagic1 and had the same problem. However, thanks to your subsequent email, I did get a lot better data from amavisd. Unfortunately, the file is too large to attach to this email. Therefore, I am posting the file to my website, http://www.tux.org/~storm/files/amavisd.log. I hope someone will be able to see what the cause of this problem is. BTW, Gary, did your Zimbra installation have the same problem with amavis? At this point, unless someone sees something in the logs I'm providing that may give a clue about the problem, I think my options may be to try to reinstall, rebuild the server with sarge or try a forced upgrade. Thanks for bearing with me, all... --b - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ ___ 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] Bad file descriptor errors with AMaVIS under
Bradley wrote: I downgraded both file and libmagic1 and had the same problem. However, thanks to your subsequent email, I did get a lot better data from amavisd. Unfortunately, the file is too large to attach to this email. Therefore, I am posting the file to my website, http://www.tux.org/~storm/files/amavisd.log. I hope someone will be able to see what the cause of this problem is. BTW, Gary, did your Zimbra installation have the same problem with amavis? At this point, unless someone sees something in the logs I'm providing that may give a clue about the problem, I think my options may be to try to reinstall, rebuild the server with sarge or try a forced upgrade. Thanks for bearing with me, all... --b I used sarge, and this did not happen. This is a test system so I think I'll do a dist-upgrade to etch, and install a newer kernel. Gary V - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ ___ 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] Bad file descriptor errors with AMaVIS under
My box is running sid with a stock 2.6.16-2-686-smp kernel...And with libmagic1 and file backed off to sarge. --b - Original Message - From: Gary V [EMAIL PROTECTED] To: amavis-user@lists.sourceforge.net Sent: Tuesday, November 14, 2006 12:23:31 PM GMT-0500 US/Eastern Subject: Re: [AMaViS-user] Bad file descriptor errors with AMaVIS under Bradley wrote: I downgraded both file and libmagic1 and had the same problem. However, thanks to your subsequent email, I did get a lot better data from amavisd. Unfortunately, the file is too large to attach to this email. Therefore, I am posting the file to my website, http://www.tux.org/~storm/files/amavisd.log. I hope someone will be able to see what the cause of this problem is. BTW, Gary, did your Zimbra installation have the same problem with amavis? At this point, unless someone sees something in the logs I'm providing that may give a clue about the problem, I think my options may be to try to reinstall, rebuild the server with sarge or try a forced upgrade. Thanks for bearing with me, all... --b I used sarge, and this did not happen. This is a test system so I think I'll do a dist-upgrade to etch, and install a newer kernel. Gary V - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ ___ 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] Bad file descriptor errors with AMaVIS under
Bradley, I downgraded both file and libmagic1 and had the same problem. However, thanks to your subsequent email, I did get a lot better data from amavisd. http://www.tux.org/~storm/files/amavisd.log Thanks, that is more helpful. It sounds like a known PerlIO bug: http://rt.perl.org/rt3/Ticket/Display.html?id=39060 Could it be that your file(1) utility forgets to terminate the last line of its output by a newline? Would you please apply the following change to your 2.4.1, which will make the debug log to show whether a line read from file(1) did have a trailing \n or not: --- amavisd.origMon Jun 19 15:51:00 2006 +++ amavisd Tue Nov 14 18:41:56 2006 @@ -15177,6 +15177,6 @@ my($index)=0; my($ln); for ($! = 0; defined($ln=$proc_fh-getline); $! = 0) { - chomp($ln); do_log(5, result line from file(1): %s, $ln); + chomp($ln); if ($index $#file_list) { do_log(-1, NOTICE: Skipping extra output from file(1): %s, $ln); and repeat your experiment. I'm only interested in (all) debug lines containing text (without quotes): result line from file(1): Mark - SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ ___ 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] Bad file descriptor errors with AMaVIS under
Thanks Mark, Here is the information: Nov 14 15:10:27 merrimac amavis[28922]: (28922-01) result line from file(1): p001: ASCII English text\n Nov 14 15:10:27 merrimac amavis[28922]: (28922-01) result line from file(1): p002: ASCII English text, with very long lines \n Nov 14 15:13:34 merrimac amavis[28923]: (28923-01) result line from file(1): p001: ASCII English text\n Nov 14 15:22:50 merrimac amavis[28922]: (28922-02) result line from file(1): p001: HTML document text\n Nov 14 15:22:50 merrimac amavis[28922]: (28922-02) result line from file(1): p002: GIF image data, version 89a, 557 x 442\n Nov 14 15:24:57 merrimac amavis[28923]: (28923-02) result line from file(1): p001: ASCII English text\n Nov 14 15:26:54 merrimac amavis[28922]: (28922-03) result line from file(1): p001: ASCII English text\n Nov 14 15:31:11 merrimac amavis[28924]: (28924-01) result line from file(1): p001: ASCII English text\n Nov 14 15:33:35 merrimac amavis[28922]: (28922-04) result line from file(1): p001: ASCII English text\n Nov 14 15:33:35 merrimac amavis[28922]: (28922-04) result line from file(1): p002: HTML document text\n Nov 14 15:33:35 merrimac amavis[28922]: (28922-04) result line from file(1): p003: JPEG image data, JFIF standard 1.02\n Nov 14 15:33:35 merrimac amavis[28922]: (28922-04) result line from file(1): p004: GIF image data, version 89a, 490 x 130\n Nov 14 15:38:27 merrimac amavis[28924]: (28924-02) result line from file(1): p001: ASCII English text\n Nov 14 15:38:27 merrimac amavis[28926]: (28926-01) result line from file(1): p001: ASCII English text\n Nov 14 15:38:27 merrimac amavis[28926]: (28926-01) result line from file(1): p002: ASCII English text, with very long lines \n Nov 14 15:38:28 merrimac amavis[28927]: (28927-01) result line from file(1): p001: ASCII English text\n Nov 14 15:38:28 merrimac amavis[28922]: (28922-05) result line from file(1): p001: ASCII English text\n Nov 14 15:38:28 merrimac amavis[28926]: (28926-02) result line from file(1): p001: ASCII English text\n Nov 14 15:38:28 merrimac amavis[28924]: (28924-03) result line from file(1): p001: ASCII English text\n Nov 14 15:38:28 merrimac amavis[28924]: (28924-03) result line from file(1): p002: HTML document text\n Nov 14 15:38:28 merrimac amavis[28924]: (28924-03) result line from file(1): p003: JPEG image data, JFIF standard 1.02\n Nov 14 15:38:28 merrimac amavis[28924]: (28924-03) result line from file(1): p004: GIF image data, version 89a, 490 x 130\n Nov 14 15:38:28 merrimac amavis[28923]: (28923-03) result line from file(1): p001: HTML document text\n Nov 14 15:38:28 merrimac amavis[28923]: (28923-03) result line from file(1): p002: GIF image data, version 89a, 557 x 442\n - Original Message - From: Mark Martinec [EMAIL PROTECTED] To: amavis-user@lists.sourceforge.net Sent: Tuesday, November 14, 2006 12:46:27 PM GMT-0500 US/Eastern Subject: Re: [AMaViS-user] Bad file descriptor errors with AMaVIS under Bradley, I downgraded both file and libmagic1 and had the same problem. However, thanks to your subsequent email, I did get a lot better data from amavisd. http://www.tux.org/~storm/files/amavisd.log Thanks, that is more helpful. It sounds like a known PerlIO bug: http://rt.perl.org/rt3/Ticket/Display.html?id=39060 Could it be that your file(1) utility forgets to terminate the last line of its output by a newline? Would you please apply the following change to your 2.4.1, which will make the debug log to show whether a line read from file(1) did have a trailing \n or not: --- amavisd.origMon Jun 19 15:51:00 2006 +++ amavisd Tue Nov 14 18:41:56 2006 @@ -15177,6 +15177,6 @@ my($index)=0; my($ln); for ($! = 0; defined($ln=$proc_fh-getline); $! = 0) { - chomp($ln); do_log(5, result line from file(1): %s, $ln); + chomp($ln); if ($index $#file_list) { do_log(-1, NOTICE: Skipping extra output from file(1): %s, $ln); and repeat your experiment. I'm only interested in (all) debug lines containing text (without quotes): result line from file(1): Mark - 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 ignores spamassassin config file
Hi Vincent, On Tue, Nov 14, 2006 at 05:04:27PM +0100, Vincent Boucher told us: Daniel: SpamAssassin 3.0.6 (2005-12-07) That's really old... Lots of new features in 3.1.x, not the least is which is sa-update (new rules provided periodically). That's the version shipped with RHEL4 :( , I retrieved the last rpm version from http://dag.wieers.com but cannot install it (conflicts). I've recently gone through a mail server installation based on RHEL4, too, and I actually deleted the original spamassassin rpm from the system (rpm -ev spamassassin), and then installed the current spamassassin version from the source (as I did with most other prerequisites for spamassassin). My position is that when it comes down to filtering spam, I favor an up to date spam filter with recent features over base system packages which just might get automatic security fixes if any... just my two euro cents :-) Kind regards, Sven -- Linux zion.homelinux.com 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 13:56:52 EST 2006 i686 athlon i386 GNU/Linux 22:25:49 up 2 days, 1:40, 1 user, load average: 0.14, 0.07, 0.09 - 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] Forward mail directly to an MDA
Jona wrote: Hi! I'm new to this list, this is my first post. I'm planning to set up a personal spam filtering gateway. It should collect mail from several remote POP servers, scan them through amavis and make them available through an IMAP server. I managed to figure out how to configure every piece of software involved, there is only one step that causes a bit of trouble. In fact there is no need for any MTA in this setup. Amavis will get the mail from fetchmail using plain SMTP and should pass it to dovecot. I planned that Amavis would pass the mail on to procmail which stores it in the MailDir format for dovecot to read it. The problem is that Amavis doesn't support to relay directly to procmail or any other MDA. That would mean that I have to use an MTA for the sole purpose of relaying mail between Amavis and procmail. That's a bit of overkill IMHO. I read in the documentation that Amavis can call sendmail via the command line. Is this interface flexible enough to call procmail instead? Is anybody aware of a wrapper script? Perhaps there is also an easy way to configure postfix to act as an MDA. Did anybody have to deal with this kind of setup in the past? Best regards, Jona Joachim I might do it like so, which I think might be a typical suggestion: fetchmail- postfix- amavisd-new- postfix- maildir I would think a very basic postfix setup with something like this might work (send mail to [EMAIL PROTECTED] or [EMAIL PROTECTED]): alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases home_mailbox = Maildir/ mydestination = host.example.com, localhost myhostname = host.example.com mynetworks = 127.0.0.0/8 192.168.0.0/16 myorigin = example.com relayhost = [host.myisp.com] content_filter = smtp-amavis[127.0.0.1]:10024 http://www.postfix.org/faq.html#maildir http://www.postfix.org/BASIC_CONFIGURATION_README.html http://www.postfix.org/STANDARD_CONFIGURATION_README.html#local_network http://www.ijs.si/software/amavisd/README.postfix.txt I don't have suggestions on procmail. The configuration above will require some tweaking. Gary V - 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] adding a subscript signature
Hi I want to add a postscript signature (something like: This email was checked by Amavisd-new) to every email we process. Is there a standard hook/feature for this ? regards gmax - 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] Bad file descriptor errors with AMaVIS under
Here is the information: Nov 14 15:10:27 merrimac amavis[28922]: (28922-01) result line from file(1): p001: ASCII English text\n Nov 14 15:10:27 merrimac amavis[28922]: (28922-01) result line from file(1): p002: ASCII English text, with very long lines \n Nov 14 15:13:34 merrimac amavis[28923]: (28923-01) result line from file(1): p001: ASCII English text\n Nov 14 15:22:50 merrimac amavis[28922]: (28922-02) result line from file(1): p001: HTML document text\n Nov 14 15:22:50 merrimac amavis[28922]: (28922-02) result line from file(1): p002: GIF image data, version 89a, 557 x 442\n ... Thanks, looks normal, seems like all of these lines have a terminating \n. Should I assume that all these sequences terminated in a Bad file descriptor error? Mark - 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/