Archive for June 19th, 2015

19
Jun

SSL telnet

   Posted by: admin    in Mẹo vặt của hiếu râu

openssl s_client -connect example.com:443 -ssl3
19
Jun

sendmail authinfo

   Posted by: admin    in Mẹo vặt của hiếu râu

FEATURE(`smrsh’, `/usr/sbin/smrsh’)dnl
FEATURE(`authinfo’, `hash -o /etc/mail/authinfo.db’)dnl
FEATURE(`mailertable’, `hash -o /etc/mail/mailertable.db’)dnl
FEATURE(`virtusertable’, `hash -o /etc/mail/virtusertable.db’)dnl

/etc/mail/authinfo

AuthInfo:[1.1.1.1] “U:yourusername” “P:yourpassword” “M:LOGIN PLAIN”

/etc/mail/mailertable

testmail.com    esmtp:[1.1.1.1]

#make

O LogLevel=15

sendmail restart