1

Topic: Sub addressing with MySQL

======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB 10.0.13
- Linux/BSD distribution name and version: Ubuntu 14.04 x64
- Related log if you're reporting an issue:
====

I have working setup, except sub-addressing. All configs are default,
    recipient_delimiter = +
also present in config.

Messages sent to name+blabla@example.com are not rejected, but also do not appear in name@example.com mailbox.

Is there any way to get this feature working?

----

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

2

Re: Sub addressing with MySQL

It will be delivered to a sub-folder called "blabla".

3

Re: Sub addressing with MySQL

ZhangHuangbin wrote:

It will be delivered to a sub-folder called "blabla".

Will this sub-folder created automatially, or I have to create i manually? Because now I do not have such sub-folder.
Also, is there anyway to move all messages with sub-addresing to Inbox? Maybe, sieve rules can be applied here, but not sure whether they will work is sub-directory doesn't exists yet.

4

Re: Sub addressing with MySQL

I found directory in RoundCube, but I was not "subscribed" to it, after this it appeared in Tunderbird as well. Can I change some setting to be "subscribed" automatically?

5

Re: Sub addressing with MySQL

I have no idea.

Roundcube creates some default mail folders and auto-subscribe to them, but it doesn't auto-subscribe to other folders. Dovecot doesn't have setting to auto-subscribe all available folders.

6

Re: Sub addressing with MySQL

Anyway, folders are created, emails comes to created directories as expected.
Thanks!

7

Re: Sub addressing with MySQL

ZhangHuangbin wrote:

It will be delivered to a sub-folder called "blabla".

Hi Zhang, is it possible to re-configure this so that it goes directly to the "inbox" folder?

Thanks,
Chris

8

Re: Sub addressing with MySQL

chrisbjr wrote:

Hi Zhang, is it possible to re-configure this so that it goes directly to the "inbox" folder?

Yes. Find lines below in /etc/postfix/master.cf:

# Use dovecot's `deliver` program as LDA.
dovecot unix    -       n       n       -       -      pipe
    flags=DRh ... -m ${extension}

Remove '-m ${extension}', restart postfix.

9

Re: Sub addressing with MySQL

ZhangHuangbin wrote:
chrisbjr wrote:

Hi Zhang, is it possible to re-configure this so that it goes directly to the "inbox" folder?

Yes. Find lines below in /etc/postfix/master.cf:

# Use dovecot's `deliver` program as LDA.
dovecot unix    -       n       n       -       -      pipe
    flags=DRh ... -m ${extension}

Remove '-m ${extension}', restart postfix.

Thanks a lot Zhang!! I appreciate it.