equal
deleted
inserted
replaced
460 |
460 |
461 def get_catchall(self): |
461 def get_catchall(self): |
462 """Returns a list with all catchall e-mail addresses of the domain.""" |
462 """Returns a list with all catchall e-mail addresses of the domain.""" |
463 self._chk_state() |
463 self._chk_state() |
464 dbc = self._dbh.cursor() |
464 dbc = self._dbh.cursor() |
465 dbc.execute('SELECT DISTINCT destination FROM catchall WHERE gid = %s ORDER ' |
465 dbc.execute('SELECT DISTINCT destination FROM catchall WHERE gid = %s ' |
466 'BY destination', (self._gid,)) |
466 'ORDER BY destination', (self._gid,)) |
467 addresses = dbc.fetchall() |
467 addresses = dbc.fetchall() |
468 dbc.close() |
468 dbc.close() |
469 return addresses |
469 return addresses |
470 |
470 |
471 def get_aliase_names(self): |
471 def get_aliase_names(self): |