On Mon, 27 Jul 2015 19:40:39 -0700, SSL <[email protected]> wrote:
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 ) .
It would probably be more appropriate and effective to use a firewall such
as OpenBSD's pf to accomplish this goal. OpenBSD also provides spamd
which, along with a few selected real time black lists added to the mix,
makes a very effective spam filter.
but i want to use conection secrity SSL/TLS .
how to do it ?
The smptd.conf(5) man page documents key generation in the EXAMPLES
section near the end.
In this second example, the aim is to permit mail relaying for any
user
that can authenticate using their normal login credentials. An RSA
certificate must be provided to prove the server's identity. The mail
server listens on all interfaces the default route(s) point to. Mail
with a local destination should be sent to an external mda. First,
the
RSA certificate is created:
# openssl genrsa -out /etc/ssl/private/mail.example.com.key 4096
# openssl req -new -x509 -key
/etc/ssl/private/mail.example.com.key \
-out /etc/ssl/mail.example.com.crt -days 365
# chmod 600 /etc/ssl/mail.example.com.crt
# chmod 600 /etc/ssl/private/mail.example.com.key
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]