Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = db_mailuser
- password = mailuser_password
- hosts = 127.0.0.1
- dbname = mailserver
- query = SELCET email FROM virtual_users WHERE email='%s'
- postmap -q email@some.domain mysql:/etc/postfix/mysql-email2email.cf
- postmap: warning: mysql query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELCET email FROM virtual_users WHERE email='email@some.domain'' at line 1
- mysql> SELECT email FROM virtual_users WHERE email='email@some.domain'
- +-------------------------+
- | email |
- +-------------------------+
- | email@some.domain |
- +-------------------------+
- 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement