ผลต่างระหว่างรุ่นของ "8. ทดสอบ EAI Email Server บน CentOS 8"
ไปยังการนำทาง
ไปยังการค้นหา
Created page with "1. ติดตั้ง telnet '''# yum install telnet''' '''# telnet localhost pop3''' 2. ได้ผลตามด้านล่าง และ ใช้คำส..." |
ลไม่มีความย่อการแก้ไข |
||
| บรรทัดที่ 19: | บรรทัดที่ 19: | ||
'''# newaliases''' | '''# newaliases''' | ||
'''# systemctl restart postfix.service''' | '''# systemctl restart postfix.service''' | ||
1. ทดสอบ smtp server | |||
'''# telnet localhost 25''' | |||
'''# ehlo localhost''' | |||
2. จะได้ผลลัพธ์ตามด้านล่าง | |||
'''250-mail.eai.in.th''' | |||
'''250-PIPELINING''' | |||
'''250-SIZE 30720000''' | |||
'''250-VRFY''' | |||
'''250-ETRN''' | |||
'''250-STARTTLS''' | |||
'''250-ENHANCEDSTATUSCODES''' | |||
'''250-8BITMIME''' | |||
'''250-DSN''' | |||
'''250 SMTPUTF8''' | |||
รุ่นแก้ไขเมื่อ 14:57, 27 ตุลาคม 2563
1. ติดตั้ง telnet
# yum install telnet # telnet localhost pop3
2. ได้ผลตามด้านล่าง และ ใช้คำสั่ง quit เพื่ออแกจาก telnet
Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. +OK Dovecot ready.
3. แก้ใขไฟล์ /etc/aliases โดยเพิ่มบรรทัดตามด้านล่าง
# vi /etc/aliases
mailer-daemon: postmaster postmaster: root root: postmaster@eai.in.th
4 สั่ง update aliases และ restart postfix
# newaliases # systemctl restart postfix.service
1. ทดสอบ smtp server
# telnet localhost 25 # ehlo localhost
2. จะได้ผลลัพธ์ตามด้านล่าง
250-mail.eai.in.th 250-PIPELINING 250-SIZE 30720000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 SMTPUTF8