sender_bcc_maps with MYSQL

Discussion in 'Server Operation' started by zanoello, Sep 30, 2010.

  1. zanoello

    zanoello New Member

    Hi. I'm from Brazil and I have read this tutorial:

    It's so good, I've done it in my MTA. It's working fine.

    I have just a question that I think you can help me.

    There's a table and a connection called FORWARDINGS to alias of e-mails.

    I want to make BCC with my postfix using sender_bcc_maps=

    I've already make mysql base and a php code to insert and edit entries. Duplicating the existing forwardings

    but I don't know how to configure postfix to read mysql and do BCC.

    What do I put here?
  2. falko

    falko Super Moderator ISPConfig Developer

    I guess something like
    sender_bcc_maps = mysql:/etc/postfix/
    should work, and then something like

    user = mail_admin
    password = mail_admin_password
    dbname = mail
    query = SELECT email FROM sender_bcc_maps
    hosts =
    in /etc/postfix/
  3. zanoello

    zanoello New Member

    It works.

    Thaks. It's working fine.

Share This Page