Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Save RCPT-TO to message header and rewrite RCPT-TO

3 views
Skip to first unread message

chacham

unread,
Oct 6, 2008, 2:36:33 PM10/6/08
to
I am looking to rewrite the RCPT-TO envelope header but record the old
value in a message header.

For example, an email with the envelope RCPT-TO:a...@fred.example.com
would have two operations done to it:

1) the RCPT-TO itself would become: fr...@example.com
2) a new message header would be: X-Original-RCPT-TO:
a...@fred.example.com

The rewritten address needs no header.

Is this possible?

Andrzej Adam Filip

unread,
Oct 7, 2008, 3:00:58 PM10/7/08
to
chacham <cha...@gmail.com> wrote:

Have you seen the URLs below?

How can I add a header specifying the actual recipient when having
multiple users in a virtual domain go to a single mailbox?
http://www.sendmail.org/faq/section3#3.29

Deliveries to Shared Mailboxes (sendmail)
http://anfi.homeunix.org/sendmail/sharedmailbox.html

--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : an...@xl.wp.pl
Character is what you are in the dark!
-- Lord John Whorfin

chacham

unread,
Oct 7, 2008, 4:44:24 PM10/7/08
to
On Oct 7, 3:00 pm, Andrzej Adam Filip <a...@onet.eu> wrote:

> chacham <chac...@gmail.com> wrote:
> > I am looking to rewrite the RCPT-TO envelope header but record the old
> > value in a message header.
>
> > For example, an email with the envelope RCPT-TO:a...@fred.example.com
> > would have two operations done to it:
>
> > 1) the RCPT-TO itself would become: f...@example.com

> > 2) a new message header would be: X-Original-RCPT-TO:
> > a...@fred.example.com
>
> > The rewritten address needs no header.
>
> > Is this possible?
>
> Have you seen the URLs below?
>
> How can I add a header specifying the actual recipient when having
> multiple users in a virtual domain go to a single mailbox?http://www.sendmail.org/faq/section3#3.29
>
> Deliveries to Shared Mailboxes (sendmail)http://anfi.homeunix.org/sendmail/sharedmailbox.html
>
> --
> [pl>en Andrew] Andrzej Adam Filip : a...@onet.eu : a...@xl.wp.pl

> Character is what you are in the dark!
>   -- Lord John Whorfin


No, i did not see them. Thank you for pointing them out. One of those
ought to be the answer or point me in the right direction.

0 new messages