So we have to create a rule from office365 to forward the mail to that “bugs” queue Were do we create that “bugs” queue is that a folder within RT then the rule in /etc/aliases will then push the email into RT is that correct?
For the record since your email appears to be “itsupport” you should have “itsupport” in place of “bugs” in your aliases file. And for now instead of piping the email into the “bugs” queue in RT you can do the
“general” queue since that queue is created by default in RT.
Assuming you have something like Postfix installed and handling the incoming email on the RT server, all you need to do is update the aliases file entry and run
new aliases then you should be able to watch the mail logs:
tail -f /var/log/mail.log
And see your email being sent to the server, once you confirm your email is making it to the RT server ( If it isn’t maybe port 25 is blocked via firewall settings? ) you can then watch the webserver logs ( Apache is most common ):
tail -f /var/log/apache/error.log
You should either see the ticket created in RT or some logging about why it wasn’t created in RT if the incoming email used you aliases entry.