mail parse error
weppami opened this issue · 3 comments
Hi Kostya,
I am experimenting with your docker image, and it works very well (nice job !!) except for a printer alert that i'm setting up.
Here the log message :
time="2020-01-24T08:09:58Z" level=debug msg="Client sent: MAIL FROM: HP4345ACC@brma.local" time="2020-01-24T08:09:58Z" level=error msg="MAIL parse error[ HP4345ACC@brma.local]" error="501 5.5.4 Invalid address" time="2020-01-24T08:09:58Z" level=debug msg="Writing response to client: \n501 5.5.4 Invalid address\r\n" time="2020-01-24T08:09:59Z" level=debug msg="Client sent: " time="2020-01-24T08:09:59Z" level=warning msg="Client closed the connection: 192.168.0.89" error=EOF
Any suggestions to make it work ?
Thanks again !!
--
PG
I encountered the same thing, most likely this is coming from Guerilla (Go SMTP server package). Did you try quoting e-mail in <...>
? So it would become <HP4345ACC@brma.local>
. It worked in my case.
I tried with no success, the problem I see is that the printer adds a space before the actual email address so it's
[ address]
let me know if you find a workaround...
Thanks !!
I'm going to close this as there's no activity here.
It looks like the incoming email was corrupted, and it should probably be fixed on the sender side.
If you could provide the full email (envelope + headers) which causes this error (so I could reproduce it on my end), then I could try to see if it is possible to tweak Guerilla to accept it.