Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F37372
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
stwalkerster
Oct 30 2017, 10:41 PM
2017-10-30 22:41:04 (UTC+0)
Size
753 B
Referenced Files
None
Subscribers
None
View Options
select concat(a.username, '@', d.domain) source, a.destination
from virtualalias a
inner join virtualdomain d on d.enabled = 1 and d.id = a.domain
where coalesce(a.destination, '') <> ''
and a.action not in ('reject', 'discard')
and not exists (
select 1 from virtualuser u
where u.enabled = 1 and u.alias = a.id
)
union all
select concat(r.mailbox, '@', dr.domain), r.destination
from rfc2142 r
cross join virtualdomain dr
where dr.enabled = 1
and not exists (
select 1
from virtualalias ar
where coalesce(ar.destination, '') <> ''
and ar.action not in ('reject', 'discard')
and ar.domain = dr.id
and ar.username = r.mailbox
)
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34384
Default Alt Text
(753 B)
Attached To
Mode
P157 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment