I am using Ruby on Rails 4, I own my own webserver with domainname, but use a local maschine to send mails.
I send mails via SMTP (ActionMailer::Base.smtp_settings = {..settings..})
To my question: Is it possible to send mails with the message-id that is like ...@example.com (my domainname) and not like ...@localhostname.mail?
And if I cannot get it from SMTP (or how ever those message-ids are generated) could I just override the message-id-header so that abcd@localhostname.mail becomes abcd@example.com? Or does that mess something up? For example when I send a mail from my system and another from my normal mail program.
Thanks in advance