Mailing List Archive

[no subject]
Does anyone have a example of how to route packets based upon service? IE,
if I have a slow 64kb/s Frame, and a fast DS1, I want to send
non-interactive traffic over the 64k, like mail, etc., but www/ftp over the
DS1.


---

"Don't go with a spineless ISP;
we have more backbone."

Alex Rubenstein -- alex@nac.net -- KC2BUO -- www.nac.net
net @ccess corporation, 201-983-0725 -- 201-983-0725
[no subject] [ In reply to ]
Original message <Pine.BSI.3.96.970715210717.373B-100000@duncan.nac.net>
From: Alex Rubenstein <alex@nac.net>
Date: Jul 15, 21:07
Subject:
>
>
>
> has anyone hacked QMail or Sendmail so that it could act as a mail server
> without actually having accounts on it?

Yes.

>
> The idea that I have is that when a user gets mail (ala SMTP connection
> coming in), or the user checks mail (ala POP connection coming in), the
> mail server (Qmail, Sendmail, whatever) could make an ODBC/SQL call to a
> NT Server running MS-SQL (doesn't really matter, as it is a pure ODBC
> call). Has anyone done anything like this? Just curious. Thanks in
> advance. Pointers would be good also.

We have a modified:
sendmail
mail.local
popd

all of which verify accounts against our internal database (same one
which handles Radius queries and which the web/ftp server uses to do
authentication and transfer limit quotas... in our case, a custom-written
database package that keeps local copies of all of the data, and can read
it in a single disk seek, so there's no problems if the network to the
database server is ill)

there's only about a dozen lines of code in each (usually the fastest
solution is to have a routine which accesses the database, and then fills
in a fake passwd struct as would be returned by getpwent)

nice thing is that you can build in things like "allow mail to arrive,
but return special failure code when user connects to pop server" to
deal with "customer exists but hasn't paid for >45 days", and even more
clever... "forward this mail to this other address for 30 days, and then
bounce thereafter"

only hint to be had is that even though it feels like modifying mail.local
should be enough, sendmail ALSO checks to see if the user exists on the
system before asking mail.local to do the delivery, so you need to hack both
of them.

we've investigated making the same hacks to both MMDF and qmail, and these
appear to be equally trivial.

-matthew kaufman
matthew@scruz.net
[no subject] [ In reply to ]
has anyone hacked QMail or Sendmail so that it could act as a mail server
without actually having accounts on it?

The idea that I have is that when a user gets mail (ala SMTP connection
coming in), or the user checks mail (ala POP connection coming in), the
mail server (Qmail, Sendmail, whatever) could make an ODBC/SQL call to a
NT Server running MS-SQL (doesn't really matter, as it is a pure ODBC
call). Has anyone done anything like this? Just curious. Thanks in
advance. Pointers would be good also.
[no subject] [ In reply to ]
When Worldcom does change the DLR, you get an automated fax notification
that states they are performing "maintenance" or a "groom" on your ckt.
This means there is a high probablity they are changing the design of your
ckt and your diversity may not exist after the groom. You should probably
respond to the fax and find out exactly what they are doing.

You can also have your sales rep mark you order in the Wcom database as
"diversely routed". You also need to specify the ckt you want to be
diversely routed from. This should stop you ckt from being added to any
groom packages that are being put together. If your ckt is not marked
diverse, grooms can occur frequently.

>----------
>From: randy@psg.com[SMTP:randy@psg.com]
>Sent: Wednesday, July 16, 1997 5:13 PM
>To: Nathan Stratton
>Cc: nanog@merit.edu
>Subject: Re: BOOM! there goes WorldCom
>
>> Worldcom changed the DLRs without letting us know
>
>happens all the time. they do that like we move customers between router
>ports.
>
>if you want to maintain path diversity, you have to continually monitor it
>with your carriers. and then you'll need to go out and physically every
>once in a while. yes, this is major major pain.
>
>randy
>