Ir al contenido principal

Validar existencia de cuentas de correo electrónico

A. UTILIZANDO TELNET

1. Buscar el servidor de email configurado en el dominio: 

nslookup -type=MX fm.gob.ar

Server:         127.0.0.53

Address:        127.0.0.53#53

Non-authoritative answer:

fm.gob.ar       mail exchanger = 0 fortimail.fm.gob.ar.


Authoritative answers can be found from:

2. Verificar las cuentas

$ telnet fortimail.fm.gob.ar 25

EHLO test.com
MAIL FROM: <prueba@test.com>
RCPT TO: <juan.perez@fm.gob.ar>
RCPT TO: <usuarioinexistente123@fm.gob.ar>
QUIT


B. UTILIZANDO SWAKS

1. Instalamos swaks.

2. Buscar el servidor de email configurado en el dominio: 

$ nslookup -type=MX fm.gob.ar

Server:         127.0.0.53

Address:        127.0.0.53#53


Non-authoritative answer:

fm.gob.ar       mail exchanger = 0 fortimail.fm.gob.ar.


Authoritative answers can be found from:


3. Realizar un envío de prueba y verificar si la cuenta se encuentra activa.

$ swaks --from laksflkjsadsdfls@fm.gob.ar --to cuenta_a_validar@fm.gob.ar --server fortimail.fm.gob.ar

=== Trying fortimail.fm.gob.ar:25...

=== Connected to fortimail.fm.gob.ar.

<-  220 fortimail.fm.gob.ar ESMTP Smtpd; Tue, 29 Jul 2025 10:14:54 -0300

 -> EHLO andres-systemproductname

<-  250-fortimail.fm.gob.ar Hello host242.186-13-123.telmex.net.ar [186.13.123.242], pleased to meet you

<-  250-ENHANCEDSTATUSCODES

<-  250-PIPELINING

<-  250-8BITMIME

<-  250-SIZE 25600000

<-  250-AUTH LOGIN PLAIN

<-  250-STARTTLS

<-  250-DELIVERBY

<-  250 HELP

 -> MAIL FROM:<laksflkjsadsdfls@fm.gob.ar>

<-  250 2.1.0 <laksflkjsadsdfls@fm.gob.ar>... Sender ok (ACTIVA, SERVER TIENE CATCH-ALL)

 -> RCPT TO:<juan.bazan@fm.gob.ar>

<-  250 2.1.5 <juan.bazan@fm.gob.ar>... Recipient ok

 -> DATA

<-  354 Enter mail, end with "." on a line by itself

 -> Date: Tue, 29 Jul 2025 10:14:54 -0300

 -> To: juan.bazan@fm.gob.ar

 -> From: laksflkjsadsdfls@fm.gob.ar

 -> Subject: test Tue, 29 Jul 2025 10:14:54 -0300

 -> Message-Id: <20250729101454.013221@andres-systemproductname>

 -> X-Mailer: swaks v20240103.0 jetmore.org/john/code/swaks/

 -> 

 -> This is a test mailing

 -> 

 -> 

 -> .

<-  250 2.0.0 56TDEsAs021695-56TDEsAt021695 Message accepted for delivery

 -> QUIT

<-  221 2.0.0 fortimail.fm.gob.ar closing connection

=== Connection closed with remote host.


Comentarios