Advertisement
Guest User

Untitled

a guest
May 28th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. user = db_mailuser
  2. password = mailuser_password
  3. hosts = 127.0.0.1
  4. dbname = mailserver
  5. query = SELCET email FROM virtual_users WHERE email='%s'
  6.  
  7. postmap -q email@some.domain mysql:/etc/postfix/mysql-email2email.cf
  8.  
  9. 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
  10.  
  11. mysql> SELECT email FROM virtual_users WHERE email='email@some.domain'
  12.  
  13. +-------------------------+
  14. | email |
  15. +-------------------------+
  16. | email@some.domain |
  17. +-------------------------+
  18. 1 row in set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement