X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpostfixadmin_db.rb;h=5291a53987587b0ee1da11ccee4e33c835191885;hb=1e4cad3a4f6938ca07bc99078108d466bf146b24;hp=7998bfe677681638766b26a54275419b0a18d20f;hpb=7643bd3ebfe3d4aa8a56679c16e313ea9250f47e;p=mailshears.git diff --git a/src/postfixadmin_db.rb b/src/postfixadmin_db.rb index 7998bfe..5291a53 100644 --- a/src/postfixadmin_db.rb +++ b/src/postfixadmin_db.rb @@ -33,7 +33,7 @@ class PostfixadminDb # If address = goto, then the alias basically says, "really # deliver to that address; it's not an alias." - sql_query = 'SELECT address FROM alias WHERE address = goto;' + sql_query = 'SELECT username FROM mailbox;' result = connection.query(sql_query) connection.close() rescue PGError => e