* detecting bounced mails
@ 2001-01-17 11:03 Rajiv Majumdar
2001-01-17 11:10 ` Matti Aarnio
2001-01-17 22:50 ` Igmar Palsenberg
0 siblings, 2 replies; 3+ messages in thread
From: Rajiv Majumdar @ 2001-01-17 11:03 UTC (permalink / raw)
To: linux-kernel
Sorry..the topic does not fit here. But wanted to know, how can we check
validity of an email id "in advance" so that we can skip "bounce".
Thanks!
Rajiv
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: detecting bounced mails
2001-01-17 11:03 detecting bounced mails Rajiv Majumdar
@ 2001-01-17 11:10 ` Matti Aarnio
2001-01-17 22:50 ` Igmar Palsenberg
1 sibling, 0 replies; 3+ messages in thread
From: Matti Aarnio @ 2001-01-17 11:10 UTC (permalink / raw)
To: Rajiv Majumdar; +Cc: linux-kernel
On Wed, Jan 17, 2001 at 04:33:08PM +0530, Rajiv Majumdar wrote:
> Sorry..the topic does not fit here. But wanted to know, how can we check
> validity of an email id "in advance" so that we can skip "bounce".
There are theorethical ways using SMTP's VRFY command, however
it has never been implemented at all systems, and modern
environment of firewalls just simply doesn't allow it to work.
The only thing you *can* verify is to look for the domain
part in the address from the DNS. At first query for MX
record(s), and if *not* found any, then query for A record(s).
If you encounter CNAME, do resolve it couple times towards
MX or A.
If you find neither MX, nor A, then the DOMAIN part is non-routable
in the internet, but nothing can be said about the left side of
the @-character (the LOCAL part).
If you have a RFC-821 statemachine scanner to recognize the address
syntax and accept only LOCAL@DOMAIN form (not @GW1,@GW2:LOCL@DOM),
plus do that MX/A lookup, you should pretty much be done.
It will trap honest mistakes - usually.
I have code to do this type of analysis at my ZMailer, works fine.
> Thanks!
> Rajiv
/Matti Aarnio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: detecting bounced mails
2001-01-17 11:03 detecting bounced mails Rajiv Majumdar
2001-01-17 11:10 ` Matti Aarnio
@ 2001-01-17 22:50 ` Igmar Palsenberg
1 sibling, 0 replies; 3+ messages in thread
From: Igmar Palsenberg @ 2001-01-17 22:50 UTC (permalink / raw)
To: Rajiv Majumdar; +Cc: linux-kernel
On Wed, 17 Jan 2001, Rajiv Majumdar wrote:
>
>
> Sorry..the topic does not fit here. But wanted to know, how can we check
> validity of an email id "in advance"
You can't. Only think you can check is a valid domain that will in theory
accept mail, no way to check if it really dilivers.
> so that we can skip "bounce".
>
> Thanks!
> Rajiv
Igmar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-17 21:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-17 11:03 detecting bounced mails Rajiv Majumdar
2001-01-17 11:10 ` Matti Aarnio
2001-01-17 22:50 ` Igmar Palsenberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.