Re: [AMaViS-user] Fwd: Re: SpamAssassin Plugins
On 8/29/2009 10:17 PM, Mike Cappella wrote: On 8/29/09 9:57 PM, Jeff Grossman wrote: On 8/29/2009 8:17 PM, Mike Cappella wrote: On 8/29/09 10:34 AM, Jeff Grossman wrote: How do I figure out where/how spamassassin is loading modules? According to my amavis logwatch report the following plugins are being loaded. But, I know for a fact that the AWL plugin is disabled in the v310.pre file in /etc/spamassassin. This is on a Debian testing system. I did a grep of AWL in the /etc/spamassassin directory and the only item that came up was the commented out line. I then did a grep of AWL in the /etc/amavis/conf.d directory and it came up empty. FYI: It all comes from this amavis log line (ymmv): Aug 29 16:02:20 glacier amavis[14742]: SpamAssassin loaded plugins: AWL, AutoLearnThreshold, Bayes, BodyEval, Check, DCC, DKIM, DNSEval, HTMLEval, HTTPSMismatch, Hashcash, HeaderEval, ImageInfo, MIMEEval, MIMEHeader, Pyzor, Razor2, RelayEval, ReplaceTags, SPF, SpamCop, URIDNSBL, URIDetail, URIEval, The problem is that line doesn't tell you how the module was loaded. In my case it was a .pre file located in /usr/share/spamassassin that was causing my problems. During my initial troubleshooting I was only looking in /etc/spamassassin and /etc/amavis/conf.d which is where I thought all configuration files were located. Understood; it was just an FYI clarifying where the data comes from, and that amavis-logwatch is only reporting what it is reads. And amavis doesn't likely know in which file the directive resides. You can use a command such as this: # use sudo or su, as per your preference # change the -u user to suit your config $ sudo -H -u amavis spamassassin -t -Dall some-test-file 21 | egrep 'AWL|config: read file' to give you a list of .cf files to grep, and verify the loading of AWL (or any plugin for that matter). -- Mike Thank you for that. That line would have saved me a little bit of time because it would have told me exactly where my problem was. I used a similar line by somebody else on the list and was able to figure it out by going to the lint output. Thanks again for everybody's help on this. I was able to figure it out and it was a conf file that I didn't even know existed. Jeff -- 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] SpamAssassin Plugins
How do I figure out where/how spamassassin is loading modules? According to my amavis logwatch report the following plugins are being loaded. But, I know for a fact that the AWL plugin is disabled in the v310.pre file in /etc/spamassassin. This is on a Debian testing system. I did a grep of AWL in the /etc/spamassassin directory and the only item that came up was the commented out line. I then did a grep of AWL in the /etc/amavis/conf.d directory and it came up empty. SpamAssassin plugins Loaded AWL AutoLearnThreshold Bayes BodyEval Check DKIM DNSEval HTMLEval HTTPSMismatch Hashcash HeaderEval ImageInfo MIMEEval MIMEHeader Pyzor Razor2 RelayCountry RelayEval ReplaceTags SPF SpamCop URIDNSBL URIDetail URIEval VBounce WLBLEval WhiteListSubject iXhash Thanks for any help you can offer me. Jeff -- 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] SpamAssassin Plugins
On 8/29/2009 1:56 PM, Benny Pedersen wrote: On Sat 29 Aug 2009 07:34:41 PM CEST, Jeff Grossman wrote How do I figure out where/how spamassassin is loading modules? spamassassin 21 -D --lint | less Thank you. I think I figured it out. Jeff -- 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] SpamAssassin Plugins
On 8/29/2009 5:42 PM, Sahil Tandon wrote: On Sat, 29 Aug 2009, Jeff Grossman wrote: On 8/29/2009 1:56 PM, Benny Pedersen wrote: On Sat 29 Aug 2009 07:34:41 PM CEST, Jeff Grossman wrote How do I figure out where/how spamassassin is loading modules? spamassassin 21 -D --lint | less Thank you. I think I figured it out. Share your findings for posterity. I have a few guesses about your situation but would like to hear it from you. Thanks. I tried Spamassassin signatures from openprotect.com last week and it installed a .pre file which I guess loaded up all of the Spamassassin plugins. Once I removed that, it is no longer loading the plugins that I don't want. Jeff -- 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] Fwd: Re: SpamAssassin Plugins
On 8/29/2009 8:17 PM, Mike Cappella wrote: On 8/29/09 10:34 AM, Jeff Grossman wrote: How do I figure out where/how spamassassin is loading modules? According to my amavis logwatch report the following plugins are being loaded. But, I know for a fact that the AWL plugin is disabled in the v310.pre file in /etc/spamassassin. This is on a Debian testing system. I did a grep of AWL in the /etc/spamassassin directory and the only item that came up was the commented out line. I then did a grep of AWL in the /etc/amavis/conf.d directory and it came up empty. FYI: It all comes from this amavis log line (ymmv): Aug 29 16:02:20 glacier amavis[14742]: SpamAssassin loaded plugins: AWL, AutoLearnThreshold, Bayes, BodyEval, Check, DCC, DKIM, DNSEval, HTMLEval, HTTPSMismatch, Hashcash, HeaderEval, ImageInfo, MIMEEval, MIMEHeader, Pyzor, Razor2, RelayEval, ReplaceTags, SPF, SpamCop, URIDNSBL, URIDetail, URIEval, The problem is that line doesn't tell you how the module was loaded. In my case it was a .pre file located in /usr/share/spamassassin that was causing my problems. During my initial troubleshooting I was only looking in /etc/spamassassin and /etc/amavis/conf.d which is where I thought all configuration files were located. Sorry, I meant to send this to the list. -- 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] Configuration Question
On Mon, 10 Aug 2009 15:26:07 +0200, Mark Martinec mark.martinec+ama...@ijs.si wrote: Jeff, 1 Open relay? Nonlocal recips but not originating: recip1 The mail passed to amavisd-new doesn't have it's originating flag I never responded to this e-mail, but wanted to say thank you. Everything that you said in this message worked perfectly and I am no longer getting the error message in my log files. Apart from setting the originating flag, the other half of your problem is/was that recipient 'recip1' was not a fully-qualified domain name, so it probably doesn't match your @local_domains_maps, unless you specified your individual recipient names there. You should configure your MTA to always append a domain name on recipient (and sender) addresses on mail submission if domain name is missing, or just reject such non-FQDN addresses (depending on site policy and practices). Mark Actually I removed the e-mail addresses and put the recip1 in myself. The actual e-mail message is a fully-qualified domain name. So, the only problem I had was the originating flag getting set. Once I did that everything worked as I expected. I no longer get the Are you an open relay in the postfix logwatch program. Thanks again for your help. Jeff -- 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] Configuration Question
MrC lists-ama...@cappella.us wrote: Jeff, On 7/27/2009 1:32 PM, Jeff Grossman wrote: I am running Postfix 2.6.2 and Amavis 2.6.4 together. Everything is running smoothly except for one problem. When a user connects remotely and sends a message, I get the following line in my amavis-logwatch output: 1 *Warning: Security risk - 1 Open relay? Nonlocal recips but not originating: recip1 I have asked about this on the Logwatcher mailing list, but I was told it was an Amavis configuration problem. What setting do I either have incorrect or not have at all to remove this error from the amavis-logwatch output? I saw your post, but had believed it was answered to your satisfaction, so didn't contribute anything. Here's the basic idea, as others have mentioned. You want something similar to the submission service listed below in postfix's master.cf file (note the content_filter setting and port number of 10026): master.cf: submission inet n - n - - smtpd -o content_filter=lmtp-amavis:[127.0.0.1]:10026 -o smtpd_tls_security_level=encrypt -o smtpd_tls_auth_only=yes -o smtpd_sasl_auth_enable=yes -o broken_sasl_auth_clients=yes -o receive_override_options=no_header_body_checks,no_address_mappings -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject Now, in amavis's configuration file amavisd.conf, you'd want a matching policy bank entry with listener (note the additional 10026 listening port in $inet_socket_port): amavsid.conf: # listen on multiple TCP ports $inet_socket_port = [10024,10026]; $interface_policy{'10026'} = 'ORIGINATING'; # mail supposedly originating from our users $policy_bank{'ORIGINATING'} = { # declare that mail was submitted by our smtp client originating = 1, # enables disclaimer insertion if available # allow_disclaimers = 1, # avoids loading MYNETS policy unnecessarily mynetworks_maps = [], # don't spam scan bypass_spam_checks_maps = [1], # allow sending any file names and types bypass_banned_checks_maps = [1], # don't check headers bypass_header_checks_maps = [1], # notify administrator of locally originating malware virus_admin_maps = [virusale...@$mydomain], spam_admin_maps = [virusale...@$mydomain], warnbadhsender = 1, # don't remove NOTIFY=SUCCESS option terminate_dsn_on_notify_success = 0, # don't query p0f os_fingerprint_method = undef, }; With these settings, the mail submitted by your users will traverse one route while your general service takes the existing route. The 'originating' flag will be set, and amavis will consider mail from your local users as local mail. Tailor to suit your needs. See also: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex Mike I never responded to this e-mail, but wanted to say thank you. Everything that you said in this message worked perfectly and I am no longer getting the error message in my log files. Jeff -- 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] Configuration Question
I am running Postfix 2.6.2 and Amavis 2.6.4 together. Everything is running smoothly except for one problem. When a user connects remotely and sends a message, I get the following line in my amavis-logwatch output: 1 *Warning: Security risk - 1 Open relay? Nonlocal recips but not originating: recip1 I have asked about this on the Logwatcher mailing list, but I was told it was an Amavis configuration problem. What setting do I either have incorrect or not have at all to remove this error from the amavis-logwatch output? Here is a copy of the maillog output for that particular mail transaction: Jul 26 20:28:26 apple postfix/smtpd[1714]: connect from 97-93-130-39.static.rvsd.ca.charter.com[97.93.130.39] Jul 26 20:28:26 apple postfix/smtpd[1714]: setting up TLS connection from 97-93-130-39.static.rvsd.ca.charter.com[97.93.130.39] Jul 26 20:28:26 apple postfix/smtpd[1714]: Anonymous TLS connection established from 97-93-130-39.static.rvsd.ca.charter.com[97.93.130.39]: TLSv1 with cipher AES128-SHA (128/128 bits) Jul 26 20:28:27 apple postfix/smtpd[1714]: 29BAD7B8BAF: client=97-93-130-39.static.rvsd.ca.charter.com[97.93.130.39], sasl_method=LOGIN, sasl_username=user1 Jul 26 20:28:27 apple postfix/cleanup[1716]: 29BAD7B8BAF: message-id=99a382810315437caf6524a87fbda...@laptop Jul 26 20:28:27 apple postfix/qmgr[3137]: 29BAD7B8BAF: from=user1, size=2206, nrcpt=1 (queue active) Jul 26 20:28:27 apple postfix/smtpd[1714]: disconnect from 97-93-130-39.static.rvsd.ca.charter.com[97.93.130.39] Jul 26 20:28:31 apple postfix/smtpd[1745]: connect from localhost[127.0.0.1] Jul 26 20:28:31 apple postfix/smtpd[1745]: A6F547B8BB4: client=localhost[127.0.0.1] Jul 26 20:28:31 apple postfix/cleanup[1716]: A6F547B8BB4: message-id=99a382810315437caf6524a87fbda...@laptop Jul 26 20:28:31 apple postfix/qmgr[3137]: A6F547B8BB4: from=user1, size=2649, nrcpt=1 (queue active) Jul 26 20:28:31 apple postfix/smtpd[1745]: disconnect from localhost[127.0.0.1] Jul 26 20:28:31 apple amavis[24906]: (24906-19) Passed CLEAN, [97.93.130.39] [97.93.130.39] user1 - recip1, Message-ID: 99a382810315437caf6524a87fbda...@laptop, mail_id: G3LEr078iFTC, Hits: -4.898, size: 2206, queued_as: A6F547B8BB4, 4365 ms Jul 26 20:28:31 apple postfix/smtp[1717]: 29BAD7B8BAF: to=recip1, relay=127.0.0.1[127.0.0.1]:10024, delay=4.6, delays=0.22/0.01/0/4.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=24906-19, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A6F547B8BB4) Jul 26 20:28:31 apple postfix/qmgr[3137]: 29BAD7B8BAF: removed Jul 26 20:28:34 apple postfix/smtp[1746]: A6F547B8BB4: to=recip1, relay=sbcmx4.prodigy.net[207.115.20.23]:25, delay=2.5, delays=0.01/0.01/1.3/1.2, dsn=2.0.0, status=sent (250 2.0.0 n6R3SWAF017611 Message accepted for delivery) Thanks for any help you can offer me. Jeff -- ___ 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] Changes to local.cf
If I make changes to SpamAssassin's local.cf file, do I need to restart Amavis or does Amavis load the local.cf file during each mail delivery? Thanks, Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Changes to local.cf
On 4/26/2009 8:05 AM, Bill Landry wrote: Jeff Grossman wrote: If I make changes to SpamAssassin's local.cf file, do I need to restart Amavis or does Amavis load the local.cf file during each mail delivery? You need to reload amavisd, as it only reads local.cf on startup. Bill That is what I figured, but I wanted to double check. Thanks for the info. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] X-Spam- headers on ham
On 4/25/2009 2:14 PM, Frans de Boer wrote: Dear Reader, I try to get a X-Spam-Status line on all the e-mail I receive - as a test - but I only get this special header when SpamAssassin has reported that it was Spam. Is this a behaviour of SA or is there a switch in amavis-new (2.6.3) which I need to set? KR, Frans. I use the following config option so the headers are added to each e-mail no matter what the spamassassin score is. $sa_tag_level_deflt = undef; Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] X-Spam- headers on ham-2
On 4/25/2009 3:46 PM, Frans de Boer wrote: Sorry: it's a copy, I don't want to have a google account to reply directly on the list. --- Dear Reader, I try to get a X-Spam-Status line on all the e-mail I receive - as a test - but I only get this special header when SpamAssassin has reported that it was Spam. Is this a behaviour of SA or is there a switch in amavis-new (2.6.3) which I need to set? KR, Frans. = I use the following config option so the headers are added to each e-mail no matter what the spamassassin score is. $sa_tag_level_deflt = undef; Jeff - Well, I tried before and now again, but that is not working. I have specified in local.cf several headers, with either spam, ham or all, but only when spam is found, will that work. That setting goes in amavis.conf not in local.cf. It is an Amavis setting not a Spamassassin setting. Amavis does not allow Spamassassin to modify the headers or the message at all. All modifications are done through Amavis. Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Debian Package
On 4/23/2009 9:48 PM, Thomas Mueller wrote: hi jeff I am running Amavisd-new 2.6.2 from the Debian testing system. Not sure when they will get the new 2.6.3 version setup. I noticed that Thomas Mueller has the newer 2.6.3 setup in a deb form on his website at http://chaschperli.ch/debian/lenny/. I was wondering if anybody had a preference for which version to use? Debian's or Thomas's. Can I just install Thomas's version over the top of the Debian one, or do I need to uninstall the Debian one first? original intent of the amavisd-new in chaschperli.ch repo was to provide one patched with crm114. but this patch is now integrated upstream. for the 2.6.3 from chaschperli.ch i took the debian package forward- ported it to 2.6.3 (not much changed). version number is backports.org style. so if debian testing comes with the new version the official debian package will take over again. so you should be able to safely install my version and then go on with the official debian version - at least for me this is working on 3 machines with lenny. - Thomas Great. Thanks for the information. I will give it a go either later today or tomorrow. Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Debian Package
On 4/23/2009 10:13 PM, Alexander Wirt wrote: Jeff Grossman schrieb am Thursday, den 23. April 2009: I am running Amavisd-new 2.6.2 from the Debian testing system. Not sure when they will get the new 2.6.3 version setup. I noticed that Thomas Mueller has the newer 2.6.3 setup in a deb form on his website at http://chaschperli.ch/debian/lenny/. I was wondering if anybody had a preference for which version to use? Debian's or Thomas's. Can I just install Thomas's version over the top of the Debian one, or do I need to uninstall the Debian one first? I plan an update to 2.6.3 today or tomorrow, so a little bit more patience would help :). Alex - debian maintainer of amavisd-new Thanks for the update. But patience is hard for me. I will work on that. -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Debian Package
I am running Amavisd-new 2.6.2 from the Debian testing system. Not sure when they will get the new 2.6.3 version setup. I noticed that Thomas Mueller has the newer 2.6.3 setup in a deb form on his website at http://chaschperli.ch/debian/lenny/. I was wondering if anybody had a preference for which version to use? Debian's or Thomas's. Can I just install Thomas's version over the top of the Debian one, or do I need to uninstall the Debian one first? Thanks for any guidance you can give me. Jeff -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ 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] Web Front-Ends
troxlinux wrote: that version of amavisd-new you have in production and of MailZu?, I am having problems to mount that scenario... regardss 2009/4/15 Jeff Grossman j...@stikman.com: I installed Postvis and Mailzu today to see how they work. I was wondering if anybody had an opinion about either of these two programs or what they use for a web front-end to Amavis. I have version 2.6.2 of Amavis and version 0.8RC3 of MailZu. Jeff -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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] Spamassassin Scores
Mark Martinec wrote: Jeff, I have just started using Amavis and have a question regarding an discrepancy between the Spamassassin header in a spam message and the Spamassassin report included in the spam notification. Here is the report in the spam notification: Content analysis details: (22.0 points, 5.0 required) And, here is the report in the header of the quarantined message: X-Spam-Status: Yes, score=21.973 tag=- tag2=8 kill=10 tests=[AV:Sanesecurity.Junk.8084.UNOFFICIAL=0, AV_SS=7.5, BAYES_99=7, FORGED_MUA_OUTLOOK=3.116, FORGED_OUTLOOK_HTML=0.001, FORGED_OUTLOOK_TAGS=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, MSOE_MID_WRONG_CASE=0.82, SUBJ_ALL_CAPS=2.077] autolearn=spam How come the required value is only 5 in the spam notification while in the config files and the header it shows as 8? As Daniel Luttermann explained, the '5.0 required' in the notification comes from 'required_hits' in local.cf, the whole text section is produced by SpamAssassin and not edited by amavisd - just inserted as-is. The tag2 and kill levels are what really controls the amavisd behaviour, the 'required_hits' in local.cf is never used, only spam score value is taken from SA. The discrepancy is purely a cosmetic issue. The '5.0 required' in text should be ignored, it has no effect. If it bothers you, the best approach is to set 'required_hits' to the same value as tag2_level. Mark Okay, that makes sense. Thank you for the answer. Jeff -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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] Spamassassin Scores
Daniel Luttermann wrote: Jeff Grossman wrote on 15.04.2009: I have just started using Amavis and have a question regarding an discrepancy between the Spamassassin header in a spam message and the Spamassassin report included in the spam notification. Here is the report in the spam notification: Content analysis details: (22.0 points, 5.0 required) Looks like the default spamassassin settings from local.cf. And, here is the report in the header of the quarantined message: X-Spam-Status: Yes, score=21.973 tag=- tag2=8 kill=10 tests=[AV:Sanesecurity.Junk.8084.UNOFFICIAL=0, AV_SS=7.5, BAYES_99=7, FORGED_MUA_OUTLOOK=3.116, FORGED_OUTLOOK_HTML=0.001, FORGED_OUTLOOK_TAGS=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, MSOE_MID_WRONG_CASE=0.82, SUBJ_ALL_CAPS=2.077] autolearn=spam How come the required value is only 5 in the spam notification while in the config files and the header it shows as 8? Spamassassin uses a default score of 5.0 (local.cf). When you run spamassassin as user root or another user then the settings from local.cf are used because you run spamassassin directly. amavis runs as user amavis (or another dedicated user) and uses the settings from amavisd.conf when it calls spamassassin. But, the line above which says 5.0 required is coming from the Amavis spam notification e-mail. I am not running Spamassassin as root. Spamassassin is only being run from Amavis, and Amavis is displaying too different required values based on where I look. In the header of the e-mail it is showing correctly, but in the body of the Amavis spam notification e-mail it is displaying incorrectly. The spam score itself are nearly the same (22.0 points) so it's OK. See also: http://www.ijs.si/software/amavisd/#faq-spam Thanks for your help. Jeff -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/
[AMaViS-user] Web Front-Ends
I installed Postvis and Mailzu today to see how they work. I was wondering if anybody had an opinion about either of these two programs or what they use for a web front-end to Amavis. Thanks, Jeff -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ 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 Header
I have just started using Postfix along with Amavis and everything appears to be running pretty well. I do have one question, and I am not sure if it relates to Amavis or to Postfix. I was running Sendmail with MIMEDefang. I had my filter in MIMEDefang configured so any e-mail that was received for user1 it would add an e-mail header called X-Forward: Yes and I send the e-mail to user1 and user2. User2 has a Sieve script configured that any e-mail with that header would automatically save to a particular folder. Now, with Postfix, I have it set using recipient_bcc to automatically copy any e-mail from user1 to user2. But, there is no longer that header added and I don't know how to automatically filter those messages into a particular folder. Can I add an e-mail header with Amavis so I can filter the message? Or is there something I can do in Postfix that will allow me to automatically copy the message and file in a particular folder. I am using Dovecot's Deliver as the LDA. Thanks, Jeff -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-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/