?? DNS? ???? ?????? ??? ?? PostFix, DoveCot, MariadB, Spamassassin ? Clamav? ???? ??????. 1. ??? ??? ?? ? DNS ???? ??????. 2. Postfix? ???? ?? ??? ??? ??????. 3. DoveCot? ???? ?? ???? ? SSL? ??????. 4. ?? ? ???? ???? ???? ?? Spamassassin ? Clamav? ?????. 5. SMTP/IMAP ???? ????? ??? ????? ?????? ????? TLS ? ?? ????? ???? ???? ?? ??? ???? ????? ????? ??????.
Linux?? ?? ??? ???? ??? ? ? ??? ??? ??? ??? ??? ???? ???? ?? ?????. ?? ?? ??? ???? ??? ????? ???? ????? ? ???? ??? ??? ??? ?? ? ? ????. ? ???? ????? ???? ?? ?? ????? ? Postfix (SMTP), DoveCot (IMAP/POP3) ? MariaDB/MySQL (??? ? ??? ?? ?)? Spamassassin ? Clamav? ?? ?? ? ???? ???? ?? ?? ??? ?????.

?? : ??? ?? ??? ?????? DNS, ?? ? ?? ?????? ???????. ??? ?? ??? ???? ???? ????? ??? ?? ? ? ????.
1. ?? ?? ? ?? ??
?? ?? ??? ???? ?? ???? ?????? ??????.

- Linux ?? (Ubuntu 22.04 ?? Debian 12 ??)
- ?? IP ??
-
mail.yourdomain.com
? ?? ??? ??? ?? ??? ?? (FQDN) - DNS? ???? ??? ?? (A, MX, SPF, DKIM, DMARC)
?? ??? ??
# ???? ??? sudo apt update && sudo apt upgrade -y # ??? ??? ??? ????? sudo hostnamectl set-hostname mail.yourdomain.com
/etc/hosts
???? :
127.0.0.1 ?? ??? your_server_ip mail.yourdomain.com ??
??? DNS ???
?? | ?? | ? |
---|---|---|
?? | mail.yourdomain.com | your_server_ip |
MX | yourdomain.com | mail.yourdomain.com (?? ?? 10) |
txt | yourdomain.com | v = spf1 a mx ip4 : your_server_ip ~ ?? |
txt | default._domainkey.yourdomain.com | (DKIM ?, ??? ??) |
2. PostFix ?? ? ?? (SMTP ??)
Postfix? ??? ????? ?? ?????.

Sudo apt ?? Postfix Mariadb-Server Mariadb-Client -y
???? ?? "??? ???"? ???? ??? ?? ??? ??? (? : yourdomain.com
)?? ??????.
PostFix ?? ??
?? /etc/postfix/main.cf
:
myHostName = mail.yourdomain.com mydomain = yourdomain.com myorigin = $ mydomain inet_interfaces = ?? MyDestination = LocalHost, $ mydomain, mail. $ mydomain home_mailbox = maildir/ # ?? ??? ? ???? ?????? virtual_transport = virtual virtual_mailbox_domains = mysql : /etc/postfix/mysql-virtual-mailbox-domains.cf virtual_mailbox_maps = mysql : /etc/postfix/mysql-virtual-mailbox-maps.cf virtual_alias_maps = mysql : /etc/postfix/mysql-virtual-alias-maps.cf
MySQL ?? ??? ????
/etc/postfix/mysql-virtual-mailbox-domains.cf
? ??????.
??? = localhost user = mailuser ???? = yourpassword dbname = mailserver query = virtual_domains?? 1? ??????. ??? name = '%s'
mysql-virtual-mailbox-maps.cf
? mysql-virtual-alias-maps.cf
? ?? ???? ?????? (?? ??? ???? ?? ?? ???? ?? ? ??).
?? ???, ??? ? ??? ?????? ? ???? ???????. ??? ?? ????? ???? ???? ??????.
PostFix ??? :
sudo systemctl postfix? ?? ?????
3. DoveCot ?? ? ?? (IMAP/POP3)
DoveCot? ???? ???? ??? ?? ? ? ????.
Sudo apt ?? Dovecot-Core Dovecot-Imapd Dovecot-Mysql -y
DoveCot? ??????
?? /etc/dovecot/dovecot.conf
:
???? = IMAP POP3 mail_location = maildir :/var/mail/vhosts/%d/%n
/etc/dovecot/conf.d/auth-sql.conf.ext
?? ?? ?? :
passdb { ???? = SQL args = /etc/dovecot/dovecot-sql.conf.ext } userdb { ???? = ?? args = uid = vmail gid = vmail home =/var/mail/vhosts/%d/%n }
vmail
???? ????? ??????.
Sudo GroupAdd -G 5000 Vmail Sudo userAdd -g vmail -U 5000 Vmail -D/var/mail/vhosts -s/sbin/nologin Sudo mkdir -p/var/mail/vhosts Sudo chown -r vmail : vmail/var/mail/vhosts
SSL ??? (???? ??) :
let 's Encrypt ?? :
sudo apt install certbot -y sudo certbot certonly ---standalone -d mail.yourdomain.com
?? ?? ?? ???? DoveCot ? PostFix? CERTS? ???? ?? ???.
ssl_cert = </etc/letscrypt/live/mail.yourdomain.com/fullchain.pem ssl_key = </etc/letsencrypt/live/mail.yourdomain.com/privkey.pem
DoveCot? ?? ?? :
sudo systemctl dovecot? ?? ?????
4. ?? ? ???? ???? ??????
Spamassassin ? Clamav ?? :
Sudo apt ?? Spamassassin Clamav Daemon -y
Spamassassin ??? :
Sudo SystemCTL ??? Spamassassin Sudo Systemctl Spamassassin ??
master.cf
?? Postfix? ?? :
smtp inet n -y - -mtpd -o content_filter = ???? ?? ... Spamassassin UNIX -NN- ??? user = spamd argv =/usr/bin/spamc -f -e/usr/sbin/sendmail -oi -f $ {sender} $ {???}
Clamav? ???? ????? amavisd-new
? ???? ??? ?? ??? ??? ?? ??? ? ????.
5. ?? ??? ????? ????????
?? ???
- ?? ???? ????? ??? ???? ?????.
-
telnet
??swaks
???? SMTP? ???????.swaks-, user@yourdomain.com--from test@gmail.com--server mail.yourdomain.com
- ??? ???? Thunderbird ?? Outlook? ?? ??????.
- IMAP :
mail.yourdomain.com
, ?? 993, SSL/TLS - smtp :
mail.yourdomain.com
, ?? 587, starttls
- IMAP :
??? ??????
?? ???? :
sudo tail -f /var/log/mail.log
?? ??, ?? ?? ?? ?? ???? ?????.
?? ??
???? ?? ??? ???? ???? ?? ??? ?????.
- ?????? ?? ????????
- ????? ??? (? : mxtoolbox.com? ??)
- DKIM ?? ????? ??????
- MySQL ??? ? ??? ??????
- ? ?? ??? ?? Opendkim ? OpendMarc ? ?? ?? ??? ??????.
?? ??? ???? ????? ??? ?????. ?? ??? ??? ? ?? ?? ??? ?? ??? ?? ? ??? ?? ??? (Fastmail ?? MXroute? ??)? ?????.
??? ??, ?? ?? ?? ??? ??? ?? ??? ?? ??? ???? ?? ??? ?????.
????? DNS? ???? ???? TLS? ???? ???? ???? ???? ? ?? ??? ???? ??????.
? ??? Linux?? ?? ?? ?? ???? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

