Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

How To - Bounce/Return spam to sender in .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OPL - 21 Oct 2006 15:22 GMT
Hi,

I've spent a fair bit of time searching the internet for an example on how
to bounce an email, like what MailWasher does from .NET. My home email
server gets hit pretty badly with spam, and rather than using server
software and risk losing email, i'd rather have some control over what gets
deleted and bounced, and so forth.

I've written a program that allows me to delete emails without downloading
them, but can someone point me in the direction (either RFC or example) in
any language (.NET, VB, Win32, etc).

Would massivly appreciate it, ultimatley I want to write an app I can
operate remotely etc, bust just need to work out how to bounce correctly.

Thanks!
David Browne - 21 Oct 2006 19:02 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> Would massivly appreciate it, ultimatley I want to write an app I can
> operate remotely etc, bust just need to work out how to bounce correctly.

How do you propose bouncing spam without creating more spam?

David
Scott M. - 21 Oct 2006 19:29 GMT
Why would you want to send spam back to the sender?  In most cases, the
sender's address is a real address that has been hijacked, so you will wind
up sending your spam to them.  In addition, if the spam does go back to the
sender, you are, in effect, letting them know that your email address (which
will be in the FROM field of your bounced email) is a real and valid
address, so they will just send you more spam.

Just get a good spam filter.

> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks!
Ben Voigt - 23 Oct 2006 13:47 GMT
> Hi,
>
[quoted text clipped - 3 lines]
> software and risk losing email, i'd rather have some control over what
> gets deleted and bounced, and so forth.

Bouncing has to be done at the SMTP server, in lieu of accepting the email.
Note you could still deliver the email to the user even though you rejected
it with an SMTP error.  Once your email server has told the other server it
took the email, any further action on your part would be an "abuse report"
of sorts, and equally ineffective.

You'll note that whenever you send an e-mail that gets bounced (Destination
mailbox full, for example), the return notice you receive comes from your
mailserver and not the recipient's.  That's because the recipient responded
to your e-mail with an error (3xx, 4xx, 5xx) and never accepted
responsibility for delivery.

> I've written a program that allows me to delete emails without downloading
> them, but can someone point me in the direction (either RFC or example) in
[quoted text clipped - 4 lines]
>
> Thanks!
Brian Tkatch - 23 Oct 2006 15:15 GMT
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks!

Check out RFC 821. <URL:ftp://ftp.rfc-editor.org/in-notes/rfc821.txt>

B.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.