[H-GEN] Sendmail - sent messages

Nikolai Lusan nikolai at humbug.org.au
Mon Jul 22 23:41:11 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]



On Tue, 23 Jul 2002, David Duffy wrote:

> >Assuming that it's a legitimate activity, there is a simple
> >solution that could be developed in a few minutes (and which
> >would work with other MTAs as well as sendmail): write a small
> >server that listens to the SMTP port on the designated host,
> >checks that the incoming connection is from one of the machines
> >in question, saves the message as required, and hands it on to
> >the real MTA for delivery.
>
> That's beyond my capability I suspect. I actually broken sendmail
> late last night by deleting the deny & deny.db files accidently.
> It took me an hour to figure out what I'd done. I did however have
> backups of them. Next time I will be more careful !  I was modifying
> the access file to drop mail from spammers we've had trouble with.


For the daemon: grab a copy of W. Richard Stevens - Unix Network
Programming (2nd edition). W. Richard Stevens was a very talented man, I
don't know if they ever applied my patch for the linux versions of the
example code but it's all fairly straight forward. What you want is
something similar to on of the basic examples in the first chapter.

For the spammers: I have started to blackhole port 25 for my entire
network from locations that are known to spam ... there are other
methods built into the more recent versions of sendmail that can be
utilised but we don't have that luxury here at the moment.


Nikolai


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list