[Postfix] Fix missing authentication data for relayhosts when sender domain is alias domain
parent
a771d66889
commit
52f4f850cf
|
@ -83,6 +83,9 @@ query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM relayhosts
|
|||
WHERE id IN (
|
||||
SELECT relayhost FROM domain
|
||||
WHERE CONCAT('@', domain) = '%s'
|
||||
OR '%s' IN (
|
||||
SELECT CONCAT('@', alias_domain) FROM alias_domain
|
||||
)
|
||||
);
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in New Issue