hi all .

i am afraid of being attacked .
so i want to limit PCs in japan only (if japanese PC is hacked , this setting in not safe ) .

i look at https://ipv4.fetus.jp/
and download as jp.txt

tr '\n' ' ' <jp.txt > jp3

cat jp3
1.0.16.0/20 1.0.64.0/18 1.1.64.0/18 1.5.0.0/16 1.21.0.0/16 1.33.0.0/16 1.66.0.0/15 1.72.0.0/13 1.112.0.0/14 14.0.8.0/22 14.1.4.0/22 14.1.8.0/21 14.3.0.0/16 14.8.0.0/13 14.101.0.0/16 14.102.132.0/22 14.102.192.0/19 etc

makemap jp3

smtpd.conf
listen on lo0
listen on em0 port 25
listen on em0 port 465
listen on em0 port 587
table aliases db:/etc/mail/aliases.db
table jp3 db:/etc/mail/jp3.db
accept from any for domain "aoiyuma.mydns.jp" alias <aliases> deliver to maildir accept from any for domain "aoiyuma.mydns.jp" deliver to maildir accept for local alias <aliases> deliver to maildir accept for local deliver to maildir
accept from source <jp3> for any relay
reject from any for any

in this setting i can mail to X.gmail.com .

but i want to use conection secrity SSL/TLS .
how to do it ?
-------------------------
regards



--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to