I was looking for a way to disable smtp access (to send e-mail over the server) from the control panel. There is a field "disablesmtp" in the mail_user table already.
This field needs to be added to the sasl2 sql query as well:
File /etc/postfix/sasl2/smtpd.conf:
Code:
sql_select: select password from mail_user where email = '%u@%r' and disablesmtp = 'n'
For now, this option needs to be set in the database directly using for example phpmyadmin.
Recent comments
1 day 12 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 22 hours ago
2 days 23 hours ago