LXD? ??? ???? ? ?? ?? ???? ???? ???? ?? ?? ???? ???? Linux ???? ???? ?????. ??? ?? ? ??? Linux ???? ?? ???? ?????.

Clear Linux OS? ???? ???? ???? Linux ??? ??? ????? ???? ?? ?????. ?? ????? ??????? AMD SYS?? Clear Linux OS? ???? ?? ?????.

?? ?? ? SSL ???? ?????? ?? ??? ??? ????. 1. ?? ? ??, ??? ???? OpenSSLGENRSA-Outsigned.key2048? ???? 2048 ?? RSA ?? ? ??, ??? ?? ?? -AES256? ???? ?? ??? ?????. 2. CSR (Certificate Request)? ???? OpenSSLREQ-NEW-KEYSELFSIGNED.KEY-OUTSIGNED.CSR? ???? ?? ??, ?? "CommonName"??? ?????. 3. ?? ???? ???? ???? OpenSSLX509-Req-Days365-inselfsigned.csr-signk? ??????

Firefox ????? Ubuntu, Mint ? Fedora? ?? ???? ?? Linux ???? ?? ???????. ???? ??? ??? ? ? ??? ??? ??? ?? ????? ??? ?? ??? ???? ?? ? ? ????.

Windows?? .zip ??? ????? ??? ??? ??? ???? "?? ??"? ??? ??? ?? .tar.gz ??? 7-zip ?? winrar? ?? ??? ???????. MacOS ? Linux?? .zip ??? ? ? ????? ??? ?? ? ? ???, .tar.gz ??? TAR ???? ?? ????? ?? ? ? ?? ? ? ????. ?? ??? ??? ????. 1. Windows Processing.zip ?? : ??? ??? ?? → "?? ??"; 2. Windows Processing.tar.gz ?? : ?? ??? ?????? → ??? ??? ??? ???? ??? ?????. 3. MacOS/Linux Processing.zip ?? : unzipfilename.zip? ? ? ????? ?????. 4. MacOS/Linux Processing.tar

DNS ??? ??? ? ?? /etc/resolv.conf ??? ???? ??? ?? ??? ???? ??? ??????. ??, ???? ?? 8.8.8.8? ?? ?? DNS? ???? ?? ? ? ????. ?? ?? NSLookup ? DIG ??? ???? DNS ???? ???? ??????. ??? ??? ???? ?? ?? ?? DNSUTILS ?? BAND-UTILS ???? ??? ? ????. ?? ?? SystemD-Resolved ??? ?? ? ?? ?? /etc/systemd/resolved.conf? ???? ??? ?? DNS ? FallbackDns? ???? ???? ?? ??????. ????? ???? ????? ?? ? ??? ??? ???? ?? 53?

??? ??? ?? ???? ??? ???? ?? ??? ???? ?? ??? ???????. ?? ??? ??? ???? ???? Top, HTOP, Free-H, Iostat, SS-ANTP ? ?? ??? ???? CPU, ???, ??? I/O ? ???? ??? ???????. ??, ?? ???? ??? ???? PS, JSTACK, Strace? ?? ??? ?? ??? ????? ??? ?????. ?? ?? ?? ? ???? ???? ???? OOM ?????, ?? ??, ?? ?? ? ?? ??; ?????, ??? ??, ?? ? ??, ?? ?? ?? ? ??? ?? ??, ?? ?? ???, ?? ?? ? ?? ????? ???? ?? ?? ??? ???? ????? ?? ?? ? ?? ???? ?? ???? ??? ?? ??? ??? ?????.

??? ????? Windows? Linux? ???? ???? ?? (?? ?? ???)? ?? ? ? ????. ?? ???? Windows ???? ?? ?? ???? ????? ??????? ?? ??? ????.
