KumoMTA send gmail with

Hi teams

With google doc Dots don't matter in Gmail addresses - Gmail Help

.....aaaa...@gmail.com It is legal. But send from kumomta ,it will response error message

~* 501-1 | RCPT TO:<....aaaa...@gmail.com>
<~* 501-  |          ^---
<~* 501-  |
<~* 501   = expected local_part or at_domain

Since we have an automated platform where the recipients are collected and uploaded by customers, it’s really hard for us to control.

These senders are supported in PowerMTA, Momentum and postfix, but they are not supported when migrating to Kumo, which has left customers very confused.

Perhaps I should use smtp_server_rcpt_to to judge the modification, but I think it consumes a lot of performance and is prone to errors. It’s really not worth it.

smtp_server_rcpt_to may not work , An error message was returned before entering it.

As far as I know, the rfc says the local part of an address cannot start or end with a dot. Is PMTA or Momentum able to accept these without setting a switch to ignore the Rfc?

Momentum was set up by an elderly person a long time ago. I didn’t look into whether Kumo could be set up or not?

There was a time where large mobile carrier (docomo in japan) used to allow consecutive dots in localpart. they no longer allow new accounts with this pattern to be created but unfortnatley there’s quite a bit of users with this pattern still.

Yeah, Dots don't matter in Gmail addresses - Gmail Help
Gmail also .

john.smith@gmail.com
jo.hn.sm.ith@gmail.com
j.o.h.n.s.m.i.t.h@gmail.com

as long as dots aren’t consecutive it’s fine, the problem is if you have double dots

250 OK EnvelopeAddress("test.test.test@test.com")
RSET
250 Reset state
mail from:<test..test@test.com>
501-Syntax error in command or arguments:  --> 1:17
501-  |
501-1 | mail from:<test..test@test.com>```

But for this email will be issuss.

<~* 501-Syntax error in command or arguments:  --> 1:10
<~* 501-  |
<~* 501-1 | RCPT TO:<.test@gmail.com>
<~* 501-  |          ^---
<~* 501-  |
<~* 501   = expected local_part or at_domain

ah https://github.com/KumoCorp/kumomta/issues/77 :slightly_smiling_face:

I don’t think Gmail allows start,end, or consecutive dots. And we do not support old docomo (non rfc) addresses. Double dots embedded in the local parts can be used if it is in quotes.

OK

I find that surprising, but thank you.