User Tools

Site Tools



en:meiliserveri_seadistamine

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:meiliserveri_seadistamine [2023/04/05 09:16]
terje created
en:meiliserveri_seadistamine [2023/04/05 10:20] (current)
terje
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//+======Setting up your own mail server======
  
-xxxxxx+By default, emails are sent out from Directo via the Directo server directo.gate.ee (90.190.150.212),​ and in most cases, the user does not have to think about how their emails are being sent. However, there are exceptional situations where the ability to specify the sender server can be very helpful. In addition, all services that require the presence of the mass mail module (such as invoicing and customer emails) are also allowed in this case.
  
-======Oma meiliserveri seadistamine======+Configuration is user-based (but can also be set up globally) and can be accessed via the user card by selecting Main Menu → Personal → User. To make the settings visible, select SMTP from the Mail Sender options. The following can be set:
  
-Vaikimisi saadab kirju Directost välja Directo ​server ​''​directo.gate.ee''​ (90.190.150.212) ja enamus juhtudel ei peaks kasutaja mõtlema selle pealekuidas tema meilid minema saadetaksekuid on eriolukordikus saatja serveri määramise võimalus on vägagi abiksLisaks lubatakse sellisel juhul ka kõik massmeili mooduli olemasolu eeldavad teenused ​(arvete massmeiliminekliendikirjad jms).+  - Server and port - ports 25, 465, and 587 are open 
 +  - SSL/TLS - if encrypted communication is required, select the appropriate option according to the requirements of the SMTP server. ​TypicallySSL is the option for port 465while StartSSL/​SSL/​TLS are the secure options for all other ports. If "​NO"​ is selectedemails are sent "​openly"​ between Directo and the SMTP server without encryption. 
 +  - User - email account user (NOTE! If your mail server does not require authenticationleave the user field blank.) 
 +  - Password - email account password.
  
