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
10 hours 29 min ago
12 hours 56 min ago
1 day 50 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 13 hours ago
1 day 23 hours ago
2 days 1 hour ago
2 days 9 hours ago
2 days 10 hours ago