Incoming Email doesn't support mail without message id

we have some customers that don’t have a messageID in their emails, discourse gives this error:

Email can not be processed: Email::Receiver::NoMessageIdError
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/logger.rb:74:in `add_with_opts'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-1.0.1/lib/logster/logger.rb:35:in `add'
/usr/local/lib/ruby/2.0.0/logger.rb:445:in `warn'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:33:in `handle_failure'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:28:in `rescue in process_popmail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:24:in `process_popmail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:81:in `block (2 levels) in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:688:in `block in delete_all'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `each'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `delete_all'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:80:in `block in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:79:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:15:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

<rant>
Why on :earth_americas: would anyone send a mail without a message id? :rage:
</rant>

Can I get the raw email? Do you know what software they use to send their emails?

3 Likes

Sent via privmsg. It seems to be something called Best-Tracker.

1 Like

RFC-2822 says that Message-ID ‘SHOULD’ be present, so these messages are compliant, but it’s also completely reasonable to not support them. Modern SMTP systems rely heavily on Message-ID.

4 Likes