[Postfix] Adjust mailbox query
This commit is contained in:
		| @@ -184,7 +184,7 @@ user = ${DBUSER} | |||||||
| password = ${DBPASS} | password = ${DBPASS} | ||||||
| hosts = unix:/var/run/mysqld/mysqld.sock | hosts = unix:/var/run/mysqld/mysqld.sock | ||||||
| dbname = ${DBNAME} | dbname = ${DBNAME} | ||||||
| query = SELECT maildir FROM mailbox WHERE username='%s' AND active = '1' | query = SELECT CONCAT(mailbox_format, mailbox_path_prefix, '%d/%u/') FROM mailbox WHERE username='%s' AND active = '1' | ||||||
| EOF | EOF | ||||||
|  |  | ||||||
| cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_relay_domain_maps.cf | cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_relay_domain_maps.cf | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user