NUC Email

From wikidb
Jump to: navigation, search

Back

Rainier NUC

References

Postfix

Install

Postfix

 sudo apt-get install postfix

select

  • Internet Site (SMTP)
  • mail name is zdome.net

Test

 epp@rainier:~$ telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 rainier ESMTP Sendmail 8.14.4/8.14.4/Debian-4.1ubuntu1; Tue, 12 May 2015 16:30:54 -0700; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
 ehlo localhost
 250-rainier Hello localhost [127.0.0.1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-EXPN
 250-VERB
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH DIGEST-MD5 CRAM-MD5
 250-DELIVERBY
 250 HELP
 quit
 221 2.0.0 rainier closing connection
 Connection closed by foreign host.

I don't see "250-STARTTLS"

Dovecot

Install

Dovecot

 sudo apt-get install dovecot-imapd dovecot-pop3d

created a self signed certificate for SSL/TLS

local host name rainier

Test

 epp@rainier:~$ sudo start dovecot
 dovecot start/running, process 17440
 
 epp@rainier:~$ ps -A | grep dovecot
 17440 ?        00:00:00 dovecot
 
 epp@rainier:~$ telnet localhost imap2
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot (Ubuntu) ready.
 
 openssl s_client -connect mail.domain.ext:993
 openssl BAD Error in IMAP command received by server.
 
 ^]
 
 telnet> quit
 Connection closed.
 epp@rainier:~$
 
 epp@rainier:~$ cat /var/log/mail.err
 epp@rainier:~$