-Konfigureerimine on kasutajapõhine (kuid saab ka häälestada [[et:​meiliserveri_seadistamine#​ueks_konfiguratsioon_mitu_kasutajat|globaalselt]]) ja käib kasutajakaardilt **Peamenüü->​Isiklik->​Kasutaja**. Et seadistused tuleks nähtavale, tuleks valida **Meili saatja** valikust SMTP. Määrata saab: +{{:et:terje20230405-093032.png}}
-  * Server ja port - avatud on pordid **25**, **465** ja **587** +
-  * SSL/TLS - kui on va vaja krüpteeritud sidet, valik vastavalt SMTP serveri ​ nõudmistele. Tavapäraselt on pordi 465 puhul valikuks **SSL**, kõikide teiste puhul aga **StartSSL/​SSL/​TLS** (turvalised on mõlemad valikud). Valiku **EI** puhul liiguvad meilid Directo js SMTP serveri vahel "​lahtiselt"​ ilma krüpteerimata. +
-  * Kasutaja - meilikonto kasutaja (NB! Kui teie meiliserver ei vaja autentimist,​ tuleks kasutaja lahter tühjaks jätta) +
-  * Parool - meilikonto parool ​{{:et:ott20210426-094950.png}} +
-  * Testitud teenusepakkujad:​ Gmaili, Telia (mail.ee), Microlinki/​Telia (Exchange Mlx plus) ja zone.ee, kuid peaks toimima mis iganes meiliteenusepakkujaga,​ kes võimaldab ka läbi enda meili välja saata (üle SMTP). +
-  * Google Gmaili konto alt saates jääb meil ka Gmaili Saadetud kirjade kausta, justkui olekski kiri Gmailist saadetud.  +
-  * Kõik vead ja meilide mitte kohalejõudmised on oma serveri seadistust kasutades kasutaja mure, nagu ka risk oma meilikonto ära blokeerida vastuvõtvate serverite poolt. +
-  * Kui meili saatma seadistatakse mõni SMTP server ning on soov piirata ligipääsu IP põhiselt, siis ühenduse loojaks tuleks seadistata IPd: 90.190.150.210,​ 90.190.150.211,​ 90.190.150.212,​ 90.190.150.213,​ 90.190.150.82 ​   +
-=====Google Gmaili seadistamine===== +
-Google kontoga meili saatmiseks tuleb läbida ühekordne protseduur, mille käigus loote oma Google kontole eraldi "App password-i",​ ning seejärel määrate selle Directosse SMTP konfiguratsioonis parooliks.+
  
-  - Lehel [[https://myaccount.google.com/security?​pmr=1#​signin|Sign-in & security ​(Sisselogimine ja turvalisus/ Signing in to Google ​(Google'​isse sisselogimine)]] tuleb luua **App password** +  - Tested service providersGmail, Telia (mail.ee), Microlink/Telia (Exchange Mlx plus), and zone.ee, but it should work with any email service provider that allows sending emails through their own mail server ​(via SMTP). 
-  - Kuna App passwordi saab luua ainult siiskui sisse on lülitatud **2-Step Verification / 2-astmeline kinnitamine**tuleb see algatuseks sisse lülitada (kui juba pole) +  - Sending from a Google Gmail account will also save the sent email in the Gmail Sent foldermaking it appear as if the email was sent from Gmail itself. 
-      * 2-Step Verification (küsitakse Google parooli) +  ​Any errors and non-delivery of emails when using your own server configuration are the user's responsibilityas is the risk of having your email account blocked by the receiving servers. 
-      * **Get started**, toimida vastavalt juhistele (lihtsaim viis on SMSiga saada kinnitus) ​  +  If an SMTP server is configured for sending email and there is a desire to limit access based on IPthe following IPs should be configured as the connection creators90.190.150.21090.190.150.211,​ 90.190.150.212,​ 90.190.150.213,​ 90.190.150.82. 
-      * Kui tehtud võib valida päisest nool tagasiet sattuda uuesti [[https://myaccount.google.com/​security?​pmr=1#​signin|Sign-in & security (Sisselogimine ja turvalisus) / Signing in to Google (Google'​isse sisselogimine)]] lehelekus on nüüd valik **App Passwords** +  
-  ​- **App passwords** +   
-  - **Select App** alt valida __Mail__**Select device** valida //Other// ja nimeks (näiteks) Directo, siis **Generate** +=====Setting up Google Gmail===== 
-  ​Tulemuseks kuvatakse 16 kohalist koodimis ongi App password, seda saab siit kopeerida (ctrl+c) +To send emails using a Google accountyou need to go through a one-time process where you create a separate "app password"​ for your Google accountand then use it as the password ​in Directo'​s ​SMTP configuration.
-  - Eelmises punktis tehtud parool sisestada ​Directo SMTP meilikonto parooliks +
-  - Gmaili puhul tuleks meili serveriks Directo konfiguratsioonis määrata **smtp.gmail.com:​465** ning SSL/TLS **SSL**+
  
 +    - Go to [[https://​myaccount.google.com/​security?​pmr=1#​signin|Sign-in & security / Signing in to Google]] and create an App password
 +  - 2-Step Verification must be turned on in order to create an App password, if it is not already on
 +  * Select 2-Step Verification and click Get started, follow the instructions (the easiest way is to receive a verification code via SMS)
 +  * Once done, select the back arrow in the header to return to the [[https://​myaccount.google.com/​security?​pmr=1#​signin|Sign-in & security / Signing in to Google]] page, where you should now see the option for App Passwords
 +  * Select App passwords
 +  * Under Select App, choose Mail, under Select device, choose //Other// and name it (for example) Directo, then click Generate
 +  * A 16-digit code will be displayed, which is the App password. Copy this code (ctrl+c)
 +  * Use this code as the SMTP password for your Directo mail account
 +  * For Gmail, set the mail server to smtp.gmail.com:​465 in the Directo configuration,​ and use SSL as the SSL/TLS protocol.
  
-=====office365 seadistamine=====+=====Office365 configuration=====
  
-   * Server ''​smtp.office365.com:​25''​ +  ​* Server ''​smtp.office365.com:​25''​ 
-   ​* SSL/​TLS: ​**StartSSL/​SSL/​TLS** +  * SSL/TLS: StartSSL/​SSL/​TLS 
-   ​* MFA (multi factor authentication) ​puhul tuleb luua Directo jaoks app password +  In case of MFA (multi-factor authentication), an app password ​needs to be created for Directo 
-   ​* [[https://​admin.microsoft.com|Microsoft 365 admin center]] > Users > Active user > [Kasutaja] > Mail > Manage email apps \\ Siit peab valitud olema **Authenticated SMTP** \\ {{:​et:​ott20221229-151638.png}} +  * [[https://​admin.microsoft.com|Microsoft 365 admin center]] > Users > Active user > [User] > Mail > Manage email apps \ Here, Authenticated SMTP must be selected ​\ {{:​et:​ott20221229-151638.png}} 
- +:?: If an error //ERR: 334// occurs during sending, read the guide [[et:​office365_334|here]]
-:?: Kui saatmisel tekkib viga //ERR: 334// loe juhendit ​[[et:​office365_334|siit]] +
 =====Zone===== =====Zone=====
-   Server oleneb ​Zone seadistustestKontrolli, mis on sinu domeeni ​SMTP server [[https://​help.zone.eu/​kb/​e-posti-serverid/​|siin]], serveriks võib olla näiteks  ​''​smtp.zone.ee:​465''​, aga ka ''​smtp.zone.eu:​465''​ +     The server depends on Zone settingsCheck what is your domain'​s ​SMTP server [[https://​help.zone.eu/​kb/​e-posti-serverid/​|here]], the server could be for example ​''​smtp.zone.ee:​465'' ​or ''​smtp.zone.eu:​465''​. 
-   ​* SSL/​TLS: ​**SSL** +  * SSL/TLS: SSL 
-=====Üks konfiguratsioonmitu kasutajat=====+=====One configurationmultiple users===== 
 + 
 +There are situations (such as when a company has its own mail server) where there is a need to set the same configuration for all users when sending emails. To do this, it is possible to configure the settings for one user and then set the user's code as the System Code: "Mail sending user code - the SMTP configuration of this user is the basis for sending emails"​.
  
-On olukordi (firmal on oma meiliserver näiteks)kus on vajadus saatmisel määrata kõikidele kasutajatele sama konfiguratsioonSelleks on võimalus seadistused määrata ühele kasutajale ning siis määrata antud kasutaja kood Süsteemisedistuseks:​ ''​Meili saatmise kasutaja kood antud kasutaja SMTP konfiguratsioon on aluseks meilide saatmisel''​ +As a resultall users automatically receive the same configurationHowever, it is still possible to set user-specific settings, such as only the username and password ​(in this case, the server ​is already taken from the global user configuration).
-Selle tulemusena saavad kõik kasutajad automaatselt sama konfiguratsiooni. Samas jääb võimalus määrata kasutajapõhiselt näiteks ainult kasutaja ja parool ​(server ​tuleb sellisel juhul juba globaalse kasutaja konfiguratsioonist).+
  
 =====Directo-Reply-To===== =====Directo-Reply-To=====
-Tavaolukorras määratakse meili saatmisel ​FROM aadressiks ehk saatjaks alati kasutajakaardile määratud e-maili aadress.  +In regular situations, the FROM address or sender for email sending is always the email address assigned to the user card
-Soovikorral saab meili saatmise vormingut muuta selliseltet saatja aadressiks on firmanimi@event.data.directo.ee ​ning reply-to ​päiseks määratakse kasutajakaardi e-maili aadressSelleks tuleks kasutajakaardi **Peamenüü->Isiklik->Kasutaja** määrata **Meili saatja** valikust **Directo-Reply-to**+If desiredthe email sending format can be changed so that the sender address is company_name@event.data.directo.ee ​and the reply-to ​header is set to the email address assigned to the user cardTo do this, in the user card under Main Menu -> Personal ​-> User, select Email sender from the dropdown menu and choose ​Directo-Reply-to.
  
-Sellisel juhul on küll saatja aadress vastuvõtjale visuaalselt küll justkui ​Directo ​omakuid kui selliselt saadetud kirjale vastatamääratakse vastuse saajaks ikka õige aadress ​(see kes algselt ​reply-to ​päisesse määratud oli).+In this case, the sender address appears visually to the recipient as Directo'sbut when replying to the email sent in this waythe reply will still be sent to the correct address ​(the one originally set in the reply-to ​header).
  
-Antud valik võib sobilik olla olukorras, kus ei ole soovi SPF kirjet muuta (Directot lubada firma domeeni saatjaks), kuid Directost meili saates sattuvad kirjad rämpsposti või ei lähe üldse kohale kuna rakendub ​[[et:​kui_meilid_tulevad_tagasi|SPF ​piirang]].+This option may be suitable in situations where there is no desire to change the SPF record ​(to allow Directo to be authorized as the sender for the company domain), but emails sent from Directo are treated as spam or not delivered at all due to [[et:​kui_meilid_tulevad_tagasi|SPF ​restrictions]].
  
-Aadresskellena saadetakse on oma olemuselt[[et:​postkast#​suendmuse_postkast| Directo ​sündmuse postkasti aadress]]. See omakorda tähendab seda, et kui meili saatmine ebaõnnestub ja "põrkab tagasi", ​siis kuna vastus saadetakse vigade korral ikkagi otse saatja aadressilesiis jõuab see Directosse Sündmuste moodulisse sündmusenakust saab juba tuvastada vea põhjuse.+The address that is used as the sender is, in essence, [[et:​postkast#​suendmuse_postkast| Directo ​event mailbox address]]. This means that if email sending fails and it "bounces back", ​since the response is still sent directly to the sender address in case of errorsit will end up in the Directo Event module as an eventwhere the cause of the error can be identified.
  
 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\
  
en/meiliserveri_seadistamine.1680675414.txt.gz · Last modified: 2023/04/05 09:16 by terje