RE: [Declude.JunkMail] Adding custom header line

2006-11-02 Thread Colbeck, Andrew
Markus, I believe that the XINHEADER and XOUTHEADER directives in the
global.cfg are what you're looking for.

They can be used to create an arbitrary header and populate it with any
exposed Declude variables, e.g.:

#XINHEADER  X-Note: This E-mail was sent from %REVDNS%
([%REMOTEIP%]).
#XOUTHEADER Organization: Your Name Here


Andrew 8)

 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Markus Gufler
 Sent: Thursday, November 02, 2006 3:10 AM
 To: declude.junkmail@declude.com
 Subject: [Declude.JunkMail] Adding custom header line
 
 
 Following to the manual there is one action to add a line to 
 the message
 header: WARN
 The HEADER-Action does not add it to the message header but 
 to the head of the body.
 
 But the WARN-Action is limited as it does add a fixed line 
 
 X-RBL-Warning: (description)
 
 
 What if I want to add a custom line to the message header if 
 a certain weight was reached?
 For example: 
 
 X-Spam-Flag: YES
 
 ...so that mailservers and email-clients behind declude could 
 use their own filters based on this header line.
 
 I have one possible new customer who already has filters for 
 such a message header and want to switch to our spam filters. 
 But for this we need such custom message header lines.
 
 Does I miss here something or is it true that there is no way 
 to do this with current declude versions?
 
 Markus 
 
 
 
 
 ---
 This E-mail came from the Declude.JunkMail mailing list.  To 
 unsubscribe, just send an E-mail to [EMAIL PROTECTED], and 
 type unsubscribe Declude.JunkMail.  The archives can be 
 found at http://www.mail-archive.com.
 
 



---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type unsubscribe Declude.JunkMail.  The archives can be found
at http://www.mail-archive.com.



RE: [Declude.JunkMail] Adding custom header line

2006-11-02 Thread Colbeck, Andrew
Oops, sorry, I jumped the gun and gave the wrong answer.

What I meant to say was that the %TESTSFAILED% variable could be used
with either XINTHEADER/XOUTHEADER and the client would have to parse the
whole line for, say, a traditional WEIGHT20 entry.

If there's a way to create an arbitrary entry based on a weight or a
test status, I'd like to hear about it too.

Andrew 8)



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Markus Gufler
 Sent: Thursday, November 02, 2006 3:10 AM
 To: declude.junkmail@declude.com
 Subject: [Declude.JunkMail] Adding custom header line
 
 
 Following to the manual there is one action to add a line to 
 the message
 header: WARN
 The HEADER-Action does not add it to the message header but 
 to the head of the body.
 
 But the WARN-Action is limited as it does add a fixed line 
 
 X-RBL-Warning: (description)
 
 
 What if I want to add a custom line to the message header if 
 a certain weight was reached?
 For example: 
 
 X-Spam-Flag: YES
 
 ...so that mailservers and email-clients behind declude could 
 use their own filters based on this header line.
 
 I have one possible new customer who already has filters for 
 such a message header and want to switch to our spam filters. 
 But for this we need such custom message header lines.
 
 Does I miss here something or is it true that there is no way 
 to do this with current declude versions?
 
 Markus 
 
 
 
 
 ---
 This E-mail came from the Declude.JunkMail mailing list.  To 
 unsubscribe, just send an E-mail to [EMAIL PROTECTED], and 
 type unsubscribe Declude.JunkMail.  The archives can be 
 found at http://www.mail-archive.com.
 
 



---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type unsubscribe Declude.JunkMail.  The archives can be found
at http://www.mail-archive.com.