Danh mục

Thiết lập Mail Server trên nền tảng Debian- P3

Số trang: 5      Loại file: pdf      Dung lượng: 282.46 KB      Lượt xem: 14      Lượt tải: 0    
tailieu_vip

Phí tải xuống: miễn phí Tải xuống file đầy đủ (5 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

Tham khảo tài liệu thiết lập mail server trên nền tảng debian- p3, công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Nội dung trích xuất từ tài liệu:
Thiết lập Mail Server trên nền tảng Debian- P3homeDirectory: /var/mail/middle.earth/s/sammail: sam@middle.earthmailHost: 172.16.16.23mailQuota: 102400objectClass: inetLocalMailRecipientobjectClass: inetOrgPersonobjectClass: posixAccountobjectClass: topsn: GamjiuidNumber: 8uid: samuserPassword::e01ENX1NeVV5M1BxaHkvWWVLaVpyMXlOaExBPT0=mailLocalAddress: sam@middle.earthmailLocalAddress: gamji@middle.earthmailLocalAddress: shire@middle.earthdn:uid=frodo,dc=middle.earth,ou=domains,dc=middle,dc=earthcn: frododisplayName: Frodo BagginsgidNumber: 8givenName: FrodohomeDirectory: /var/mail/middle.earth/f/frodomail: frodo@middle.earthmailHost: 172.16.16.23mailQuota: 102400objectClass: inetLocalMailRecipientobjectClass: inetOrgPersonobjectClass: posixAccountobjectClass: topsn: BagginsuidNumber: 8uid: frodouserPassword::e01ENX04UGlDRHVnWEdCMmNhRktnbDljTmpRPT0=mailLocalAddress: frodo@middle.earthmailLocalAddress: baggins@middle.earthmailLocalAddress: shire@middle.earthdn:uid=gmail,dc=middle.earth,ou=domains,dc=middle,dc=earthcn: gmailmail: alxgomz@gmail.commailHost: 172.16.16.23mailRoutingAddress: alxgomz@gmail.comobjectClass: inetMailForwarderobjectClass: inetOrgPersonobjectClass: topsn: alias to Gmail addressuid: gmailThiết lập MTAsTại đây, chúng ta sẽ sử dụng MTA Exim4 trên hệ thốngMX, server làm nhiệm vụ chuyển tiếp và lưu trữ email.Với server chuyển tiếp:Trước tiên, chúng ta cần gán thêm repository volatile trongfile /etc/apt/source.list.d/volatile.list:deb http://volatile.debian.org/debian-volatile lenny/volatilemainvà cập nhật cơ sở dữ liệu apt:sudo apt-get updateSau đó là bước cài đặt exim4, nhớ chọn Yes để chia nhỏcác file cấu hình:sudo apt-get install exim4-daemon-heavy clamav-daemonclamav-freshclam opensslTheo thứ tự, để sử dụng TLS thông qua các session củaSMTP thì hệ thống cần có chứng nhận – certificate. Đó cóthể là chứng nhận do các tổ chức, doanh nghiệp cung cấphoặc chỉ là do hệ thống tự tạo ra. Ở đây, chúng ta sẽ sửdụng trường hợp thứ 2 - certificate tự tạo, khi sử dụng cácmáy tính trạm sẽ hiển thị thông tin cảnh báo về nhữngcertificate này.Tạo RSA key:openssl genrsa 2048chmod 640 exim.keyYêu cầu Certificate:openssl req -new -key exim.key -out exim.csrXác nhận Certificate:openssl x509 -req -signkey exim.key -in exim.csr -days9999 -out exim.cCopy file:chown Debian-exim exim.keysudo cp exim.key exim.crt /etc/exim4Kích hoạt TLS trong file /etc/exim4/update-exim4.conf.conf:...MAIN_TLS_ENABLE=true...Sau đó, tạo file macro khởi tạo/etc/exim4/conf.d/main/04_mailMEOmacrodefs:ldap_default_servers = ldap.middle.earth.ifndef MAILMEO_DOMAINROOTMAILMEO_DOMAINROOT =

Tài liệu được xem nhiều: