Änderungen

Aus Civil Commons

Wechseln zu: Navigation, Suche

Civil Commons:Roadmap 2020 - Docker Technologie

33 Byte entfernt, 20:53, 24. Mär. 2019
keine Bearbeitungszusammenfassung
[https://decatec.de/home-server/linux-einfach-e-mails-senden-mit-ssmtp/ https://decatec.de/home-server/linux-einfach-e-mails-senden-mit-ssmtp/]
 
sudo nano /etc/ssmtp/ssmtp.conf
 #<prebr /> # Config file for sSMTP sendmail  #<br /> # The person who gets all mail for userids < 1000<br /> # Make this empty to disable rewriting.<br /> root=info@civilcommons.eu<br /><br /> # The place where the mail goes. The actual machine name is required no<br /> # MX records are consulted. Commonly mailhosts are named mail.domain.com<br /> mailhub=smtp.office365.com:587<br /><br /> # Where will the mail seem to come from?<br /> rewriteDomain=civilcommons.eu<br /><br /> # The full hostname<br /> #hostname=info@civilcommons.eu<br /> hostname=192.168.137.40<br /><br /> # Are users allowed to set their own From: address?<br /> # YES - Allow the user to specify their own From: address<br /> # NO - Use the system generated From: address<br /> FromLineOverride=YES<br /><br /> AuthUser=info@civilcommons.eu<br /> AuthPass=********<br /> UseTLS=YES <br /> UseSTARTTLS=YES
 #<br /> # Config file for sSMTP sendmail
 #sudo <br /span class="crayon-v"> # The person who gets all mail for userids nano< 1000<br /span> # Make this empty to disable rewriting.<br /> rootspan class=info@civilcommons.eu<br /"crayon-o"><br /> # The place where the mail goes. The actual machine name is required no<br /span> # MX records are consulted. Commonly mailhosts are named mail.domain.com<br /> mailhubspan class=smtp.office365.com:587<br /"crayon-v">etc<br /span> # Where will the mail seem to come from?<br /> rewriteDomainspan class=civilcommons.eu<br /"crayon-o"><br /> # The full hostname<br /span> #hostname=info@civilcommons.eu<br /> hostnamespan class=192.168.137.40<br /"crayon-v">ssmtp<br /span> # Are users allowed to set their own From: address?<br /> # YES - Allow the user to specify their own From: address<br /> # NO span class="crayon- Use the system generated From: address<br /o"> FromLineOverride=YES<br /><br /span> AuthUser=info@civilcommons.eu<br /> AuthPassspan class=********<br /"crayon-v"> UseTLS=YES revaliases<br /span> UseSTARTTLS=YES
 # sSMTP aliases<br /pre>  sudo  #<span class="crayon-v">nano</span> <span class="crayon-o">br /</span><span class="crayon-v">etc # Format:       local_account:outgoing_address:mailhub<br /span> #<span class="crayon-o">br /</span><span class="crayon-v">ssmtp # Example: root:your_login@your.domain:mailhub.your.domain[:port]<br /span> # where [:port] is an optional port number that defaults to 25.<span class="crayon-o">br /</span><span class="crayon-v">revaliases root:info@civilcommons.eu:smtp.office365.com:587<br /span> ccom:info@civilcommons.eu:smtp.office365.com:587
<span class="crayon-v"><pre></span>
 # sSMTP aliases<br /> #<br /> # Format:       local_account:outgoing_address:mailhub<br /> #<br /> # Example: root:your_login@your.domain:mailhub.your.domain[:port]<br /> # where [:port] is an optional port number that defaults to 25.<br /> root:info@civilcommons.eu:smtp.office365.com:587<br /> ccom:info@civilcommons.eu:smtp.office365.com:587
</pre>
<span class="crayon-v">echo -n 'Subject: test\n\nTesting ssmtp' | sendmail -v sfrenzel@kybeidos.de</span>
<pre> ccom@lk19_proxy:~$ <br /> [<-] 220 DB7PR04CA0019.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 24 Mar 2019 19:35:17 <br />   +0000<br /> [->] EHLO 192.168.137.40<br /> [<-] 250 SMTPUTF8<br /> [->] STARTTLS<br /> [<-] 220 2.0.0 SMTP server ready<br /> [->] EHLO 192.168.137.40<br /> [<-] 250 SMTPUTF8<br /> [->] AUTH LOGIN<br /> [<-] 334 VXNlcm5hbWU6<br /> [->] aW5mb0BjaXZpbGNvbW1vbnMuZXU=<br /> [<-] 334 UGFzc3dvcmQ6<br /> [<-] 235 2.7.0 Authentication successful<br /> [->] MAIL FROM:<info@civilcommons.eu><br /> [<-] 250 2.1.0 Sender OK<br /> [->] RCPT TO:<sfrenzel@kybeidos.de><br /> [<-] 250 2.1.5 Recipient OK<br /> [->] DATA<br /> [<-] 354 Start mail input; end with <CRLF>.<CRLF><br /> [->] Received: by 192.168.137.40 (sSMTP sendmail emulation); Sun, 24 Mar 2019 19:35:18 +0000<br /> [->] From: "Civil Commons" <info@civilcommons.eu><br /> [->] Date: Sun, 24 Mar 2019 19:35:18 +0000<br /> [->]<br /> [->] .<br /> [<-] 250 2.0.0 OK <DB6PR07MB34805AC3E5BCE181980C278BCD5D0@DB6PR07MB3480.eurprd07.prod.outlook.com>   <br />   [Hostname=DB6PR07MB3480.eurprd07.prod.outlook.com]<br /> [->] QUIT<br /> [<-] 221 2.0.0 Service closing transmission channel
</pre>
BdB_Heidelberg, Bibliothek_KH, DAI_Makerspace_Projekt, Graphiken KF, Landfried, N_E_U_Project, Projekt_BdB_Heidelberg, Projekt_Civil_Commons, Projekt_Landfried, Projekt_OG, Team_UIEG_Heidelberg, Team_UIEV_Heidelberg, UIEG_Heidelberg, UIEV_Heidelberg, Bürokrat, Administrator, Widget-Bearbeiter
955
Bearbeitungen