Re: adding X-RCPT-TO: headers with virtual domains

Top Page
Delete this message
Reply to this message
Author: Greg A. Woods
Date:  
To: Jasper Wallace
CC: exim-users, sysadmin
Subject: Re: adding X-RCPT-TO: headers with virtual domains
[ On Sun, June 1, 1997 at 21:24:33 (+0100), Jasper Wallace wrote: ]
> Subject: adding X-RCPT-TO: headers with virtual domains
>
> so what i want to do is to add a rule to the exim config. to add an X-RCPT-TO: header
> into the mails header set to whatever the envelope RCPT-TO: line was. The
> customer can then filter on that too...


I'm not sure inventing another header is such a good idea, esp. since a
fully expanded Received header should already contain this info:

     received    =  "Received"    ":"            ; one per relay
                       ["from" domain]           ; sending host
                       ["by"   domain]           ; receiving host
                       ["via"  atom]             ; physical path
                      *("with" atom)             ; link/mail protocol
                       ["id"   msg-id]           ; receiver msg id
                       ["for"  addr-spec]        ; initial form


The "for" clause, i.e. the "initial form", is normally the address
specified in the RCPT TO command for the given relay.

Exim doesn't seem to provide the "for" clause by default, but I'm sure
it could.

-- 
                            Greg A. Woods


+1 416 443-1734            VE3TCP            robohack!woods
Planix, Inc. <woods@???>; Secrets of the Weird <woods@???>