This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
linux:emailserver [2011/12/15 21:43] tkilla created |
linux:emailserver [2015/01/16 09:54] tkilla |
||
---|---|---|---|
Line 2: | Line 2: | ||
howto setup, test, spamcheck, ... | howto setup, test, spamcheck, ... | ||
+ | |||
+ | |||
+ | === Testing connections to mailserver: === | ||
+ | |||
+ | **port 25:** | ||
+ | |||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | 220 example.com ESMTP | ||
+ | ehlo testing | ||
+ | ... | ||
+ | |||
+ | you should receive some STARTTLS auth lines. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | **check cert:** | ||
+ | | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | **links: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | |||
+ | |||
+ | === Test sending mail: === | ||
+ | |||
+ | mail -s "Hello world" tk@synoptx.net | ||
+ | |||
+ | then enter body | ||
+ | + 2x Ctrl+D | ||
+ | |||
+ | |||
+ | echo "This will go into the body of the mail." | mail -s "Hello world" tk@synoptx.net | ||
+ |