Hi,

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"
    fi


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

        to: [EMAIL PROTECTED]
        to: [EMAIL PROTECTED]
        cc: [EMAIL PROTECTED]
        bcc: [EMAIL PROTECTED]

I hope to get an e-mail with:

[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

in the body of the mail. Anyway I only get

[EMAIL PROTECTED]

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?

Regards
Ben Fleckenstein



_______________________________________________
Bug-anubis mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-anubis

Reply via email to