Latest Post

🚨 BẢO MẬT WEB THỜI ĐẠI AI: HACKER DÙNG AI, BẠN VẪN BẢO VỆ WEBSITE THEO CÁCH CŨ? 🚨 CẢNH BÁO BẢO MẬT: HACKER CÓ THỂ ĐANG NHẮM ĐẾN FILE config.php CHỨA MẬT KHẨU DATABASE! UEFI Package sử dụng thư viện xử lý hình ảnh có rất nhiều lỗ hỏng bảo mật. Wireless LAN Router của ELECOM có lỗ hỏng bảo mật OS Command injection Note: setting days for Crontab Launching AWS EC2 Instance using Python Tự động phát hành SSL Certificate hết hạn Let’s Encrypt Verify if crontab works Cách xem thời hạn của Let’s Encrypt SSL Certificate AWS EC2 Instance: jum update failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try. Nhập môn Python: Chương 2 Hello World thử viết chương trình python đơn giản. Python – Anaconda: Cài đặt Anaconda môi trường lập trình python Nhập môn Python: Chương 1 Python là gì? MySQL – GRANT: Tạo user, set lại password, xem và cấp quyền cho user. Python – Multithread – Queue – File: Xử lý đa luồng dùng chung dữ liệu trên cùng một file dùng hàng đợi(Queue) ⑤Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay . ④Ubuntu – Postfix – Dovecot : SSL/TSL security mail server setting, một phát ăn ngay. ③Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. ②Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. ① Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. Python – Pandas: lấy data từ file csv. Newbie – Python – Selenium: Tự động login Facebook với trình duyệt Chrome Newbie – Python – Skype: Gửi Message tới Skype chat group hoặc user bằng ngôn ngữ Python. Newbie – Python – PostgreSQL: Kết nối với cơ sở dữ liêu PostgreSQL bằng ngôn ngữ Python. Newbie – Python – SQL Server: Kết nối với cơ sở dữ liệu SQL Server bằng ngôn ngữ Python. Newbie – Python – Mysql: Kết nối với cơ sở dữ liêu MySQL bằng ngôn ngữ Python. Basic Authentication Setting How to setup AWS VPN Client 【GCP】Compute Engine’s Disk Expansion Linux Commands WordPress 404 Page Error (Post)
1 0
Read Time:1 Minute, 36 Second

Mục lục

Ubuntu 20.04: Mail server.

Tạo mail account.

Đăng ký 1 mail account.

①Nếu dùng account của hệ điều hành ubuntu thì không cần phải đăng ký mail account cũng được.

# Install mail tool
root@mail:~# apt -y install mailutils

# Cấu hình cho hộp thư tham chiếu tới Maildir
root@mail:~# echo 'export MAIL=$HOME/Maildir/' >> /etc/profile.d/mail.sh

# Cấu hình cho hộp thư tham chiếu tới Maildir
root@mail:~# adduser test

②Thử login bằng account mới tao và gửi mail.

# Gửi test mail tới chính mình [mail (username)@8hostname)]
root@mail:~# mail test@localhost
# Cc tới
Cc:
# Mail subject
Subject:Test Mail#1
# Nội dung mail
This is the first mail.

# Khi soạn xong mail ta kết thúc bằng cách nhấn tổ hợp 2 phím: Ctrl + D

# Xem nội dung mail
Tubuntu@mail:~$ mail
T"/home/ubuntu/Maildir/": 1 message 1 new
>N   1 test                               13/442   Test Mail#1

# Nhập số thứ tự để hiển thị mail mong muốn
? 1
Return-Path: <ubuntu@mail.srv.world>
X-Original-To: ubuntu@localhost
Delivered-To: ubuntu@localhost
Received: by mail.srv.world (Postfix, from userid 1000)
        id 7A845403D2; Mon, 18 May 2020 20:35:41 -0600 (CST)
To: <ubuntu@localhost>
Subject: Test Mail#1
X-Mailer: mail (GNU Mailutils 3.7)
Message-Id: <20200519023541.7A845403D2@mail.srv.world>
Date: Mon, 18 May 2020 20:35:41 -0600 (CST)
From: ubuntu <ubuntu@mail.srv.world>

This is the first mail.

# Muốn kết thúc ta nhấp phím [q]
? q
Saved 1 message in /home/ubuntu/mbox
Held 0 messages in /home/ubuntu/Maildir/

Video hướng dẫn từng bước cụ thể.

Đang chuẩn bị

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *