Re: [AMaViS-user] Using RelayCountry with amavis?
mouss wrote: Per olof Ljungmark wrote: mouss wrote: Per olof Ljungmark wrote: OK, thanks. I've gotten so far now that amavisd reports the header but it is not inserted into the actual message headers. I tested the snippet I sent you and it worked. amavis[1968]: (01968-01) header: X-Relay-Countries: VN\n The X-Relay-Countries header is present in ham mail but not in messages marked as spam. What is the additional parameter then for including it with spams as well? same reply: I tested the snippet I sent you and it worked, for both ham and spam. so please provide more information. In particular: - show the headers of a message where the relay info isn't added - show what you actually did to add the header (did you use the snippet as I sent it or did you modify it? if you modified it, show the result) PS. the header won't appear if the recipient is not local (same as for X-Spam-* headers). Yes, I suspect the recipient is not regarded as local in this case. I use the unmodified snippet you provided (thanks). All spams end up in [EMAIL PROTECTED] which I presumed was a local recipient because inter-sonic.com is in the local domain list and inter-sonic.com is $MYDOMAIN. I will turn on debug and see what that gives. Here are the headers from a spam: Return-Path: Received: from imapserver.example.com ([unix socket]) by imapserver.example.com (Cyrus v2.3.12p2) with LMTPA; Sun, 05 Oct 2008 11:16:26 +0200 X-Sieve: CMU Sieve 2.3 Received: from mail-router.example.com [IP here]) by imapserver.example.com (Postfix) with ESMTPSA id 04D196EB011 for [EMAIL PROTECTED]; Sun, 5 Oct 2008 11:16:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-router.example.com (Postfix) with ESMTP id CBF9A2EB824 for [EMAIL PROTECTED]; Sun, 5 Oct 2008 11:16:25 +0200 (CEST) X-Envelope-From: [EMAIL PROTECTED] X-Envelope-To: [EMAIL PROTECTED] X-Envelope-To-Blocked: [EMAIL PROTECTED] X-Quarantine-ID: zTMoKYKJANeW X-Spam-Flag: YES X-Spam-Score: 28.37 X-Spam-Level: X-Spam-Status: Yes, score=28.37 tag=-999 tag2=4.8 kill=5.1 tests=[ADVANCE_FEE_2=1.234, ADVANCE_FEE_3=1.432, ADVANCE_FEE_4=0.639, BAYES_99=5, DCC_CHECK=3, FORGED_MUA_OUTLOOK=3.116, J_CHICKENPOX_37=0.6, MILLION_USD=1.528, MSOE_MID_WRONG_CASE=0.82, RELAY_ES=0.1, RELAY_FR=-0.01, SARE_FRAUD_X3=3.5, SARE_FRAUD_X4=1.667, SARE_FRAUD_X5=1.667, SUBJ_ALL_CAPS=2.077, US_DOLLARS_3=2] local received headers hidden Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.31]) by station.inter-sonic.com (Postfix) with ESMTP id AAFAB13C41E for [EMAIL PROTECTED]; Sun, 5 Oct 2008 11:16:21 +0200 (CEST) Received: from User (unknown [84.77.136.111]) by mwinf2021.orange.fr (SMTP Server) with ESMTP id 2D1EF1C0009D; Sun, 5 Oct 2008 11:16:06 +0200 (CEST) X-ME-UUID: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] From: Lloyds TSB Pacific Bank [EMAIL PROTECTED] Subject: **LLOYDS TSB PACIFIC LIMITED/ URGENT ATTENTION NEEDED** Date: Sun, 5 Oct 2008 11:16:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600. Message-Id: [EMAIL PROTECTED] To: undisclosed-recipients:; - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Using RelayCountry with amavis?
Per olof Ljungmark wrote: mouss wrote: Per olof Ljungmark wrote: OK, thanks. I've gotten so far now that amavisd reports the header but it is not inserted into the actual message headers. I tested the snippet I sent you and it worked. amavis[1968]: (01968-01) header: X-Relay-Countries: VN\n The X-Relay-Countries header is present in ham mail but not in messages marked as spam. What is the additional parameter then for including it with spams as well? same reply: I tested the snippet I sent you and it worked, for both ham and spam. so please provide more information. In particular: - show the headers of a message where the relay info isn't added - show what you actually did to add the header (did you use the snippet as I sent it or did you modify it? if you modified it, show the result) PS. the header won't appear if the recipient is not local (same as for X-Spam-* headers). - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Using RelayCountry with amavis?
Per olof Ljungmark wrote: Yes, I suspect the recipient is not regarded as local in this case. I use the unmodified snippet you provided (thanks). All spams end up in [EMAIL PROTECTED] which I presumed was a local recipient because inter-sonic.com is in the local domain list and inter-sonic.com is $MYDOMAIN. The sample you show has X-Spam headers, so the domain is local. I will turn on debug and see what that gives. Here are the headers from a spam: it should have an FR ES. run the message through spamassassin -t and see if it gets these. if it doesn't, this is an SA issue, so re-run it with -D. For example (assuming Bourne shell, not C shell): spamassassin -D -t 21 sample.eml | tee /tmp/sa.out - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Using RelayCountry with amavis?
mouss wrote: Per olof Ljungmark wrote: OK, thanks. I've gotten so far now that amavisd reports the header but it is not inserted into the actual message headers. I tested the snippet I sent you and it worked. amavis[1968]: (01968-01) header: X-Relay-Countries: VN\n The X-Relay-Countries header is present in ham mail but not in messages marked as spam. What is the additional parameter then for including it with spams as well? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] List Posting issue? (Was: Using RelayCountry with amavis?)
Per olof Ljungmark wrote: mouss wrote: Per olof Ljungmark wrote: Yes, I suspect the recipient is not regarded as local in this case. I use the unmodified snippet you provided (thanks). All spams end up in [EMAIL PROTECTED] which I presumed was a local recipient because inter-sonic.com is in the local domain list and inter-sonic.com is $MYDOMAIN. The sample you show has X-Spam headers, so the domain is local. I will turn on debug and see what that gives. Here are the headers from a spam: it should have an FR ES. run the message through spamassassin -t and see if it gets these. if it doesn't, this is an SA issue, so re-run it with -D. For example (assuming Bourne shell, not C shell): spamassassin -D -t 21 sample.eml | tee /tmp/sa.out SA returns proper headings... X-Spam-Relay-Countries: FR ES what string should I look for in the amavisd debug output? I've dug through quite a lote but cannot see anything relevant, sorry. For some reason, your messages don't appear on the list. This happened to me not long ago (Thread please remove CR moron:From:..., my post stayed in the sourceforce queue from 27 Sept to 4 Oct. anyway, you can add log statements in before_send() and see which part of the flow is missed, if any. Maybe someone else has better ideas. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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/