1

Topic: send email to all users !

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  iRedMail 0.9.5-1
- Linux/BSD distribution name and version: CentOS 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL 2.4.0
- Related log if you're reporting an issue:
====

How to send email to all users? I create alias all@domain.com in iRedAdmin-Pro-SQL 2.4.0.

# cat /var/log/maillog
550 5.1.1 <all@domain.com>: Recipient address rejected: User unknown in virtual mailbox table;
Thanks.

----

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

2

Re: send email to all users !

Do you add all users under this domain as members of this alias account (all@)?

3

Re: send email to all users !

ZhangHuangbin wrote:

Do you add all users under this domain as members of this alias account (all@)?

Yes, I want to send a notify for all account in domain.

Thanks.

4

Re: send email to all users !

Do you get all email addresses under this domain by running command below?

postmap -q 'all@domain.com' mysql:/etc/postfix/mysql/virtual_alias_maps.cf

5

Re: send email to all users !

ZhangHuangbin wrote:

Do you get all email addresses under this domain by running command below?

postmap -q 'all@domain.com' mysql:/etc/postfix/mysql/virtual_alias_maps.cf

I use iRedAdmin-Pro-SQL 2.4.0 create.
I attach file below.

Thanks.

Post's attachments

alias.png 52.4 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

6

Re: send email to all users !

The "Members" field is empty, that means "all@" doesn't have any members. So emails sent to "all@" won't be delivered at all. Please add mail users as its members.

7

Re: send email to all users !

ZhangHuangbin wrote:

The "Members" field is empty, that means "all@" doesn't have any members. So emails sent to "all@" won't be delivered at all. Please add mail users as its members.

I added members and send all@domain.com.

Thanks very much.