Re: [AMaViS-user] List Posting issue? (Was: Using RelayCountry with amavis?)

2008-10-06 Thread Mark Martinec
Per,

 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?

Perhaps you are confusing quarantined mail with mail passed on
to recipients (either ham or spam). The patch from mouss
adds a X-Relay-Countries header field to passed mail,
not to quarantined mail.

  Mark

-
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?)

2008-10-05 Thread mouss
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/