1

Topic: Auto alias

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? DL
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,
Is there a way to "generate" auto-aliases for accounts ?
Like user@domain.fr has alias like u.ser@domain.fr

Gmail does this :
- u.ser@domain.fr
- us.er@domain.fr
- u.s.e.r@domain.fr
All of theses addresses are forwarded to user@domain.fr

Thanks
Nicolas

----

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

2

Re: Auto alias

iRedMail doesn't has such alias support, you have to add these addresses manually.
I personally don't understand why you need such auto generated alias addresses, would you mind sharing the situation?

3 (edited by srjanin 2021-05-04 19:08:55)

Re: Auto alias

Any news on this suggestion ?

I'm looking for the same feature. GMAIL has such features, dot are ignored and you can add adress extension using + for example username+extra@domain.com

This can be very useful to have automatic filters when email are received

username@domain.com
username+extra@domain.com
username+info@domain.com
username+invoice@domain.com

user.name@domain.com
user.name+yeah@domain.com

It's useful when a user need a new email address (website subscriptions, etc) but don't want/need to manage many addresses

4

Re: Auto alias

I found the solution, it's easy using canonical_maps and regex as explain here : https://velenux.wordpress.com/2011/08/0 … pressions/

example to support +suffix

/^(.*)\+.*@(.*)$/ ${1}@${2}


srjanin wrote:

Any news on this suggestion ?

I'm looking for the same feature. GMAIL has such features, dot are ignored and you can add adress extension using + for example username+extra@domain.com

This can be very useful to have automatic filters when email are received

username@domain.com
username+extra@domain.com
username+info@domain.com
username+invoice@domain.com

user.name@domain.com
user.name+yeah@domain.com

It's useful when a user need a new email address (website subscriptions, etc) but don't want/need to manage many addresses