Re: BCC like action in policy server

From: mouss (no email)
Date: Wed Apr 04 2007 - 16:57:22 EDT

  • Next message: mouss: "Re: domain (real + virtual) mapping question"

     wrote:
    >>> I would like to solve task:
    >>> if message mail from: *@mydomain.com rcpt to: *@mydomain.com - message is not bcc'ed, but
    >>> if message mail from: *@mydomain.com rcpt to: *@not_in_mydomain.com - message is bcc'ed.
    >>>
    >>> I was recommended to use a policy server.
    >>> Because there is no "BCC action", I was decide to use REDIRECT action
    >>> to redirect mail to original recipient(s) and additional recipinent(s),
    >>> but (as I have noticed later) REDIRECT does not support multiple addresses.
    >>> Aliases in REDIRECT is unacceptable solution (I must send message to original recipient(s)).
    >>>
    >>> Is there an action that working like BCC I can use in policy server reply?
    >>> Or other solution?
    >>>
    >>>
    >
    > m> did you read my reply to your previous mail?
    >
    > m> recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc
    > m>
    > m> # cat recipient_bcc
    > m> /^\"(.*)\"@(.*)/ "$1=$2"@copy.example.org
    > m> /(.*)@([^@]+)$/ $1=$2 at copy dot example dot com
    >
    > Sorry, but i can't understand this solution...
    > Be so kind as to explain how it will work.
    >

    I am not sure, but it seems to me that you mixed multiple messages. here
    is what I referred to:

    <<
    you can use multiple instances. Instance 1 (which receives all mail)
    uses transport_maps to forward mail for example.com to instance 2, and
    other mail to instance 3. Then setup your sender bcc in instance 3.

    an alternative is to bcc then discard the messages you don't want
    (maildrop, procmail).
    >>


  • Next message: mouss: "Re: domain (real + virtual) mapping question"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD