1

Topic: Configuring a catch all email

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version:
Distributor ID: Debian
Description:    Debian GNU/Linux 8.9 (jessie)
Release:        8.9
Codename:       jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB / MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro?: Regular version
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

How do I go about adding a catch-all e-mail, I followed some tutorial from your documentations but it is not working.

2

Re: Configuring a catch all email

Doc here: http://www.iredmail.org/docs/sql.create.catch-all.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Configuring a catch all email

Followed the document, there was a slight derivation in my console, it said MariaDB > instead of mysql >
also it does not seem to catch anything, this is what comes up in my log

Oct 27 21:06:58 mail postfix/smtpd[1674]: connect from mail-oln040092069101.outbound.protection.outlook.com[40.92.69.101]
Oct 27 21:06:58 mail postfix/smtpd[1674]: Anonymous TLS connection established from mail-oln040092069101.outbound.protection.outlook.com[40.92.69.101]: TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)
Oct 27 21:06:58 mail postfix/smtpd[1674]: NOQUEUE: reject: RCPT from mail-oln040092069101.outbound.protection.outlook.com[40.92.69.101]: 550 5.1.1 <test@dinhware.org>: Recipient address rejected: User unknown in virtual mailbox table; from=<privatemail> to=<test@dinhware.org> proto=ESMTP helo=<EUR02-VE1-obe.outbound.protection.outlook.com>

I used this line, hostname is mail.dinhware.org
INSERT INTO forwardings (address, forwarding, domain, dest_domain)
                      VALUES ('dinhware.org', 'catch@dinhware.org', 'dinhware.org', 'dinhware.org');

4

Re: Configuring a catch all email

Please show me output of commands below:

cd /etc/postfix/mysql/
for i in $(ls *cf); do echo $cf; postmap -q 'test@dinhware.org' mysql:./$cf; done

Note: "test@" is a not existing account.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5 (edited by chudamanisanju 2019-11-26 13:29:36)

Re: Configuring a catch all email

My Catchall is working fine, but I am getting only one email if there are multiple recipients,
only one recipient email is forwarding in catchall, the rest of the recipient's mails are not showing in catchall.

6

Re: Configuring a catch all email

chudamanisanju wrote:

My Catchall is working fine, but I am getting only one email if there are multiple recipients,
only one recipient email is forwarding in catchall, the rest of the recipient's mails are not showing in catchall.

Dear chudamanisanju,

Could you please create a new forum topic for your own issue? You replied to a 2-year old thread.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee