Um....I'm guessing this is your first sendmail box. It's not fun, I'll warn you. :P
dnl means Do Not Load, in other words, you're commenting out the line that you put dnl on, so anything beyond that point is irrelevant.
I really need to put my sendmail cheat sheet online so that others can...
I'm running into all sorts of problems getting sendmail to build on the latest version of OSX.
Don't even mention Postfix. Can't use it, doesn't support miltering.
Anyway, off the bat I had problems due to trying to build using gcc3.3. Some error regarding the use of varargs.h instead of...
Ah, one other thing. I've tried reversion the mailertable and virtusertable lines in the sendmail.cf file. No good, it still ignores the virtusertable and respects the mailertable. I'm doing a makemap hash and restart of sendmail after each change for both of the files too.
Okay, I'm partially lying. mailertable is being respected. I have an entry like this in mailertable:
stg-stl.net smtp:mail.stg-stl.net
Now, I have a virtusertable entry like this:
numbski@stg-stl.net numbski@hksilver.net
Just as an FYI, primary MX for hksilver.net is a...
I've set up sendmail MANY times. Mostly on FreeBSD and MacOS X, and a few times under Linux. There are alwasy the minor hiccups, but in the last few weeks I've run into serious issues with 8.12.9.
I don't know what's going on, but the version just outright refuses to respect the config files...
Well, this could be the wrong forum, so I apologize ahead of time.
I'm setting up a VERY large 802.11b network. Clients will be authenticating MAC addresses with a radius database. Actually a very clean setup until I get to the routing. Imagine this setup:
Fiber->Router->802.11b...
Okay, take this code as an example:
Where game_info is a hash
#!/usr/bin/perl -w
use strict;
use warnings;
$game='pacman';
$rom_name='fdjkl23jkl'
$rom_key='size';
$rom_val='1024';
$game_info{$game}{rom}{$rom_name}{$rom_key}=$rom_val;
print...
Heh, just thought of one more for you.
Let's just say I wind up with a hash full of crc values. Call it %crc for argument's sake. I'm going along through a directory full of zip files, take the first crc, then I need to find a match in %crc. Is the fastest way to do a foreach statement on %crc?
I'd be happy to look at that file, but I'm on MacOS X, so I'm sure it doesn't exist. ;)
I get what you mean, I'll go poking around in the docs. Thanks again.
Oh man...LOL. :P
You got some good voices going there man. ;)
E-mail me an address and I'll send you a 6-pack.
Bud. Coors. Coka-Cola, you pick.
Thanks. :)
Okay, working on reading your code in plain english. You've got some stuff in there I've not seen before (big shocker). :)
while(<DATA>){ #While we're going through your filehandle...
next if /\(\s*$/; #next if? match regex to ( and whitespace + $...what's the dollar sign?
last if...
Just offhand, have you checked CPAN for modules that deal directly with pdf's? I'm sure that if there is, the functionality you're asking for is probably there. Have a look.
If you're familiar with MAME (http://www.mame.net) then you'll have an idea why I'm wanting this. :)
I need to grab a whole lot of information out of a datfile, and place it all into useful hashes and arrays. I'm looking for suggestions on how to go about it. PERL's a hobby for me, and while...
Look in /etc/passwd (or on BSD, /etc/master.passwd).
Look for the username in question. Information on each line is seperated by a colon. One entry should be a string of gibberish. That's the encrypted password.
Run a search for jack the ripper (?) I think that's the name of it. It's a...
I have a mess on my hands. I just took over an ISP from some guys that didn't like to keep house very much so to speak.
We have three systems. System number 1 is what I like to call my user machine. People log in, check e-mail, host websites.
Systems 2 and 3 are the primary and secondary...
Okay, update.
Basically, when I attempted to run the CPAN shell, it wanted me to update Bundle::libnet, so I typed
install Bundle::libnet
It grinds and compiles for about an hour, and then I get this:
make[1]: Leaving directory `/root/.cpan/build/perl-5.6.1'
/usr/bin/make install -- OK...
Ugh, I did just that.
What I wound up doing after that is thus:
rpm -q perl
Took that listing then did
rpm -e perl* (whatever was returned)
on all entries.
THEN got the latest PERL rpm, downloaded then did
rpm -i perl*
After that, then did
perl -MCPAN shell;
I found that this wasn't...
So, what just run rmdir on everything that shows up in @INC, then
ln -s /usr/bin/perl perl
?
Because right now it thinks the default install is /usr/local/bin/perl, but that's not the way it was when I began, it was /usr/bin/perl.
What a mess... :(
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.