Source

iredmail / iRedMail / samples / postfix / mysql / sender_bcc_maps_user.cf

Full commit
1
2
3
4
5
6
user        = vmail
password    = NSep2RRC7vzN9k6dW5bnc07fTLDEW7
hosts       = 127.0.0.1
port        = 3306
dbname      = vmail
query       = SELECT sender_bcc_user.bcc_address FROM sender_bcc_user,domain WHERE sender_bcc_user.username='%s' AND sender_bcc_user.domain='%d' AND sender_bcc_user.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND sender_bcc_user.active=1