🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9887

Re: Making a POP server & client

#9887
From: Alan Bellingham
Date: Wed, 02 Jun 2004 12:50
57 lines
3543 bytes
Feico <feicorem0veth1s@gmx.net> wrote:

>On Wed, 02 Jun 2004 10:04:29 +0100, Alan Bellingham <alanb@episys.com> wrote in
>
>>Probable spam. Therefore the sending address is false. But the sending
>>address may actually exist, in which case you are sending unsolicited
>>bulk email to it.
>
>Unsolicited, yes. Bulk, no.

Bulk, yes. By your plan, when a spammer sends you multiple messages, you
send out multiple messages.

>>Unfortunately, by the time the email has been received by your ISP and
>>stored in the post box, it's too late, _way_ too late, to do the most
>>useful things (rejecting (not bouncing) anything from hijacked net
>>space, from known spammers, from open proxies, etc etc).
>
>I disagree. Spam should be discarded before I notice it. I have a program that continually checks my
>pop box and reports that there is mail for me. That's too late, I don't want such a report if it is
>spam. But a program that runs on my local computer and that discards spam is fine to me.

'discard', fine, absolutely fine. What I was referring to was the
problem that, since you don't run the mail server itself, you cannot
reject connections to it.

Rejecting connections in the SMTP conversation is the civilised way to
do it. It does not generate a new message - it just refuses to accept
one.

However, your complaint is that spam is not being rejected. It's in your
box. By the time you (or your program) sees it, you don't have half the
information that the mail server had. (Such as the list of addresses the
message was to.)

By all means, scrub your pop box clean. But please don't go sending out
messages as a result of spam unless you know darned well that it's going
to the right address. Unfortunately, it's extremely likely that you
don't, since you don't have access to the envelope data. 

>>You'll need to read up on socket programming. 
>
>Where?

You could try the help files under 'working with sockets'. Or
http://msdn.microsoft.com. Or I'm sure there are books out there. But
I've not done socket programming under C++, so I'm afraid I can't be as
much help as I'd like.

Be warned, though - this is potentially a major project, there are lots
of ways to screw up, and there's probably software out there to do it
for you anyway. If you want to do it anyway, then go ahead. Just do it 
with your eyes open.

Alan Bellingham
-- 
ACCU Conference 2005 - 20-23 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <aegrb05ffdj27o3gmigaf8iskn44fmktq4@4ax.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <csmpb0p54a4ve8dpajt5ee8gbcelfqgrfm@4ax.com> <hhrpb09n4bh1dlv0aqsk7jp8plibrk139c@4ax.com> <uisqb0t3ipiqo0qdbkdtt1eirjamtv81d5@4ax.com> <7h5rb0hffiuv1lp9qd8m494052cht5tp6o@4ax.com> <eebrb0pckmduiomlbssc66f086s4k18bpr@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,34bb0b65fdef0ebe
X-Google-Attributes: gid10cc67,public
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Making a POP server & client
Date: Wed, 02 Jun 2004 13:50:30 +0100
Reply-To: alanb@episys.com
Message-ID: <aegrb05ffdj27o3gmigaf8iskn44fmktq4@4ax.com>
References: <csmpb0p54a4ve8dpajt5ee8gbcelfqgrfm@4ax.com> <hhrpb09n4bh1dlv0aqsk7jp8plibrk139c@4ax.com> <uisqb0t3ipiqo0qdbkdtt1eirjamtv81d5@4ax.com> <7h5rb0hffiuv1lp9qd8m494052cht5tp6o@4ax.com> <eebrb0pckmduiomlbssc66f086s4k18bpr@4ax.com>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.130
X-Trace: newsgroups.borland.com 1086180629 193.129.251.130 (2 Jun 2004 05:50:29 -0700)
Lines: 57
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail