Domain setting "Plus addressing", multiple choice

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
danielHalan
New user
New user
Posts: 2
Joined: 2018-02-09 11:42

Domain setting "Plus addressing", multiple choice

Post by danielHalan » 2018-02-09 11:48

Hi,

It would be nice if would be possible to define support for multiple email separators (plus addressing) for a Email Domain, i.e. both "+" and "-".

The rule could still be that only one of them are allowed within one email.

That is that at the same time these two emails would be accepted.

box+123@domain.com
box-123@domain.com

Best regards,
Daniel Halan

User avatar
jimimaseye
Moderator
Moderator
Posts: 8066
Joined: 2011-09-08 17:48

Re: Domain setting "Plus addressing", multiple choice

Post by jimimaseye » 2018-02-09 13:41

viewtopic.php?f=20&t=29306

That allows all addresses (replacing plus-addressing functionality) with the ability for you to control what NOT to allow.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

danielHalan
New user
New user
Posts: 2
Joined: 2018-02-09 11:42

Re: Domain setting "Plus addressing", multiple choice

Post by danielHalan » 2018-02-10 19:17

Thanks! that does the trick.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8066
Joined: 2011-09-08 17:48

Re: Domain setting "Plus addressing", multiple choice

Post by jimimaseye » 2018-02-10 22:17

Cheers. Personally i think it's a great feature - very useful worth obvious benefits.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

claw
New user
New user
Posts: 1
Joined: 2018-12-10 10:39

Re: Domain setting "Plus addressing", multiple choice

Post by claw » 2018-12-10 10:57

It would be awesome if we could use multiple delimiters (maybe custom?). I have had a few sites in the past where a plus character is marked as invalid. Some can get worked around if I disable JavaScript whilst registering, but some also do server side validation with the same restrictions (yay!). I also don't want disposable addresses as I want to receive mails to these addresses. Switching the delimiter is impossible as it's invalidating all previously registered eMail addresses, so now I don't have a chance to use plus addressing in a few websites.

Using forwarding accounts is cumbersome as I need to create a forwarder for every single "plus addressing account". I recently switched to using a single account and use plus addressing with aliases to forward to this account, so I am much more flexible as I only need to receive mails from one account.

A big push from me for this feature as it would avoid such stupid restrictions for "invalid" characters in an eMail address in 2018+.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8066
Joined: 2011-09-08 17:48

Re: Domain setting "Plus addressing", multiple choice

Post by jimimaseye » 2018-12-10 12:06

claw wrote:
2018-12-10 10:57
I have had a few sites in the past where a plus character is marked as invalid.
They are not rfc compliant sites then. + signs and others are allowed according to rfc and should be accepted.
claw wrote:
2018-12-10 10:57
I also don't want disposable addresses as I want to receive mails to these addresses
The script I referred to above will allow you. You can use or ignore the 'randomness' of disposable addresses as you wish but otherwise, with careful rule setup looking or for specific key word (ie 'user1alias'), you can achieve exactly what you want and it will not care what delimiter you used.

E.g. I could always have a keyword such as 'jim' and register addresses like

Jim+shopping@
Jim-ebay@
Etc

Then have rules that look for 'jim' at the start and forward accordingly.
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

Post Reply