RE: [gentoo-user] postfix .. transports .. and virtual domains ..
Henti Smith wrote: Hi guys, I've got a virtual domain setup for postfix working .. all good .. however I want to setup a spam@ and ham@ address for all domains in the virtual lookup table (mysql) to go via a transport to the script that procresses the mail. I've added the transport in main.cf transport_maps = pcre:/etc/postfix/dspam_lerning_transport.pcre local_recipient_maps = $transport_maps but I'm getting this when I try to send to [EMAIL PROTECTED] Recipient address rejected: User unknown in virtual mailbox table any ideas ? Yup.. the virtual manpage: http://www.postfix.org/virtual.8.html That should help you out--if not, you might consider asking on the postfix-user mailing list. Good luck! :) Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] postfix .. transports .. and virtual domains ..
kashani wrote: That should help you out--if not, you might consider asking on the postfix-user mailing list. Good luck! :) I haven't had to say it in almost a year, which is frankly amazing for any list and says something about the overall quality of the gentoo mail lists. In any case... I don't complain about frame buffers, bash tricks, anything to do with Xorg, grub, kde, gnome, and hundred other things I have no interest in under Gentoo. I ask that *you* do not complain about Apache, PHP, Postfix, Mysql, etc. otherwise known as things I do care about. *rereads above* Um, I wasn't complaining. I pointed him to a man page on postfix.org, and said if that didn't help, he might get better answers on a Postfix mailing list. That's all. *shrug* (And frankly, if I had been complaining, there wouldn't have been a smiley :) there either.) Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] VNC over SSH (VNC session is non-local to SSH)
[EMAIL PROTECTED] wrote: I don't use putty, but I believe pretty much the same way. You should be able to enter vnchost as the destination host name even while logging into your router. [1] You can do it via the command line, or you can create a saved session too. Under Connection-SSH-Tunnels you can enter ports to forward.. then, once you've set your key up and the machine c c, you can save the session--then every time you connect to that saved session, you have your VNC ports all ready. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
[gentoo-user] SATA USB SCSI drives...
Hi everyone.. Running 2006.0, 2.6.15-r5 kernel 1U box, SATA boot drive (sda), and an attached USB drive (in theory, sdb) for on-site backup storage. Problem is--if the USB drive is plugged into the system when it reboots, the *USB drive* comes up as sda. Somehow I doubt changing /etc/modules.autoload.d/kernel-2.6 is going to fix this. I doubt using udev rules is going to fix this, either--as, frankly, the system has to be able to boot in order to read them. Is there any way of getting the USB drive to *not* mount as sda? Ever? :-\ :-/ Thanks in advance, Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] SATA USB SCSI drives...
[EMAIL PROTECTED] wrote: Build USB support as modules, then they won't be available until after the root filesystem is mounted and udev is started. And that was the magic brain unblocker. :) Thanks, Richard! At that point, use udev rules to fix the USB drive's device node to something less generic...like /dev/backups. *nod*! Thanks again! Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] emerge --update: utempter/pam-login is blocking ...
Nico Schümann wrote: emerge --unmerge utempter emerge --unmerge pam-login I would probably do these in a slightly safer manner: emerge --unmerge pam-login emerge --update shadow emerge --unmerge utempter emerge --update libutempter Then I'd go ahead with emerge -uDav. If your machine decides to crash in the middle, and you've unmerged pam-login, but haven't emerged the new shadow, you won't be able to log in. Utempter might not be quite as devastating, but I'd rather be safe than sorry. :) Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] emerge --update: utempter/pam-login is blocking ...
Sieb, Glenn E (Glenn) wrote: emerge --unmerge pam-login emerge --update shadow emerge --unmerge utempter emerge --update libutempter Corrected to show it's two separate lines. I hate Outlook. Honest. I do. Best, --G. -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] A couple projects on my laptop
[N] net-misc/vpnc (): Free client for Cisco VPN routing software I have to say, I used vpnc on FreeBSD at my last FT gig, and it worked like a charm.. was pretty simple to set up and run, and it Just Worked. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Alternative to netkit-telnetd
-Original Message- From: Erik Zeek [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 3:11 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Alternative to netkit-telnetd On Tue April 25 2006 14:46, John Jolet wrote: I find that rm -rf .* works wonders for security. Now guys, someone new is going to try one of these! :) And we all know we've done that at one time or another. Mine was rm -fr /* filename on a running sun box. :) during month-end processing. Once would have been understandable, but I did mine twice (only once as root though). It's fun to stare at the screen wondering why it's taken 5 minutes to delete two hidden directories, followed by a scream of, OH SH*T! which is immediately followed by frantically pounding ctrl-c. -- *** Dr. Erik Zeek Postdoctoral Research Associate Department of Physics and Astronomy The University of Georgia Athens, GA 30602-2451 Tel: 706-542-7293 Email: mailto:[EMAIL PROTECTED] Html: http://www.physast.uga.edu/~zeekec *** Against stupidity the very gods Themselves contend in vain. - Johann Christoph Friedrich von Schiller (1801) *** -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Alternative to netkit-telnetd
Grr. I hate this keyboard. Once would have been understandable, but I did mine twice (only once as root though). It's fun to stare at the screen wondering why it's taken 5 minutes to delete two hidden directories, followed by a scream of, OH SH*T! which is immediately followed by frantically pounding ctrl-c. And then going OMG, my last backup was *when*!?!? (grin) Best, --G. -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Hotpluggable SATA question...
Wouldn't it have been easier to just google for linux SATA hotplug? The first link takes you to this page: http://linux-ata.org/sata-status.html Which explains that the AHCI hardware supports hotplug, but not the libata core on which the driver is based. So for now, it seems that SATA hotplug is not possible on your system. Thank you, Richard. Actually I had been googling Gentoo SATA hotplug. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Hotpluggable SATA question...
Hmm. I have servers using the SuperMicro P8SCT motherboard, which supports hot-pluggable SATA drives. In Gentoo they show as being SCSI, fine, no problem with that. If I hotplug a drive into the chassis--it powers up, but Gentoo doesn't see it until reboot. Has anyone else used hotpluggable SATA drives in Gentoo 2006.0? Is there some mysterious package I need to emerge for this to work right? Output of dmesg follows. Thanks in advance, Best, --Glenn Linux version 2.6.15-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Mon Feb 13 20:23:47 UTC 2006 BIOS-provided physical RAM map: BIOS-e820: - 0009f400 (usable) BIOS-e820: 0009f400 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 7f6e (usable) BIOS-e820: 7f6e - 7f6e3000 (ACPI NVS) BIOS-e820: 7f6e3000 - 7f6f (ACPI data) BIOS-e820: 7f6f - 7f70 (reserved) BIOS-e820: e000 - f000 (reserved) BIOS-e820: fec0 - 0001 (reserved) 1142MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f3a60 On node 0 totalpages: 521952 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 292576 pages, LIFO batch:31 DMI 2.3 present. ACPI: RSDP (v000 IntelR) @ 0x000f7bc0 ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e3040 ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e30c0 ACPI: MCFG (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e7540 ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e7440 ACPI: SSDT (v001 PmRef Cpu0Ist 0x3000 INTL 0x20041203) @ 0x7f6e75c0 ACPI: SSDT (v001 PmRefCpuPm 0x3000 INTL 0x20041203) @ 0x7f6e7a50 ACPI: DSDT (v001 INTELR AWRDACPI 0x1000 MSFT 0x010e) @ 0x ACPI: Local APIC address 0xfee0 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) Processor #0 15:4 APIC version 20 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) Processor #1 15:4 APIC version 20 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) ACPI: IOAPIC (id[0x04] address[0xfec0] gsi_base[0]) IOAPIC[0]: apic_id 4, version 32, address 0xfec0, GSI 0-23 ACPI: IOAPIC (id[0x05] address[0xfec84400] gsi_base[24]) IOAPIC[1]: apic_id 5, version 32, address 0xfec84400, GSI 24-47 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) ACPI: IRQ0 used by override. ACPI: IRQ2 used by override. ACPI: IRQ9 used by override. Enabling APIC mode: Flat. Using 2 I/O APICs Using ACPI (MADT) for SMP configuration information Allocating PCI resources starting at 8000 (gap: 7f70:6090) Built 1 zonelists Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 mapped APIC to d000 (fee0) mapped IOAPIC to c000 (fec0) mapped IOAPIC to b000 (fec84400) Initializing CPU#0 CPU 0 irqstacks, hard=c0427000 soft=c041f000 PID hash table entries: 4096 (order: 12, 65536 bytes) Detected 3400.303 MHz processor. Using tsc for high-res timesource Speakup v-2.00 CVS: Wed Dec 21 14:36:03 EST 2005 : initialized Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 2061544k/2087808k available (2388k kernel code, 24896k reserved, 561k data, 220k init, 1170304k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 6808.63 BogoMIPS (lpj=34043180) Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 2010 649d CPU: After vendor identify, caps: bfebfbff 2010 649d monitor/mwait feature present. using mwait in idle threads. CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 2048K CPU: Physical Processor ID: 0 CPU: After all inits, caps: bfebfbff 2010 0080 649d mtrr: v2.0 (20020519) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. CPU0: Intel(R) Pentium(R) 4 CPU 3.40GHz stepping 03 Booting processor 1/1 eip 2000 CPU 1 irqstacks, hard=c0428000 soft=c042 Initializing CPU#1 Calibrating delay using timer specific routine.. 6800.40 BogoMIPS (lpj=34002005) CPU: After generic identify, caps: bfebfbff 2010
RE: [gentoo-user] Hotpluggable SATA question...
Brett, Will the hotplug package work on these drives? Hmm. (checks) Well, it appears to be installed. # equery list hotplug [ Searching for package 'hotplug' in all categories among: ] * installed packages [I--] [ ] sys-apps/hotplug-20040923-r1 (0) [I--] [ ] sys-apps/hotplug-base-20040401 (0) Further checking: There's a scsi.agent in /etc/hotplug/ So now I've tried: hotplug scsi add sdb (which sounded like the right thing to do after looking at /etc/hotplug/scsi.agent) Doing that command didn't give any feedback. dmesg hasn't changed... heck doing hotplug scsi blah didn't give any feedback either. Thanks for the reply :) I'm hoping I can do this. Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Question about 2006.0 and order of NIC detectio n
Hi Jeremy, Sieb, Glenn E (Glenn) wrote: Is there a way I can change this so that eth0/1 are the on-board ports? It will save me lots of headaches later. :) You are looking for udev. Udev will create names for devices (USB drives, NICs, etc) http://www.gentoo.org/doc/en/udev-guide.xml http://www.reactivated.net/writing_udev_rules.html Thanks for the links--I took a look through this stuff, and though it's (very) nifty, it isn't quite what I want. This seems to only help if I have *one* machine that I want to rename my NICs on. I want my NICs to come up on *all* my servers: Motherboard (tg3) NICs first: eth0 eth1 PCI (e1000) NICs second: eth2 eth3 I can do this if I write udev rules for every separate server, and then on every new server I build I have to go change the udev rules to match the MAC addresses for that box. Not quite what I had in mind for this. Maybe /etc/modules.autoload.d/kernel-2.6 is what I want? If I put tg3 in there, it then loads tg3 before e1000, thus giving the tg3 interfaces eth0 eth1. However, before I broadcast that change to all of my boxes, I want to be sure this isn't the wrong way of doing this. Thanks in advance! Best, --Glenn -- Glenn E. Sieb, MTS Bell Laboratories [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Another query.. this time about installprofile.xml
Hi everyone :) In installprofile.xml, there's an option to list packages you want installed in a space-delimited format. Just wondering--can I specify *versions* there? Like: app-admin/logrotate-x.xx app-admin/sudo-y.yy app-admin/syslog-ng-z.zz app-admin/sysstat-q.qq and so forth (where x.xx/y.yy/z.zz/q.qq are actual version numbers)? If not, what is the best way of going about to make sure that, say, 10 machines are all set up with the same version of various packages that are on other machines? (Development environment, so versioning is, as we say, imperative. :) ) Thank you all in advance! Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Another query.. this time about installprofile. xml
Chris said: Yes but that's not clean Understood. I'm _very_ new to Gentoo. I've spent the past 6 years supporting FreeBSD systems, and I'm being thrown into the deep end of the pool at this new job ;-) Use the same portage tree, have only the package version(s) you want avaliable. The installer has the option to use nfs mounts, webrsync, standard rsync, or a URI to a snapshot (which can be both local or remote). Gotcha. So in the installprofile.xml I can set: portage-snapshot file:///mnt/cdrom/snapshots/portage-20060123.tar.bz2 /portage-snapshot To be something more like: Thank you all in advance! Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 Chris White -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Another query.. this time about installprofile. xml
*Sigh* Sorry for the fat fingers before :-/ Let's try this again, eh? Chris said: Yes but that's not clean Understood. I'm _very_ new to Gentoo. I've spent the past 6 years supporting FreeBSD systems, and I'm being thrown into the deep end of the pool at this new job ;-) Use the same portage tree, have only the package version(s) you want avaliable. The installer has the option to use nfs mounts, webrsync, standard rsync, or a URI to a snapshot (which can be both local or remote). Gotcha. So in the installprofile.xml I can set: portage-snapshot file:///mnt/cdrom/snapshots/portage-20060123.tar.bz2 /portage-snapshot To be something more like: portage-snapshot nfs:///usr/portage/ /portage-snapshot Or along those lines (I'll do it through the gui and see how it changes the file)? My eventual goal is to have a netboot system for setting up boxes, but right now the need is great, the time is short and the resources are nil. :-\ And thank you all for your help--you've been great :-) Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Quick vnc question..
Hi everyone! I'm looking for a little app called vncconfig--everything seems to point that this should be a part of RealVNC's package, net-misc/vnc. Unfortunately, it seems that the package is only the viewer, when I need the server as well. Is there a package that has vncconfig in it that's part of the portage system? Or do I need to grab install this stuff manually? Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Quick vnc question..
Richard, carcharias rjf # emerge -pv net-misc/vnc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/vnc-4.0-r1 USE=-server 0 kB Looks like you should be able to get the server by: echo net-misc/vnc server /etc/portage/package.use emerge net-misc/vnc Thanks!! Best, --Glenn (I'll get the hang of this :) ) -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Question about 2006.0 and order of NIC detection
Hi everyone! Relatively new to Gentoo. Been more of a FreeBSD guy the past few years, but current job is setting up Gentoo boxes, so I get to learn a bunch of new stuff (yay!). Machine in question has an Intel gig-E PCI card (e1000 driver) and two Tigron gig-E ports built into the motherboard (tg3 driver). So, I downloaded the 2006.0 (I keep typing 2600 Hehe..) live-cd, and when I boot from it, the motherboard ports come up as eth0 and eth1, and the Intel as eth2 and eth3. This makes sense. We like this. However, once I install, the system decides Oh no, we're going to screw with your head now, boy! and switches it so that the *Intel* card comes up as eth0/1 and the on-board ports are eth2/3. Is there a way I can change this so that eth0/1 are the on-board ports? It will save me lots of headaches later. :) Thank you all in advance--and I have to say--nice job on the spiffy-new installer interface! :) Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Question about 2006.0 and order of NIC detectio n
Thanks, Jeremy, I'll take a look at that in the morning! :) Best, --Glenn -- Glenn E. Sieb, MTS [EMAIL PROTECTED] +1 732 949 5453 -- gentoo-user@gentoo.org mailing list