Postfwd recipient_count

Discussion in 'Installation/Configuration' started by mmgomess, Sep 8, 2016.

  1. mmgomess

    mmgomess New Member

    Hi friends.

    Has anyone used the Postfwd with Zimbra(postfix)?

    The recipient_count did not work for me. I need to block outgoing messages with more than 1 recipient from my domain.
    Below is my rule. Anybody can help me?

    Sorry my english.

    [email protected]\.com\.br$
    action=REJECT Sorry, mail with 2+ recipients​
  2. Jesse Norell

    Jesse Norell Active Member

    I haven't used recipient_count per se, but that is just an attribute passed right from the postfix delegation protocol - at what point are you calling postfwd? If you aren't already, try putting it in smtpd_data_restrictions, not eg. in smtpd_recipient_restrictions.
  3. mmgomess

    mmgomess New Member

    Hi Jesse, thank you for your answer.
    I'm newbie in postfwd. Can you help me how to put postfwd in smtpd_data_restrictions?
    Thanks again.
  4. Jesse Norell

    Jesse Norell Active Member

    I guess re-reading your original post, you are running zimbra, not ispconfig, and from what I understand, zimbra configures the mail system for you .. in which case no, I have no idea how to set that as I've never used zimbra. Maybe check their documentation, search google, or try the general linux forums (this one is specifically for ispconfig 3).

Share This Page