> -----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/

Reply via email to