[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-anubis] Howto get all RCPT TO values?

From: Benjamin Fleckenstein
Subject: [bug-anubis] Howto get all RCPT TO values?
Date: Tue, 30 Oct 2007 16:11:41 +0100


I'm trying to set up automatic mail encryption with Anubis. I want to
encrypt all mails, not regarding wether the user set some header or
subject values.

Therefore I'm trying to get all e-mail adresses from the the "RCPT TO"
command. I don't use the CC: or To: Headerlines as the header doesn't
contain the BCC recepients.

But it seems that I do only geht the first address of RCPT TO, even when
I send the mail to multiple recepients.

Heres my rule:

    if command ["rcpt to:"] :extended "(.*)"
        add body "\1"

Its just setup for testing yet, so the encryption isn't done yet.
Sending an e-mail with this rule to:

        to: address@hidden
        to: address@hidden
        cc: address@hidden
        bcc: address@hidden

I hope to get an e-mail with:

address@hidden address@hidden address@hidden address@hidden

in the body of the mail. Anyway I only get


in the mail body. The rest is just not printed to the body (also Anubis
finds all the other users, when a do a test on user4).

Is there any way to get all recpients in one variable?

Ben Fleckenstein

reply via email to

[Prev in Thread] Current Thread [Next in Thread]