[AMaViS-user] amavisd-agent
Hello, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... BR, rocsca --- 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] amavisd-agent
Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark --- 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] amavisd-agent
On Oct 25, 2005, at 08:47 , Mark Martinec wrote: Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark I may be able to do something if you can give me till the weekend to get some time to examine it and see what needs to be done. -- Dale --- 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] amavisd-agent
Hi, I give my availability too to the project... I asked Mark to give some instruction to me... If you want we can collaborate.. rocsca - Original Message - From: Dale Walsh [EMAIL PROTECTED] To: Mark Martinec [EMAIL PROTECTED] Cc: amavis-user@lists.sourceforge.net Sent: Tuesday, October 25, 2005 3:31 PM Subject: Re: [AMaViS-user] amavisd-agent On Oct 25, 2005, at 08:47 , Mark Martinec wrote: Rocsca, I'ld like to know why I can't get any information that I get launching 'amavisd-agent' from a shell, when I execute this command from a shell: # snmpwalk -v2c -c *** localhost 1.3.6.1.4.1.15312.2.1 The amavisd-agent presently is only a demo program to show how a true SNMP agent could obtain the information from amavisd. Maybe I need to install the some MIBs?? Where I can download them?? It is possible the to monitor my agent with MRTG?? Someone have similar experience?? Is there some MIB storing information about spam message received by a domain?? Is It possible to maintain this information too?? Maybe I asks many questions, but I'ld like to start a discussion about this argument... From a TODO file: SOME OF THE MORE SELF-CONTAINED PROJECTS - provide a true SNMP agent, based on already available database of statistics counters, and giving some thoughts on designing a true MIB; It would be really nice if somebody would tackle that project. Mark I may be able to do something if you can give me till the weekend to get some time to examine it and see what needs to be done. -- Dale --- 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/ --- 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/
[AMaViS-user] Custom X-Headers
Is there any way to change the x-headers added by amavisd? I know I can change the info on the right side to the colon, but what about the other side? Examples: X-Spam-Status: to X-Spam-Status(mydomain): And X-Virus-Scanned: to X-Virus-Scanned(mydomain): Thanks, Craig --- 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] Custom X-Headers
On Tue, Oct 25, 2005 at 09:01:37AM -0500, Craig Deal wrote: Is there any way to change the x-headers added by amavisd? I know I can change the info on the right side to the colon, but what about the other side? Examples: X-Spam-Status: to X-Spam-Status(mydomain): And X-Virus-Scanned: to X-Virus-Scanned(mydomain): This does not directly answer your question, but just FYI your examples above are invalid; the set of characters which can legally appear on the LHS of the colon in a mail header is fairly restricted. (It is limited to alphanumerics + '-' and '_', if I remember correctly, but you should check RFC 2822.) -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED] President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services --- 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] Custom X-Headers
-Original Message- From: Clifton Royston [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 25, 2005 2:08 PM To: Craig Deal Cc: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Custom X-Headers On Tue, Oct 25, 2005 at 09:01:37AM -0500, Craig Deal wrote: Is there any way to change the x-headers added by amavisd? I know I can change the info on the right side to the colon, but what about the other side? Examples: X-Spam-Status: to X-Spam-Status(mydomain): And X-Virus-Scanned: to X-Virus-Scanned(mydomain): This does not directly answer your question, but just FYI your examples above are invalid; the set of characters which can legally appear on the LHS of the colon in a mail header is fairly restricted. (It is limited to alphanumerics + '-' and '_', if I remember correctly, but you should check RFC 2822.) -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED] President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services I have not looked at the RFC's for this yet, but I will if this is possible. My examples were not accurate examples of what I wanted. It would look more like X-ACS-Virus-Scanned: and X-ACS-Spam-Status:. The problem I have is that Domain-Key headers are confusing the mailbox filters. I'm not sure why yet, but it picks up x-spam-status: yes from the example header below. I thought if I could make my x-header's unique, this would eliminate any possible problems in the future. DomainKey-Signature: a=rsa-sha1; s=grog; d=secure-example.net; c=nofws; q=dns; h=in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to:x-mailer:x-spam-status:x-spam -checker-version; b=n0vBtlmsn9KOCYcWCqJZLMHcfOE6zVedZZkPSSqsaiSiMjca77+w8HV+9MPdpRtVr Craig --- 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] Custom X-Headers
At 02:41 PM 10/25/2005, Craig Deal wrote: I have not looked at the RFC's for this yet, but I will if this is possible. My examples were not accurate examples of what I wanted. It would look more like X-ACS-Virus-Scanned: and X-ACS-Spam-Status:. The problem I have is that Domain-Key headers are confusing the mailbox filters. I'm not sure why yet, but it picks up x-spam-status: yes from the example header below. I thought if I could make my x-header's unique, this would eliminate any possible problems in the future. You can edit the amavisd program itself to change the name of the added headers. The header names are not configurable in amavisd.conf -- Noel Jones --- 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] Custom X-Headers
You should really fix your mailbox filter to only look at headers (that's a /^X-Spam-Flag: Yes/ in pcre). I agree, and I plan on taking another look at the filter. Just thought there may be a config setting that I missed, that would let me change the X-Header. Also, use X-Spam-Flag instead of X-Spam-Status. I will try this also. Thanks, Craig --- 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] upping the score for a single email address
This looks interesting: @score_sender_maps = ({ # a by-recipient hash lookup table # read_hash(/var/amavis/sender_scores_sitewide), But how do you make such a file? Whats the format? |-Original Message- |From: E. Falk [mailto:[EMAIL PROTECTED] |Sent: Tuesday, October 25, 2005 8:41 AM |To: amavis-user@lists.sourceforge.net |Cc: Anton Krall |Subject: Re: [AMaViS-user] upping the score for a single email address | |Anton Krall wrote: | How can this be done? Im kind of new :( | | | | |Wouldn't it be easier to just write a rule in SA to subtract 0.5 (or | |more) from the score if the e-mail is from that sender / ip address? | | | |There's a good how-to for rule-writing at |http://mywebpages.comcast.net/mkettler/sa/SA-rules-howto.txt - |but I think I may even be overcomplicating it. | |If the sender is always the same address, you can simply |whitelist that sender in amavisd-new. There should be a file |called whitelist in your amavisd-new folder (eg, |/var/amavisd/whitelist). Just add the sender address to that |file. No mucking about with rules or changing kill levels. | |Hope this helps, | |Evan | | --- 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] upping the score for a single email address
Thx Gary... That file format is what I was looking for... I thought you had to use aaa = score as in amavisd.conf ... I was wrong.. Now its working and its better to use the external file since amavisd.conf can be replaced or modified when/if you upgrade amavis. Thx! |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] On Behalf Of Gary V |Sent: Tuesday, October 25, 2005 9:54 PM |To: amavis-user@lists.sourceforge.net |Subject: Re: [AMaViS-user] upping the score for a single email address | |Anton wrote: | | This looks interesting: | @score_sender_maps = ({ # a by-recipient hash lookup table # | read_hash(/var/amavis/sender_scores_sitewide), | But how do you make such a file? Whats the format? | | |@score_sender_maps is probably the best way to adjust a score |for a particular sender (email address or domain). This is |known as 'soft' |whitelistling or 'soft' blacklisting. | |@score_sender_maps = ({ # a by-recipient hash lookup table ... | # site-wide opinions about senders (the '.' matches any recipient) | '.' = [ # the _first_ matching sender determines the score |boost ... # read_hash(/var/amavis/sender_scores_sitewide), | | { # a hash-type lookup table (associative array) | '[EMAIL PROTECTED]' = -1.0, | '[EMAIL PROTECTED]'= -3.0, | '[EMAIL PROTECTED]' = -3.0, | '[EMAIL PROTECTED]'= -3.0, |... | |You can either place the sender in amavisd.conf, in the same |place these examples are, or in a file you create. You would |of course uncomment the read_hash line. There are a number of |ways to create files, but often you create them by simply |editing them. For example: | |vi /var/amavis/sender_scores_sitewide | |If you are not familiar with the vi editor, then you could use |'nano', but you should learn enough about vi to be able to |edit a file with it. | |This example assumes you have a /var/amavis directory (the |home directory of the amavisd-new user). | |The format of this file is: sender on the left, score |adjustment on the right. | |[EMAIL PROTECTED] -1.0 |daimlerchrysler.com -3.0 |.fordmotorcompany.com -2.0 | |that was an example of |a particular sender |a domain |a domain and any subdomain of that domain | |It should be obvious a negative number decreases the final |spam score, and a positive score increases it. | |Gary V | | | |--- |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/ | --- 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/