I was writing a bash script file to install an application which involves make file. I found that
echo "hello" | tee -a log.txt
can write the output to console as well as file.
How can I write the result of a make target command like this as the above method works only on console. This is the format of execution of make.
Athul R T
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hello Ajith Sir,
On Mon, Aug 03, 2020 at 08:03:50PM +0530, Ajith Kumar wrote:
> I am just trying to set up various services on a digitalocean
>droplet. At present a web server, Moodle LMS and Bigbluebutton video
>conferencing server are running. The site is at https://scischool.in/ , the
>objectives are mentioned there.
>Like to try a mail server , like postfix. Any help in that direction would
>be very useful.
Setting up mail servers are proving to be very challenging these days
due to two reasons:
1. There are many parts (more on this later)
2. The mails from the server often get rejected as spam. This needs a
bit of work.
There are two information that would be useful:
1. Are you setting up the mail server on the same droplet as moodle?
2. What do you intend to do with it?
Mail Server Components
A mail server has several components. Postfix is just one. You will need
to install and configure all of them. There are turnkey solutions
available and they are described later.
1. Mail Transfer Agent (MTA): Postfix is an MTA. This is used to send
2. Mail signer: OpenDKIM is used to sign mails. Unsigned mails are just
dropped by most receiving servers.
3. Mail Delivery Agent: Dovecot. This is used to receive mails. You
don't need this if you just want to send out mails (like from moodle).
You'll need it if you want to hand out user accounts and receive mails.
4. Spam filter: SpamAssasin or RSpamd
5. Web Client: Roundcube, Sogo etc. One of this is needed if you need to
Configuration of all these parts well is a bit of a challenge. Most of
us prefer to use turnkey solutions. Some are:
1. Mail in a Box (https://mailinabox.email/). Mail in a box needs a VM
of its own.
2. Mailu (https://mailu.io/1.7/). Can run in docker
3. Mailcow (https://mailcow.email/). Can run in docker
If none of these solutions are viable, there are deployment scripts
(mostly ansible) that allow you to deploy them remotely and
Manual configuration is still possible, but is very involved. It can be
used if none of the above are viable.
None of these measures ensure that your mails wont be dropped by another
server as spam. This needs more work.
1. Blacklisted IP and domains: You need to make sure that your IP
address and domain are not blacklisted. It's possible to get them
2. Reverse DNS: You should set R-DNS for your server. Not very hard on
3. DKIM, SPF, DMARC: These are standards used to reassure other servers
that your server is trustworthy.
Despite all these, they do get often dropped - especially by Google
(gmail, gsuite) and Microsoft (hotmail, office365). It's just a game of
patience - getting your mails marked as not spam by others.
These are the intial information I can offer you. Let us get to know
your specific requirements and we can come up with some solution.
Gokul Das B
Based on our discussion today in video conference, I encourage everyone
to share your vim, neovim or emacs configuration here. These are great
editors that are as powerful as any IDE. For many including me, they are
the center of digital life. Infact, I am typing this mail on Neovim with
format=flow method. Share any additional info or interesting information
about your editor too.
Here is my Neovim configuration:
- Plugin manager: junegunn/vim-plug
- Completion and language support: neoclide/coc.nvim
- Language highlighting: sheerun/vim-polyglot
- Formatting: sbdchd/neoformat
- Make/Build: neomake/neomake
- Clipboard: christoomey/vim-system-copy
- Status line: vim-airline/vim-airline
- File browser: preservim/nerdtree
- Icons: ryanoasis/vim-devicons
- Table formatting: dhruvsagar/vim-table-mode
- Git integration: tpopt/vim-fugitive
- Markdown preview: euclio/vim-markdown-composer
- Theme: dracula/vim
There are custom keybindings, integration with TMux, editor
configurations etc. Here are some of the ways I used neovim:
1. Programming in multiple languages with autocompletion and linting
- Autoformat and build is also available
- Code folding using fold markers
2. Create email like this
3. Edit markdown with live HTML preview (no need to even save)
- Table mode allows live auto format of tables
4. Manage my system configs and dotfiles
Let me know what you folks think and of any questions you have. Don't
forget about posting your own configurations and cool concepts.
Gokul Das B (goku12)