[Debian] Postfix with TLS

[執行步驟] 設定 key cd /etc/postfix openssl req -new -x509 -nodes -out cert.pem   Country Name (2 letter code) [AU]:TW Stat...

[執行步驟]

設定 key

cd /etc/postfix

openssl req -new -x509 -nodes -out cert.pem

 

Country Name (2 letter code) [AU]:TW
State or Province Name (full name) [Some-State]:Taiwan
Locality Name (eg, city) []:Taipei
Organization Name (eg, company) [Internet Widgits Pty Ltd]:example.com
Organizational Unit Name (eg, section) []:admin
Common Name (eg, YOUR name) []:fjufirefox
Email Address []:root@example.com

 

chown root:postfix cert.pem privkey.pem

chmod 640 cert.pem privkey.pem

 

修改 main.cf

nano /etc/postfix/main.cf

 

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/privkey.pem
smtpd_use_tls=yes
tls_random_source = dev:/dev/urandom
tls_daemon_random_source = dev:/dev/urandom

 

修改 master.cf

nano /etc/postfix/master.cf

 

smtps     inet  n       -       -       -       -       smtpd -v -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

 

http://www.debian.org.tw/index.php/Postfix-TLS

名稱

2330,1,27.5G,1,快速分享,1,李宗瑞,1,抽獎,1,省思,10,研討會,6,風水,2,旅遊,4,書摘,4,健康,3,教學,13,就要醬玩,1,無痛,1,愛美,4,愛情,11,網路資源,43,懶人包,1,Adobe,7,Apollo,5,CHANEL,1,Cisco,3,Coldfusion,13,Colud Storage,1,DD-WRT,8,Dropbox,2,Dropbox 18G,1,Flash,2,Flex,44,Fon,11,Game,1,Kuso,15,Linux,88,Microsoft,13,Movie,7,Nas Server,79,Other,25,Revolution,2,SQL,4,Tip,44,Web,13,
ltr
item
fjufirefox: [Debian] Postfix with TLS
[Debian] Postfix with TLS
fjufirefox
https://fjufirefox.blogspot.com/2008/01/debian-postfix-with-tls.html
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/2008/01/debian-postfix-with-tls.html
true
37845053
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy