1.sasl认证
smtp 登录认证
软件包:sasl2-bin
命令格式: testsaslauthd -u username -p password
[-r realm] [-s servicename]
[-f socket path] [-R repeatnum]
# testsaslauthd -u tony -p 123456 -f /var/spool/postfix/var/run/saslauthd/mux
0: OK "Success."
2.courier认证
pop3/imap 登录认证
软件包:courier-authlib
命令格式: authtest [-s service] userid [ password [ newpassword ] ]
# authtest 123456
Authentication succeeded.
Authenticated: (uid 5000, gid 5000)
Home Directory: /home/vmail
Maildir: mydebian.org/tony/
Quota: 10485760
Encrypted Password: YxPI9RDtY1oLw
Cleartext Password: 123456
Options: (none)
阅读(1456) | 评论(0) | 转发(0) |