Results 1 to 3 of 3

Thread: Mail loop - always_bcc option and filter rules

  1. #1
    Join Date
    Apr 2009
    Posts
    5
    Rep Power
    6

    Default Mail loop - always_bcc option and filter rules

    Hello


    I am running Zimbra 5.0.10_GA_2638 on SLES10.

    I want to set these services :
    - archive all message which can transit by the zimbra system
    - send a copy of each mail (in/out) for certain user to certain user (external user on another mail domain).

    The first point is accomplish by the always_bcc option in postfix conf file. Every mail is send to an archive mailbox.

    I want to accomplish the second point by set up some filters rules (forward rules) on the archive mailbox. But, the forward rules create a mail loop in the Zimbra system (forwaded mail are also examine by the forward rule).

    In fact, I can't determine if a mail is a forwarded mail by the archive mailbox or an original mail. Indeed, the forwarded mail are forwarded without any change to the mail or any change that I can distinguish bye mail filter.

    If I can distinguish the two mails types , I could set a rule to ignore forwarded mail.


    Is there a solution ?

    (Sorry for my poor english, I'm french)

    Thank you

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by Mickael View Post
    - send a copy of each mail (in/out) for certain user to certain user (external user on another mail domain).
    Individually you can use 'sender_bcc_maps' and 'recipient_bcc_maps' (search Postfix.org)
    Here's an example: [SOLVED] Automatically CC an account? Is this possible?

    Vote for Bug 17681 - filters set to auto-forward should send as a message, not as a blind forward aka 'redirect' vs 'forward'

  3. #3
    Join Date
    Apr 2009
    Posts
    5
    Rep Power
    6

    Default

    Hello,

    Thank you very much for your reply.

    I think that I find a way to distinguish a forwarded (or redirected) mail from the original mail :

    In the header of the forwarded mail, I have a Received header which contains the recipient mail address.

    And I find in the mail filter the way to filter the mail header.
    I jsut made a rule to not proceed forwarded/redirected mail.

    It seems to be working.

    I will do more test tomorrow.

    Thank you very much for your quick reply, and so useful Zimbra Forum.

    +

Similar Threads

  1. Mail Filter Order
    By marginalboy in forum Users
    Replies: 2
    Last Post: 08-28-2008, 11:13 AM
  2. lack luster features
    By zknight in forum General Questions
    Replies: 8
    Last Post: 07-09-2008, 03:44 PM
  3. Replies: 3
    Last Post: 06-14-2007, 11:30 AM
  4. Feature request for mail filter
    By MooktaKiNG in forum Users
    Replies: 9
    Last Post: 04-08-2007, 06:40 AM
  5. Filter Rules
    By phoenix in forum Administrators
    Replies: 10
    Last Post: 03-09-2006, 12:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •