how to prevent an account from sending emails while allow it to receive?
also how to prevent an account from receiving emails while allow it to send?

  • what if I check only “SMTP” in “Allowed protocols” for send-only?
    and only “IMAP” for receive-only?

you could use sieve for that.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

what if I check only “SMTP” in “Allowed protocols” for send-only?
and only “IMAP” for receive-only?

The user would still be able to use SOGo Webmail.
I guess this would be special function mailboxes?
Better way would be to create a mailbox where an admin has full rights, and delegate the appropriate rights to another user via SOGo

yes this type of accounts is used only by scripts not webmails or mail clients,
for example to auto-send confirmation codes (send-only)
or to read csv files (receive-only)

so protect the account from send or receive by any webmail/script/mailclient

    geek678
    Why so complicated then? For sending mails let the scripts use port 25 directly without credentials and use as sender address something nonexistant like “no-reply@mydomain.com

    this is true for internal scripts, but the scripts are external so they need authentication

    No one is typing