{"id":57,"date":"2020-12-02T12:38:02","date_gmt":"2020-12-02T12:38:02","guid":{"rendered":"https:\/\/wordpress.debian.social\/jlines\/?p=57"},"modified":"2021-01-12T09:34:02","modified_gmt":"2021-01-12T09:34:02","slug":"ambridge-garden-club-email","status":"publish","type":"post","link":"https:\/\/wordpress.debian.social\/jlines\/2020\/12\/02\/ambridge-garden-club-email\/","title":{"rendered":"Ambridge Garden Club &#8211; email"},"content":{"rendered":"\n<p>Electronic mail was the first Federated service carried over the Internet, and in some ways it <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/UUCP\" target=\"_blank\">pre-dated<\/a> the IP based system we think of as the Internet today, as it was possible to send emails for example from systems connected via <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/UUCP\" target=\"_blank\">UUCP<\/a> to others using DECmail a long time (in internet terms) before the creation of the Web.<\/p>\n\n\n\n<p>Ambridge Garden Club members want to be able to communicate with each other over email, using, if they wish email addresses like lynda_snell@ambridge-garden-club.org.uk, and these should be, at the choice of the member, accessible using the club mail system as a store and messaging system &#8211; using the &#8220;Internet Mail Access Protocol&#8221;, or a web interface to that; or they should be forwarded on to another email system of their choice. They will want email addresses for key roles such as treasurer@ambridge-garden-club.org.uk, and for groups of people such as committee@ambridge-garden-club.org.uk.<\/p>\n\n\n\n<p>Unwanted emails (spam) should be rejected, as far as possible, while ensuring that wanted email reception and delivery are reliable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up email &#8211; an overview<\/h2>\n\n\n\n<p>Actually setting up the email for <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.debian.social\/jlines\/2020\/11\/07\/the-ambridge-garden-club\/\" data-type=\"post\" data-id=\"28\" target=\"_blank\">Ambridge Garden Club<\/a> was more convoluted than ordering the domain or purchasing the server, so there is no step by step guide. The components used are capable of scaling up to deal with many thousands of users, so have many options for configuring them, and there were other possibilities for the components as well. The ones below should be suitable for a small organisation and they should be susceptible to automated installation and configuration for future purposes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">User Database &#8211; LDAP<\/h3>\n\n\n\n<p>Information about the members of the Garden Club are stored in a Lightweight Directory Access Protocol (LDAP) database. This holds their names, and other information, such as their email address. There are many tools available for manipulating the database through web interfaces, and many of the services our club members will want to use, email, instant messaging, web page publishing and so on can use LDAP as a store of information.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mail Transport Agent &#8211; Postfix<\/h3>\n\n\n\n<p>Postfix handles mail receiving and sending to any address which ends in @ambridge-garden-club.org.uk. Some members want their mail to be forwarded to another mail system, and this is handled by a combination of postfix-ldap to find their addresses in LDAP and postsrsd, which ensures that the email forwarding is <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Sender_Rewriting_Scheme\" target=\"_blank\">Sender Rewriting Scheme<\/a> friendly.<\/p>\n\n\n\n<p>Other options would be Exim or Sendmail.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mail Server &#8211; Dovecot<\/h3>\n\n\n\n<p>The mail which is not forwarded is delivered into Dovecot. This will allow members to access their mail via their choice of email clients, such as Thunderbird, or K9mail, or the Roundcube web front end.<\/p>\n\n\n\n<p>Other options would be Courier.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Mail Filtering &#8211; Sieve<\/h3>\n\n\n\n<p>Sieve allows mail to be sorted into folders as it is delivered, or unwanted messages to be rejected, under the control of the person using the mail account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Web Frontend &#8211; Roundcube<\/h3>\n\n\n\n<p>Roundcube provides a fairly simple web interface to an IMAP server. The <a rel=\"noreferrer noopener\" href=\"https:\/\/ambridge-garden-club.org.uk\/roundcube\/\" target=\"_blank\">implementation at Ambridge Garden Club<\/a> is configured to only access its local server, and to have the sieve plugin to manage mail <\/p>\n\n\n\n<p>Other options would be <a href=\"https:\/\/en.wikipedia.org\/wiki\/SOGo\" target=\"_blank\" rel=\"noreferrer noopener\">SOGo<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"745\" src=\"https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2-1024x745.png\" alt=\"\" class=\"wp-image-64\" srcset=\"https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2-1024x745.png 1024w, https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2-300x218.png 300w, https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2-768x558.png 768w, https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2-1200x873.png 1200w, https:\/\/wordpress.debian.social\/jlines\/wp-content\/uploads\/sites\/12\/2020\/12\/Roundcube-webmail-2.png 1323w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p>Email: <a href=\"mailto:jlines@debian.org\">jlines@debian.org<\/a><\/p>\n\n\n\n<p>XMPP: <a href=\"xmpp:jlines@debian.org\">jlines@debian.org<\/a> <\/p>\n\n\n\n<p>Fediverse: <a rel=\"noreferrer noopener\" href=\"https:\/\/pleroma.debian.social\/jlines\" target=\"_blank\">@jlines@pleroma.debian.social<\/a><\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Electronic mail was the first Federated service carried over the Internet, and in some ways it pre-dated the IP based system we think of as the Internet today, as it was possible to send emails for example from systems connected via UUCP to others using DECmail a long time (in internet terms) before the creation &hellip; <a href=\"https:\/\/wordpress.debian.social\/jlines\/2020\/12\/02\/ambridge-garden-club-email\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ambridge Garden Club &#8211; email&#8221;<\/span><\/a><\/p>\n","protected":false},"author":30,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[4],"tags":[2],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-small-organisation-server","tag-ambridgegardenclub"],"_links":{"self":[{"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":5,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":67,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/posts\/57\/revisions\/67"}],"wp:attachment":[{"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.debian.social\/jlines\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}