Disable outgoing mail
Disable outgoing mail
Is it possible to disable outgoing mail for a user account? Just 1 account or just a mailbox in an account? If not disable, maybe just set to pending/for approval?
I want mailboxes for an account to be used for incoming mail only.
Re: Disable outgoing mail
Can someone assist in having KH block all outgoing mails for an account and allow only certain email addresses to send?
Re: Disable outgoing mail
this interested me, so...
I don't think there is such facility in KeyHelp panel.
With a few minutes search I found the following, but have not tested, you could try this:
Open the Postfix config file:
/etc/postfix/main.cf
Insert the following code, just before the line "smtpd_client_restrictions"
(replace "user" with the username to block)
Code: Select all
authorized_submit_users = !user, static:all
To block multiple users, I assume its like so:
Code: Select all
authorized_submit_users = !user, !user2, !user3, static:all
Let us know how you go.