Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Email users

Email users

2004-02-06       - By Jeff

 Back
Reply:     1     2     3     4     5     6     7     8  

On Fri, 2004-02-06 at 14:57, Rudolf A. A. wrote:
> Hello,
>
> I have a question about sendmail and mail in general.
>
> I want to know is it possible to know if there are some specific users
> in some specific servers.
> for example On mydomain.com I have user myuser@(protected), and
> people from outside want to know if this user exists or not ?, so how
> can they do that ?. I mean to know this, without sending email.
> Otherwise they can send email, and if the mail does not come back, It
> means the user exists :).
> Or without sending email to him, how can I know, is there a such user
> ivantan@(protected) ?.
>
> Thanks in advance.
> Rudolf.
>

Although the method below may not work on some systems (Ed 's example for
instance) it will work on most...

Telnet the receiving MTA, begin the start of the SMTP protocol and quit
before sending the mail. For example...


<response for a VALID mailbox >

telnet mta 25
Trying 192.168.0.1...
Connected to mta.
Escape character is '^] '.
220 ESMTP Sendmail 8.12.8/8.12.8; Fri, 6 Feb 2004 22:03:59 GMT
helo beast
250 Hello beast [192.168.0.2], pleased to meet you
mail from: <some.user@(protected) >
250 2.1.0 <some.user@(protected) >... Sender ok
rcpt to: <valid.user@(protected) >
250 2.1.5 <valid.user@(protected) >... Recipient ok
quit
221 2.0.0 closing connection
Connection closed by foreign host.

<response for a INVALID mailbox >

[saultj@(protected) saultj]$ telnet mta 25
Trying 192.168.0.1...
Connected to mta.
Escape character is '^] '.
220 ESMTP Sendmail 8.12.8/8.12.8; Fri, 6 Feb 2004 22:07:02 GMT
helo beast
250 Hello beast [192.168.0.2], pleased to meet you
mail from: <some.user@(protected) >
250 2.1.0 <some.user@(protected) >... Sender ok
rcpt to: <invalid.user@(protected) >
550 5.1.1 <invalid.user@(protected) >... User unknown
quit
221 2.0.0 closing connection
Connection closed by foreign host.


Again, not 100% accurate but works on most setups.

HTH
Jeff


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list