Description
Simple Mail Transfer Protocol servers (SMTP) are email servers.
Enumeration
nmap --script smtp* -p 25 $IPnc $IP 25
helpIf the RCPT, VRFY or EXPN verbs are enabled, they can be used to enumerate users.
smtp-user-enum -M $VERB -U $USERS_LIST -t $IPOr using metasploit :
use scanner/smtp/smtp_enumoptionsrunOr do it manually :
HELO test.localdomain
MAIL FROM: test@test.localdomain
RCPT TO: $USER@$DOMAINVRFY $USEREXPN $USER