1

Topic: Blacklist all inbound mails for account

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro 5.5
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I want to create SMTP-only account in domain. First, I went to Advanced menu in user profile, and uncheck 'Accepting mails sent to this account on mail server'. But this flag works like 'enable-disable account', because I got a bounce '550 Sender address rejected: User unknown' from iredmail postfix during mail submission from this account.
Well, I set 'Accepting mails sent to this account on mail server' back and proceed to 'White/Blacklist'
Then, i put '@' in a blacklisted senders for Inbound Mails, but after saving changes this string disappeared. Patterns like 'user@*' and '@domain.tld' accepted as well.
Does feature '@' is not implemented yet?
Can you provide a right guide for creation SMTP-only accounts in iRedMail-Pro?
Or, how i can setup autoremove messages in account after 1-2 days?

WBR, Pavel Zhe

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Blacklist all inbound mails for account

It's "@." (one "@" and one dot "."), not "@". smile

3

Re: Blacklist all inbound mails for account

Pavel Zhe wrote:

Or, how i can setup autoremove messages in account after 1-2 days?

I didn't try per-user autoexpunge config yet, but here're some references:
https://www.dovecot.org/list/dovecot/20 … 10734.html
https://doc.dovecot.org/configuration_m … rom-userdb
https://doc.dovecot.org/configuration_m … r-database

4

Re: Blacklist all inbound mails for account

ZhangHuangbin wrote:

It's "@." (one "@" and one dot "."), not "@". smile

Great! Thank you.