{"id":2367,"date":"2025-03-17T16:49:52","date_gmt":"2025-03-17T16:49:52","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/?page_id=2367"},"modified":"2025-07-30T13:44:28","modified_gmt":"2025-07-30T13:44:28","slug":"sending-emails-from-research-vms","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/user-faq\/sending-emails-from-research-vms\/","title":{"rendered":"Sending emails from research VMs"},"content":{"rendered":"<p>RVMs can send emails. This is primarily intended to be used as a fallback when services provided can&#8217;t leverage central UoM authentication systems, and to send notifications for services that don&#8217;t supports other ways of communication.<\/p>\n<p>Emails sent to internal addresses (<code>@manchester.ac.uk<\/code>) should work by default, whereas sending emails to the outside might require explicit whitelisting and DNS configuration.<\/p>\n<h2>Emails to internal UoM addresses<\/h2>\n<h3>The easy way<\/h3>\n<p>All VMs should be provided with an up-and-running Mail Transfer Agent (like Exim or Postfix). Those have been pre-configured to send emails.<\/p>\n<p>Any program acting like a Mail User Agent (like <code>mail<\/code> from GNU&#8217;s <code>mailutils<\/code> or most <em>email libraries<\/em>) will either pick it up automatically it or must be configured to point to <code>localhost:25<\/code>.<\/p>\n<p>NB: you might be flagged if you send large volumes of emails without having previously asked for your machine to be whitelisted. You can request to be whitelisted but keep in mind that sending emails from RVMs is mostly meant as a way to allow email registration when using LDAP\/AD is not possible; therefore email traffic should be minimal.<\/p>\n<h3>The harder way<\/h3>\n<p>Should you not want to run a full-fledged instance of Exim\/Postfix, all VMs on RVMI can access <code>smtp.manchester.ac.uk<\/code> and use it as MTA (NB: <code>mailrouter.mcc.ac.uk<\/code> and <code>mailrouter.man.ac.uk<\/code> are alternative names to the same service).<\/p>\n<h2>Emails to external addresses<\/h2>\n<h3>From custom domains<\/h3>\n<p>If you own a custom domain, the easiest way is to use an external email delivery service for your custom domain. They are usually cheap enough and <em>are<\/em> your best bet when it comes to your emails not being classified as spam.<\/p>\n<p>If your custom domain name is UoM-managed, see below.<\/p>\n<h3>From UoM subdomains or custom domains managed by the UoM<\/h3>\n<p>Open a <a href=\"https:\/\/connect.manchester.ac.uk\/esc?id=sc_cat_item&#038;sys_id=9bcb48641b364a1002ea404cd34bcb7c\" rel=\"noopener\" target=\"_blank\"><em>IT4IT<\/em> ticket<\/a> with <em>Linux\/Unix Server Management<\/em> and ask for your specific RVM (including IP address) to be whitelisted to send emails. <\/p>\n<p>You also need to <a href=\"https:\/\/connect.manchester.ac.uk\/esc?id=sc_cat_item&#038;table=sc_cat_item&#038;sys_id=271db6c11b21ce1002ea404cd34bcb19\" rel=\"noopener\" target=\"_blank\">open a ticket<\/a> for your IP to be properly associated to your server (<code>A<\/code> and <code>PTR<\/code> DNS records) and for the relevant other fields (<code>SPF<\/code>, <code>DKIM<\/code> and, possibly, <code>DMARC<\/code> records) to be set to appropriate values (those are controlled by UoM). Typically, the <code>MX<\/code> record won&#8217;t be set as your RVM is not meant to receive emails. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>RVMs can send emails. This is primarily intended to be used as a fallback when services provided can&#8217;t leverage central UoM authentication systems, and to send notifications for services that don&#8217;t supports other ways of communication. Emails sent to internal addresses (@manchester.ac.uk) should work by default, whereas sending emails to the outside might require explicit whitelisting and DNS configuration. Emails to internal UoM addresses The easy way All VMs should be provided with an up-and-running.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/user-faq\/sending-emails-from-research-vms\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":35,"featured_media":0,"parent":14,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2367","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/pages\/2367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/comments?post=2367"}],"version-history":[{"count":9,"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/pages\/2367\/revisions"}],"predecessor-version":[{"id":2398,"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/pages\/2367\/revisions\/2398"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/pages\/14"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/rvms\/wp-json\/wp\/v2\/media?parent=2367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}