Author Topic: Non compliance with RFC 5321  (Read 2787 times)

garyelmes

  • Newbie
  • *
  • Posts: 1
Non compliance with RFC 5321
« on: January 05, 2019, 07:00:09 am »
Hi.

I've noticed that Aqua mail appears to have a small but irritating non-compliance with RFC 5321.

When testing the server configuration by logging in and testing sending of email to the SMTP server, Aqua mail sends a non-compliant "MAIL FROM:" command. The command is sent in the form "MAIL FROM: <user@example.com>" rather than in the compliant form of "MAIL FROM:<user@example.com>"; i.e. there is a space between the "FROM:" and the reverse path. It may do this when actually sending emails as well - I couldn't get that far :-)

This means that Aqua mail is unable to validate against a dovecot/submission server unless that server is specifically configured to handle this type of broken behaviour. By default, dovecot will respond with a 501 error "Invalid FROM: Unexpected whitespace before path" unless it has been configured with "submission_client_workarounds = whitespace-before-path".

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Non compliance with RFC 5321
« Reply #1 on: January 08, 2019, 12:45:16 pm »
I'll check this thanks.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Non compliance with RFC 5321
« Reply #2 on: January 08, 2019, 01:08:22 pm »
Same with

RCPT TO: <...>

I suppose - but you don't get that far without enabling the workaround, and once you do, that doesn't matter. Right?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Non compliance with RFC 5321
« Reply #3 on: January 08, 2019, 02:03:06 pm »
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/