I activated these (see below) lines but nothing happend (Mail delivery failed: returning message to sender)
/etc/dovecot/conf.d/15-lda.conf:
# Delimiter character between local-part and detail in email address.
recipient_delimiter = +
# Header where the original recipient address (SMTP's RCPT TO: address) is taken
# from if not available elsewhere. With dovecot-lda -a parameter overrides this.
# A commonly used header for this is X-Original-To.
#lda_original_recipient_header =
# Should saving a mail to a nonexistent mailbox automatically create it?
lda_mailbox_autocreate = yes
# Should automatically created mailboxes be also automatically subscribed?
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
Let me know what you come up with @turbopixel I have been wanting to do this too. We have a support@domain email with a folder called alerts in the inbox folder and we would like to use [email protected] for RMM Agent alerts.
I have manage sieve working although the + tags from external email provider are not working. I set the config details you have listed there @turbopixel and rebooted the server, is there anything that you didnt include there?
Not the best solution: I did not get the subadressing configured. However, I receive the emails due to enabled catchall. For this reason, I cannot send emails to [email protected] internally, i.e. from the same server.
Oh I see , I do not have a catch all on. Im afraid it would flood my server with garbage, well let me know if you come up with anything, i’ll do the same
Hey @turbopixel and @johnny, after a lot of research/trial and error/headaches, I have figured it out.
Note: I have only tested suffix based ([email protected]), but I believe prefix based ([email protected]) should work the same, just change suffix to prefix below. These changes enable subaddressing globally, across all domains. I’m not sure if it can be done on a per domain basis. I might try figuring that out some other time, maybe, probably not.
/etc/exim4/exim4.conf.template
In the “localuser” router definition, add the following:
Nice work @icorbitt This would make a nice pull request on the project as well. I don’t see a reason why not to enable this by default when managesieve is enabled seems like an all win and no con.
I find the alias feature very handy, which can be configured when editing an email address in HestiaUI. Moreover I believe aliases are better, because I can completely remove them at any time, if I find that some senders start misbehaving. Sending from alias address is also possible (I don’t have a need for it though), but I need to configure it in Roundcube first.
I understand that my approach may not be closely related to what you’re trying to achieve. I’m just giving another perspective
and for “.” “-” "" suffix
it will be local_part_suffix = +* : .* : -* : *
do not write it as multiple times
local_part_suffix = +*
local_part_suffix = [whatever]*
Step1 : nano /etc/exim4/exim4.conf.template
Step2 : ctrl+w enter “localuser:” keyword to find section
Step3 : add below lines after " transport = local_delivery" line
Step 4: sudo update-exim4.conf
Step 5: sudo service exim4 restart
Step 6 [Optional]: systemctl status exim4.service
i will not recommend “-" prefix because I will disable catch all mail feature. OR maybe I have been added more then 2 prefix that’s why it is happening. I don’t know but "+ and .*” will work fine and its enough. which is also enabled in gmail.