X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=src%2Fpostfixadmin_db.rb;h=5291a53987587b0ee1da11ccee4e33c835191885;hp=7998bfe677681638766b26a54275419b0a18d20f;hb=1e4cad3a4f6938ca07bc99078108d466bf146b24;hpb=6327411ce5538751bd5b3ae07f13da4267d6aa11 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