Language:
switch to room list switch to menu My folders
Go to page: First ... 28 29 30 31 [32] 33 34 35 36 ... Last
[#] Sun Jan 06 2008 17:32:33 EST from davew @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Sun Jan 06 2008 15:50:48 EST from dothebart@uncnsrd

wc -l

hehe, I remembered it eventually (brain fade day).

 



[#] Tue Jan 08 2008 13:59:55 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Hey unix people (particularly non-Linux) ---

Are there any systems where performing nameserver queries does *NOT* require, or requires something other than, "-lresolv" when linking the program?

[#] Tue Jan 08 2008 14:19:22 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

solaris split up their libraries oddly.
I think I needed -lnsl
But I'm not usre if that was for dns stuff or not, there's also -lsocket in my list
but that's probably mostly just socket stuff.
yeah, gethostbyname for example requires -lnsl

[#] Tue Jan 08 2008 14:20:17 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

remind me the name of the other dns functions and I'll look them up.

[#] Tue Jan 08 2008 22:22:12 EST from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

other DNS functions than whatever 'dig' provides?

[#] Wed Jan 09 2008 06:30:13 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

several host calls?

[#] Wed Jan 09 2008 08:48:14 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I was at work yesterday so I couldn't check
The DNS support is sorely lacking. You can gethostbyname() and block and tough shit on you, or you can do it the hard way.
There's a function calles res_query that you send out the request with, and then you have to parse out the response packet.
It always seemed to be there should be a stdlib function for that.
But now that I ahve the name I can look it up.
Solaris requires this:
-lresolv -lsocket -lnsl

[#] Thu Jan 10 2008 00:07:07 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Cool, thanks. I'm experimenting with a couple of different platforms, and at least the -lresolv bit seems to be universal.

[#] Mon Jan 28 2008 15:36:35 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Check me on this:
if I do a vmstat and I get this:

kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr f0 s0 s2 s4 in sy cs us sy id
0 0 21 2206544 414768 34 7 429408368119 3 3 0 1 0 0 1 0 1105 3427 1933 7 15 78
0 0 17 2566096 610032 5 55 2466009930718 0 0 0 0 0 0 0 0 1818 6360 3392 14 14 72
0 0 17 2566096 610032 0 21 2829625512659 0 0 0 0 0 0 0 0 1493 5221 2816 12 12 76
0 0 17 2566096 610032 1 14 2627509404612 0 0 0 0 0 0 0 0 1558 5020 2811 12 11 76
0 0 17 2566096 610032 0 193 2728567458635 0 0 0 0 0 0 0 0 1433 4183 2129 31 11 57

That page pi number is big and weird.
Sometimes it's 0 and sometimes it's some huge number for a while.
Is that real? It doesn't seem right to be so big.
This is solaris.

[#] Fri Mar 21 2008 17:23:16 EDT from Campagnolo @ Dog Pound BBS II

Subject: postfix issue

[Reply] [ReplyQuoted] [Headers] [Print]

Not quite the right room, but this will have to do.

Setup: two MX servers (10 and 20 in DNS records) w/ identical postfix settings receive mail for domain1 - domain 12.  Domain1 & 2 are transport'ed to internal servers. Domains 3-12 are either stright out redirected to outside mail servers via transport, OR have an entery in local-host-name and have alias enteries to translate the e-mail address to one of the addresses on either an internal or external mail server.

Now for the issue.

I have a domain that I am retireing, it has turned into a spam magnet since it's been in use for over 10 years and I used an e-mail address on that domain openly on websites/forums everywhere.  This domain has been listed as a  local-host-name on both the MX servers with an alias entery to translate the address to one of the domains handled by an internal server.  This has worked flawlessly for the past couple of years.

Today I setup vacation for one account name on both mx servers and removed the alias entery for this e-mail address.  The expected result would have been the mx server seeing that the account is a local and should have attempted local delivery, see the vacation script and processing the mail appropriately.

 Instead, postfix is trying to deliver the mail to one of the internal mail servers as if it was using an alias entery (domain name being changed from domain3 to domain1, but username remaining the same).  Since the account name does NOT* exist, it is bouncing the messages.  

 Any ideas?



[#] Fri Mar 21 2008 17:37:20 EDT from Campagnolo @ Dog Pound BBS II

Subject: more info

[Reply] [ReplyQuoted] [Headers] [Print]

the message I'm seeing on the mx server passing the mail is <username@domain1> (expanded from <username@domain3>) domain1 being my new domain name, and domain3 being the one that should have mail delivered localy. (listed in local-host-names)

[#] Fri Mar 21 2008 17:42:24 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Well, silly question, but did you run postalias after you made the change?

[#] Fri Mar 21 2008 18:17:12 EDT from Campagnolo @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

Ran newaliases which, as far as I understood, worked exactly the same, and in the past has worked.  If it's not the same functionality, then shame on me.
Fri Mar 21 2008 05:42:24 PM EDT from Peter Pulse@uncnsrd (Uncensored)

Well, silly question, but did you run postalias after you made the change?



[#] Fri Mar 21 2008 18:31:58 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Hmm, I am no postfix expert, but I've always run postalias /path/to/aliases and it always works.

[#] Fri Mar 21 2008 19:02:34 EDT from Campagnolo @ Dog Pound BBS II

[Reply] [ReplyQuoted] [Headers] [Print]

I have tried postalias w/o success.  Still getting the same results.  hmm..  my head is starting to hurt.  I think I've grep'ed ffor every possibility, but I'm not finding an error in my configs.  This shouldn't be rocket science.. oh, it isn't, it's postfix science. ;)
Fri Mar 21 2008 06:31:58 PM EDT from Peter Pulse@uncnsrd (Uncensored)

Hmm, I am no postfix expert, but I've always run postalias /path/to/aliases and it always works.


[#] Fri Mar 21 2008 19:11:31 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Wietse is god.

[#] Thu Jul 17 2008 11:34:00 EDT from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Quote of the day...

"Security people are often the black-and-white kind of people that I can't
stand. I think the OpenBSD crowd is a bunch of masturbating monkeys, in
that they make such a big deal about concentrating on security to the
point where they pretty much admit that nothing else matters to them."

-- Linus Torvalds [http://article.gmane.org/gmane.linux.kernel/706950]

[#] Thu Jul 17 2008 12:31:47 EDT from Peter Pulse @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Haha nice find.

[#] Thu Jul 17 2008 15:44:24 EDT from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


I like that. And I like masturbating monkeys...

[#] Thu Jul 17 2008 16:06:55 EDT from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Linus probably loses more friends per hour than bill gates. Over the long term anyway.

Go to page: First ... 28 29 30 31 [32] 33 34 35 36 ... Last