Hi all,
This is a bit off-topic, but then again it only really applies to
radiator...
I just started using IPass for roaming and then remembered that I needed
to find a way to let my roaming users relay mail through our mailserver.
We aren't yet running a version of sendmail that supports smtp-auth, and
even if we did, it would still be a mess getting info on a number of
accounts on different machines all to the mailserver that dialup customers
use. I looked at the existing POP-before-SMTP hacks, and they are pretty
ugly; all but one simply tail the logfile watching for logins...
I figured I could hack together something less ugly, and this is what I'm
going to do. I'd appreciate any comments...
I already have a (MySQL) database containing a list of all online users
for my Radiator sessionDB. Over time it looks like this is at least 99%
accurate, and when it errs, it seems to err in the direction of showing
someone online who is no longer online. So rather than looking at my POP
logs, I'm going to write a little perl script that queries the db for
foreign IPs and writes out an access file that sendmail can read.
I'm hoping to eventually include building the actual dbm file in the perl
script so that I don't rely on any external commands.
If anyone has any other neat ideas on this, I'd like to hear them. While
this is basically a hack, it should scale well, and it can even be set up
on multiple machines (as long as the remote machine can connect to the SQL
server with the radonline db) so no matter what mailhost your user hits,
they'll be able to relay mail...
Charles
| Charles Sprickman | Internet Channel
| INCH System Administration Team | (212)243-5200
| [EMAIL PROTECTED] | [EMAIL PROTECTED]
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.