[CentOS] Antwort: Re: what is the best way to delete so many queue files?
Hi, "nate" schrieb am 31.08.2009 23:57:09: > MontyRee wrote: > > > What is the best way to delete fast without too much load? > > If you put /var on another file system you could: > - go to single user mode > - copy all files off of /var except those in the queue directory > - re-format the file system > - copy all the files back > - go to multi user mode > > If there are a TON of files that could be much much faster > than deleting them individually. > > otherwise: > > find /var/spool/clientmqueue -type f -exec rm -f {} \; You probably want to do find /var/spool/clientmqueue -type f -exec rm -f {} \+ to reduce your load or if your find(1) isn't POSIX compliant: find /var/spool/clientmqueue -type f -print0 | xargs -0 rm -f If the load is of a problem use nice(1). Though I thought sendmail brings a way on its own to delete messages from the queue, which I would then prefer to use. > Another option I've never tried passing two commands to find > at the same time, but assuming doing that is not possible you > could create a script that calls rm -f and sleeps a second in > between each file deletion - You can't give 2 commands to find's -exec and > [na...@us-cfe002:/tmp]$ cat test.sh > #!/bin/bash > rm -fv $1 > echo "Sleeping 1 second" > sleep 1 I strongly recommend mounting /tmp as nosuid,nodev *and* noexec, especially on a server. HTH, Frank. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Conntrack-tools for CentOS 4.8
From: Matt Shields >Does anyone know where I can get an RPM of Conntrack-tools, >libnetfilter_conntrack and libnfnetlink that work with CentOS 4.8? Rpmforge seems to have libnfnetlink for el4... http://dag.wieers.com/rpm/packages/libnfnetlink/ JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configuring the firewall on CentOS
From: Timothy Murphy > Is there a CentOS equivalent to config-system-firewall in Fedora, > allowing specified services to pass through? Console version is /usr/sbin/lokkit JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Antwort: Re: what is the best way to delete so many queue files?
On Tue, 2009-09-01 at 09:12 +0200, frank.brodb...@klingel.de wrote: > > You probably want to do > > find /var/spool/clientmqueue -type f -exec rm -f {} \+ Or the variant ... -execdir command {} + might be preferable. It claims to avoid potential race conditions and warns about $PATH setting. > > to reduce your load or if your find(1) isn't POSIX compliant: > > find /var/spool/clientmqueue -type f -print0 | xargs -0 rm -f > > HTH, > Frank. > Frank, I need to re-read man pages more than once every decade or so. I didn't know they had added new forms of exec. Thanks, -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Configuring the firewall on CentOS
Barry Brimer wrote: >> Is there a CentOS equivalent to config-system-firewall in Fedora, >> allowing specified services to pass through? > > I don't know if it is the same as in Fedora, but there is firewall > configuration available in system-config-securitylevel Thanks. I did know that, but had forgotten! -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum priorities and rpmforge...
Hi, I am using the yum priorities plugin and, for some reason, it is blocking all rpmforge updates, even for already installed rpmforge packages... I have priority=1 for CentOS repos. Is it the 'normal' behavior or is something wrong in my conf? Thx, JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for RAID 1+0 setup instructions?
On Aug 31, 2009, at 7:59 PM, Christopher Chan wrote: > Ross Walker wrote: >> On Aug 30, 2009, at 10:33 PM, Christopher Chan >> >> wrote: >> >> >> How would one setup RAID 1+0 (i.e. 2x mirror'ed RAID1's and >> then a >> RAID 0 on top of it) on say CentOS 4.6 ? >> >> > Setup both RAID-1 arrays then stripe them with LVM? > > http://www.redhat.com/magazine/009jul05/features/lvm2/ > > Though I'd prefer to opt for a hardware raid card, I think > you said you had SATA disks, which if that's the case would > go for a 3ware. > > nate > > > ___ > > Nate, this is what I was looking for :) I'm going away for 2 weeks now, but will definitely give it a shot as soon as I can, >>> I would NOT do that. You should like the md layer handle all things >>> raid >>> and let lvm do just volume management. >>> >> >> Your under the asumption that they are two different systems. >> > You're under the assumption that they are not. http://en.m.wikipedia.org/wiki/Device_mapper If you want I can forward LXR references to MD and LVM into the device mapper code or LKML references that talk about rewriting MD and LVM for device mapper. >> Md RAID and LVM are both interfaces to the device mapper system which >> handles the LBA translation, duplication and parity calculation. >> > > Are they? Since when was md and dm the same thing? dm was added > after md > had had a long presence in the linux kernel...like since linux 2.0 Both MD RAID and LVM were rewritten to use the device mapper interface to mapped block devices back around the arrival of 2.6. >> I have said it before, but I'll say it again, how much I wish md RAID >> and LVM would merge to provide a single interface for creation of >> volume groups that support different RAID levels. >> >> > Good luck with that. If key Linux developers diss the zfs approach and > vouch for the multi-layer approach, I do not ever see md and dm > merging. I'm not talking ZFS, I'm not talking about merging the file system, just the RAID and logical volume manager which could make designing installers and managing systems simpler. >> >>> To create a raid1+0 array, you first create the mirrors and then you >>> create a striped array that consists of the mirror devices. There is >>> another raid10 module that does its own thing with regards to >>> 'raid10', >>> is not supported by the installer and does not necessarily behave >>> like >>> raid1+0. >>> >> >> Problem is the install program doesn't support setting up RAID10 or >> layered MD devices. >> > Oh? I have worked around it before even in the RH9 days. Just go into > the shell (Hit F2), create what you want, go back to the installer. > Are > you so sure that anaconda does not support creating layered md > devices? > BTW, why are you talking about md devices now? I thought you said md > and > dm are the same? You know what, let me try just that today, I have a new install to do, so I'll try pre-creating a RAID10 on install and report back. First I'll try layered MD devices and then I'll try creating a RAID10 md device and we'll see if it can even boot off them. >> I would definitely avoid layered MD devices as it's more complicated >> to resolve disk failures. >> > Huh? > > I do not see what part of 'cat /proc/mdstat' will confuse you. It will > always report which md device had a problem and it will report which > device, be they md devices (rare) or disks. Having a complex setup is always more error prone to a simpler one. Always. >> In my tests an LVM striped across two RAID1 devices gave the exact >> same performance as a RAID10, but it gave the added benefit of >> creating LVs with varying stripe segment sizes which is great for >> varying workloads. > > > Now that is complicating things. Is the problem in the dm layer or in > the md layer...yada, yada Not really, have multiple software or hardware RAID1s make a VG out of them, then create LVs. One doesn't have to do anything special if it isn't needed, but it's there and simple to do if you need to. Try changing the segment size of an existing software or hardware array when it's already setup. You know you really are an arrogant person that doesn't tolerate anyone disagreeing with them. You are the embodyment of everything people talk about when they talk about the Linux community's elist attitude and I wish you would make at least a small attempt to change your attitude. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] quota command broken
We noticed a big change in the workings of the quota command when moving from RHEL3 to CentOS5. Under RHEL3 (quota-3.10-7), quota -v essentially lists the fs quotas for all users logged into the local machine. Under CentOS5 (quota-3.13-1.2.5.el5), only one user quota is displayed, and while the actual data seems to be correct, the attribution is usually wrong. E.g. $ whoami user1 $ quota -v Disk quotas for user user1 (uid 12345): Filesystem blocks quota limit grace files quota limit grace nfs:/vol/vol2/user2 2596260 4194304 4194304 406132 614400 614400 $ This is for NFS quotas. We don't use local Linux quotas, and I haven't tested them. I don't know how this stuff works under the hood; is it possible that underlying kernel structures have changed, or some kernel config was dropped? I compiled the latest quota tools on both RHEL3 and CentOS5 and found the same behaviour, so the quota tools themselves are most likely not at fault. --- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. --- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum priorities and rpmforge...
John Doe wrote: > Hi, > > I am using the yum priorities plugin and, for some reason, it is blocking all > rpmforge > updates, even for already installed rpmforge packages... > I have priority=1 for CentOS repos. > Is it the 'normal' behavior or is something wrong in my conf? If CentOS repos are 1 and rpmforge is 2 (or higher), then yes it will PROTECT the CentOS repo from updated from rpmforge. This is the behavior regardless of if where the installed packages are from. If rsync is in both CentOS and RPMForge ... you will always get rsync from CentOS with yum (even if you manually installed the rsync from RPMForge ... yum will still use the one from the CentOS repos) If you want to get a file from RPMForge and not a REPO that has a priority number that is lower (ie 1 vs 2 in this case), then in the higher priority repo, you need to add an "exclude=" line in the CentOS-Base.repo file for that repo (in this case, in the base and updates sections). You would put this: exclude=rsync signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum priorities and rpmforge...
Hi, On Tue, Sep 1, 2009 at 09:07, John Doe wrote: > I am using the yum priorities plugin and, for some reason, it is blocking all > rpmforge > updates, even for already installed rpmforge packages... If you mean "blocking updates for already installed rpmforge packages that also exist in the main distro which is configured with a higher priority (lower number)", then yes, that is the expected from the priorities plugin. If you want to override packages that exist in the main distro and use the ones from a lower priority (higher number) repository instead, you should add "exclude=..." lines in the definitions of the base repos to be able to pick those from the other repo instead. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum priorities and rpmforge...
On Tue, Sep 1, 2009 at 7:07 AM, Johnny Hughes wrote: > John Doe wrote: > If CentOS repos are 1 and rpmforge is 2 (or higher), then yes it will > PROTECT the CentOS repo from updated from rpmforge. This is the > behavior regardless of if where the installed packages are from. If > rsync is in both CentOS and RPMForge ... you will always get rsync from > CentOS with yum (even if you manually installed the rsync from RPMForge > ... yum will still use the one from the CentOS repos) > > If you want to get a file from RPMForge and not a REPO that has a > priority number that is lower (ie 1 vs 2 in this case), then in the > higher priority repo, you need to add an "exclude=" line in the > CentOS-Base.repo file for that repo (in this case, in the base and > updates sections). You would put this: > > exclude=rsync To the OP, This is all well documented in the CentOS wiki. http://wiki.centos.org/AdditionalResources/Repositories http://wiki.centos.org/AdditionalResources/Repositories/RPMForge http://wiki.centos.org/PackageManagement/Yum/Priorities Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum priorities and rpmforge...
From: Filipe Brandenburger > If you mean "blocking updates for already installed rpmforge packages > that also exist in the main distro which is configured with a higher > priority (lower number)", then yes, that is the expected from the > priorities plugin. My bad. I thought the package did not exist in the CentOS repo, but it does... It must have been overwritten by a previous update when I did not have yet the priorities plugin. Thx to all, JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] setup iptables to allow forwarding through eth1
On Mon, Aug 31, 2009 at 12:03 AM, Hodja Nasredin wrote: > Hi, > > did you try: > > iptables -I FORWARD 1 -i eth1 -j ACCEPT > iptables -I FORWARD 1 -o eth1 -j ACCEPT This did the trick, thanks! Peter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for RAID 1+0 setup instructions?
I would NOT do that. You should like the md layer handle all things raid and let lvm do just volume management. >>> Your under the asumption that they are two different systems. >>> >>> >> You're under the assumption that they are not. >> > > http://en.m.wikipedia.org/wiki/Device_mapper > > If you want I can forward LXR references to MD and LVM into the device > mapper code or LKML references that talk about rewriting MD and LVM > for device mapper. > > > md can make use of dm to get devices for its use but it certainly does not just ask dm to create a raid1 device. md does the actually raiding itself. Not dm. >>> Md RAID and LVM are both interfaces to the device mapper system which >>> handles the LBA translation, duplication and parity calculation. >>> >>> >> Are they? Since when was md and dm the same thing? dm was added >> after md >> had had a long presence in the linux kernel...like since linux 2.0 >> > > Both MD RAID and LVM were rewritten to use the device mapper interface > to mapped block devices back around the arrival of 2.6. > > That does not equate to md and dm being the same thing. Like you say, 'TO USE' dm. When did that mean they are the same thing? >>> I have said it before, but I'll say it again, how much I wish md RAID >>> and LVM would merge to provide a single interface for creation of >>> volume groups that support different RAID levels. >>> >>> >>> >> Good luck with that. If key Linux developers diss the zfs approach and >> vouch for the multi-layer approach, I do not ever see md and dm >> merging. >> > > I'm not talking ZFS, I'm not talking about merging the file system, > just the RAID and logical volume manager which could make designing > installers and managing systems simpler. > > Good luck taking Neil Brown out then. http://lwn.net/Articles/169142/ and http://lwn.net/Articles/169140/ Get rid of Neil Brown and md will disappear. I think. > To create a raid1+0 array, you first create the mirrors and then you create a striped array that consists of the mirror devices. There is another raid10 module that does its own thing with regards to 'raid10', is not supported by the installer and does not necessarily behave like raid1+0. >>> Problem is the install program doesn't support setting up RAID10 or >>> layered MD devices. >>> >>> >> Oh? I have worked around it before even in the RH9 days. Just go into >> the shell (Hit F2), create what you want, go back to the installer. >> Are >> you so sure that anaconda does not support creating layered md >> devices? >> BTW, why are you talking about md devices now? I thought you said md >> and >> dm are the same? >> > > You know what, let me try just that today, I have a new install to do, > so I'll try pre-creating a RAID10 on install and report back. First > I'll try layered MD devices and then I'll try creating a RAID10 md > device and we'll see if it can even boot off them. > > Let me just point out that I never said you can boot off a raid1+0 device. I only said that you can create a raid1+0 device at install time. /boot will have to be on a raid1 device. The raid1+0 device can be used for other filesystems including root or as a physical volume. Forget raid10, that module is not even available at install time with Centos 4 IIRC. Not sure about Centos 5. >>> I would definitely avoid layered MD devices as it's more complicated >>> to resolve disk failures. >>> >>> >> Huh? >> >> I do not see what part of 'cat /proc/mdstat' will confuse you. It will >> always report which md device had a problem and it will report which >> device, be they md devices (rare) or disks. >> > > Having a complex setup is always more error prone to a simpler one. > Always. > > -_- Both are still multilayered...just different codepaths/tech. I do not see how lvm is simpler than md. >>> In my tests an LVM striped across two RAID1 devices gave the exact >>> same performance as a RAID10, but it gave the added benefit of >>> creating LVs with varying stripe segment sizes which is great for >>> varying workloads. >>> >> Now that is complicating things. Is the problem in the dm layer or in >> the md layer...yada, yada >> > > Not really, have multiple software or hardware RAID1s make a VG out of > them, then create LVs. One doesn't have to do anything special if it > isn't needed, but it's there and simple to do if you need to. Try > changing the segment size of an existing software or hardware array > when it's already setup. > Yeah, using lvm to stripe is certainly more convenient. > You know you really are an arrogant person that doesn't tolerate > anyone disagreeing with them. You are the embodyment of everything > people talk about when they talk about the Linux community's elist > attitude and I wish you would make at least a
[CentOS] CentOS-announce Digest, Vol 55, Issue 1
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-announce digest..." Today's Topics: 1. CESA-2009:1238 Important CentOS 5 i386 dnsmasqUpdate (Karanbir Singh) 2. CESA-2009:1238 Important CentOS 5 x86_64 dnsmasq Update (Karanbir Singh) -- Message: 1 Date: Tue, 1 Sep 2009 15:10:22 + From: Karanbir Singh Subject: [CentOS-announce] CESA-2009:1238 Important CentOS 5 i386 dnsmasq Update To: centos-annou...@centos.org Message-ID: <20090901151022.ga10...@tantra.karan.org> Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2009:1238 Important Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1238.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) i386: 15068053a0aeea31232c06e17b88d2e7 dnsmasq-2.45-1.1.el5_3.i386.rpm Source: 88bd7bb7252fd9f2ba5fdbdb09b57d95 dnsmasq-2.45-1.1.el5_3.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net -- Message: 2 Date: Tue, 1 Sep 2009 15:10:23 + From: Karanbir Singh Subject: [CentOS-announce] CESA-2009:1238 Important CentOS 5 x86_64 dnsmasq Update To: centos-annou...@centos.org Message-ID: <20090901151023.ga10...@tantra.karan.org> Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2009:1238 Important Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1238.html The following updated files have been uploaded and are currently syncing to the mirrors: ( md5sum Filename ) x86_64: 9ee6bf903671f38806a119874ec74eec dnsmasq-2.45-1.1.el5_3.x86_64.rpm Source: 88bd7bb7252fd9f2ba5fdbdb09b57d95 dnsmasq-2.45-1.1.el5_3.src.rpm -- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #cen...@irc.freenode.net -- ___ CentOS-announce mailing list centos-annou...@centos.org http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 55, Issue 1 ** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.3 - Activating laptop wireless card
I've just installed CentOS 5.3 on my Dell laptop and it seems to have detected and set-up my wireless card (BCM 4311) correctly as eth1. However, so far I haven't been able to activate it and have read the wiki http://wiki.centos.org/HowTos/Laptops/Wireless#head-320d6fcf09b7e16e0b15d19ef76adcb023a95938 which indicates that this card isn't actually supported in CentOS - but there has been an improvement over earlier kernels because the card wasn't even detected in CentOS 5.0. So do I need to get the Windows driver from http://www.broadcom.com/support/802.11/linux_sta.php and do I need ndiswrapper as well? Andy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for RAID 1+0 setup instructions?
On Tue, Sep 1, 2009 at 9:44 AM, Ross Walker wrote: > On Aug 31, 2009, at 7:59 PM, Christopher Chan > wrote: > >> Ross Walker wrote: >>> >>> Problem is the install program doesn't support setting up RAID10 or >>> layered MD devices. >>> >> Oh? I have worked around it before even in the RH9 days. Just go into >> the shell (Hit F2), create what you want, go back to the installer. Are >> you so sure that anaconda does not support creating layered md devices? >> BTW, why are you talking about md devices now? I thought you said md and >> dm are the same? > > You know what, let me try just that today, I have a new install to do, so > I'll try pre-creating a RAID10 on install and report back. First I'll try > layered MD devices and then I'll try creating a RAID10 md device and we'll > see if it can even boot off them. Ok, I verified that inside anaconda one cannot create layered MD RAID arrays because once one forms an array there is no choice to create a volume of type "Software RAID". The RAID choices are RAID0, RAID1, RAID5 or RAID6 during install, no RAID10. I can create multiple RAID1s though, of type "LVM Physical Volume" and then create a volume group composed of those. I can then create a root LV and a swap LV, though these will not be striped because LVM doesn't default to striping PVs, but concatenating, so in order to stripe these I'll need to leave enough free space to create striped versions, dump and restore from the old root to the new root and then edit the fstab/grub, run mkinitrd and reboot. Not exactly convenient, but unfortunate due to LVM's default policy of concatenating PVs instead of striping them... oh well. As far as creating a RAID10 at the command prompt, the dm-raid10 kernel module is missing from the install image, so no luck directly creating a RAID10, and after a couple of reboots I was able to create a layered setup, but anaconda didn't recognize it (either immediately, or after a reboot) to be able to perform an install on it because it doesn't start the arrays upon startup to be able to find the nested one. So if it worked for you in RH9, it no longer works anymore. Maybe because RH9 had a separate MD RAID implementation and not the device-mapper implementation. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Digest, Vol 56, Issue 1
Spett.le Cliente, dal 7 Settembre 2009 al 25 Settembre 2009 non sarò in grado di leggere le email inviate a questo indirizzo. Per urgenze compilare il form sul nuovo sito della Computer srl http://www.computersrl.com/home/index.php?option=com_jforms&view=form&id=3&Itemid=87 o chiamare il numero 0438.450500 Grazie Giuseppe Corazzin COMPUTER srl Via Conegliano 94/b - 31058 SUSEGANA (TV) Web: www.computersrl.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for RAID 1+0 setup instructions?
On Tue, Sep 1, 2009 at 11:09 AM, Chan Chung Hang Christopher wrote: > > I would NOT do that. You should like the md layer handle all things raid > and let lvm do just volume management. Your under the asumption that they are two different systems. >>> >>> You're under the assumption that they are not. >> >> http://en.m.wikipedia.org/wiki/Device_mapper >> >> If you want I can forward LXR references to MD and LVM into the device >> mapper code or LKML references that talk about rewriting MD and LVM >> for device mapper. > > md can make use of dm to get devices for its use but it certainly does > not just ask dm to create a raid1 device. md does the actually raiding > itself. Not dm. Actually I am going to eat crow on this. While device mapper has support for "fake raid" devices and managing RAID under those, the actual kernel RAID modules are still handled under linux-raid. Though there is an ongoing effort to bring these into device mapper, it still isn't there yet. Md RAID and LVM are both interfaces to the device mapper system which handles the LBA translation, duplication and parity calculation. >>> >>> Are they? Since when was md and dm the same thing? dm was added after md >>> had had a long presence in the linux kernel...like since linux 2.0 >>> >> >> Both MD RAID and LVM were rewritten to use the device mapper interface >> to mapped block devices back around the arrival of 2.6. > > That does not equate to md and dm being the same thing. Like you say, > 'TO USE' dm. When did that mean they are the same thing? As I stated above I was wrong here. I have said it before, but I'll say it again, how much I wish md RAID and LVM would merge to provide a single interface for creation of volume groups that support different RAID levels. >>> >>> Good luck with that. If key Linux developers diss the zfs approach and >>> vouch for the multi-layer approach, I do not ever see md and dm >>> merging. >> >> I'm not talking ZFS, I'm not talking about merging the file system, >> just the RAID and logical volume manager which could make designing >> installers and managing systems simpler. > > Good luck taking Neil Brown out then. http://lwn.net/Articles/169142/ > and http://lwn.net/Articles/169140/ > > Get rid of Neil Brown and md will disappear. I think. People change over time and if a convincing argument can be made why device mapper and linux raid should merge code then I'm sure Neil would reconsider his stance. > To create a raid1+0 array, you first create the mirrors and then you > create a striped array that consists of the mirror devices. There is > another raid10 module that does its own thing with regards to > 'raid10', is not supported by the installer and does not necessarily > behave like raid1+0. Problem is the install program doesn't support setting up RAID10 or layered MD devices. >>> >>> Oh? I have worked around it before even in the RH9 days. Just go into >>> the shell (Hit F2), create what you want, go back to the installer. >>> Are you so sure that anaconda does not support creating layered md >>> devices? I tested it and it doesn't work/isn't supported. >>> BTW, why are you talking about md devices now? I thought you said md >>> and dm are the same? >> >> You know what, let me try just that today, I have a new install to do, >> so I'll try pre-creating a RAID10 on install and report back. First >> I'll try layered MD devices and then I'll try creating a RAID10 md >> device and we'll see if it can even boot off them. > > Let me just point out that I never said you can boot off a raid1+0 > device. I only said that you can create a raid1+0 device at install > time. /boot will have to be on a raid1 device. The raid1+0 device can be > used for other filesystems including root or as a physical volume. > Forget raid10, that module is not even available at install time with > Centos 4 IIRC. Not sure about Centos 5. My tests had a separate RAID1 for /boot to take the whole booting off of RAID10 out of the picture. The problem I had with pre setting the layered MD devices for anaconda, is while I was able to do that after a couple reboots to get it to see the partitioning, anaconda didn't actually start the arrays until further in the install process, so it wasn't able to see the nested array and starting the arrays manually didn't help because anaconda wouldn't re-scan the devices again. I would definitely avoid layered MD devices as it's more complicated to resolve disk failures. >>> >>> Huh? >>> >>> I do not see what part of 'cat /proc/mdstat' will confuse you. It will >>> always report which md device had a problem and it will report which >>> device, be they md devices (rare) or disks. >> >> Having a complex setup is always more error prone to a simpler one. >> Always. > > -_- > > Both are still multilayered...just different codepaths/tech. I do not > see how lvm is simpler than md. Well running 2 layers
Re: [CentOS] CentOS 5.3 - Activating laptop wireless card
Andrew Allen wrote: > I've just installed CentOS 5.3 on my Dell laptop and it seems to have > detected and set-up my wireless card (BCM 4311) correctly as eth1. > However, so far I haven't been able to activate it and have read the > wiki > http://wiki.centos.org/HowTos/Laptops/Wireless#head-320d6fcf09b7e16e0b15d19ef76adcb023a95938 > which indicates that this card isn't actually supported in CentOS - but > there has been an improvement over earlier kernels because the card > wasn't even detected in CentOS 5.0. So do I need to get the Windows > driver from http://www.broadcom.com/support/802.11/linux_sta.php and do > I need ndiswrapper as well? > > Andy > That's not a Windows driver, it's a native Linux driver that you sould download and compile for your kernel. Being a native Linux driver, it doesn't require ndiswrapper. The ndiswrapper section is the next section on that Wiki page and is unrelated (is it confusing?). I believe this topic was also discussed recently on this mailing list (a few months back iirc). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] For you old-timers, an RS232 question about data rate confirmation.
Hello all. This is a question that I should be able to answer, but the old grey cells aren't working. My Google-Fu must not be up to snuff, either. I have a MOXA IP-RS232 converter that I'm going to be using over an RF WAN and I need to confirm the actual data rate that I'll be able to achieve. I have the drivers loaded (/dev/ttyr00) and a loopback plug on the end of the device. I am able to confirm that it works fine with minicom, but I'd like to be able to have a program read/write the device with a largish file and give me a throughput rating. Short of writing my own program, can anyone point me to a good tool for that purpose. yum search RS232 and yum search serial haven't provided what I'm looking for and I can't imagine that this isn't already done. Thanks! Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 5.3 install on gigabyte GA-MA790FX-UD5P motherboard
Hi, test following kernelparameters: pci=nomsi(this works on my Asus Crosshair Formula II with Nvidia 780a SLI Chipset) noapic acpi=off Am 31.08.2009 09:08, schrieb Nathan Norton: > > Hi, > > I am having some difficulties installing centos 5.3 on the gigabyte > GA-MA790FX-UD5P motherboard. > > Has anyone got centos booting on this motherboard? > > so far I have tried the following. > > + disabled the jmicron controller as this caused errors on booting > JMB363 bad irq(0): will probe later error (this error caused the > installation to stop at this point) > > + tested all components in another computer, they all work. > > + remove all unnecessary components from the pci bus. > > + power supply is not an issue since I have used a 850W PSU > > Basically what I am seeing is once the installation process starts and asks > do i have another sata disk, and I select no the screen freezes at this point > *every* single time, the screen is always blue with a couple of greek looking > characters on the screen. No logs are left at this point in the installation, > so it is making it difficult to diagnose. > > Today I installed the grml distribution and it worked with no issues, it > uses a base kernel of 2.6.28. so there is nothing wrong with the hardware but > centos still does not want to install on this motherboard. > > Anyone have any ideas? > > Nathan > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
On Tue, Sep 01, 2009 at 03:38:23PM -0400, Barry L. Kline wrote: > the end of the device. I am able to confirm that it works fine with > minicom, but I'd like to be able to have a program read/write the device > with a largish file and give me a throughput rating. Since you have loopback adapter connected you need to read/write from the device at the same time. So... first attempt: cat /dev/null & time cat large_file > /dev/ttyr00 Been a long time since I played with serial comms, but that'd be my first attempt. Second attempt would be to make a full serial connection to another machine (port on the same machine?) and use "ckermit" to transfer a file. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] For you old-timers, an RS232 question about data rate confirmation.
On Tue, 1 Sep 2009, Barry L. Kline wrote: > Short of writing my own program, can anyone point me to a good tool for > that purpose. yum search RS232 and yum search serial haven't provided > what I'm looking for and I can't imagine that this isn't already done. Are the Kansas City cassette tape storage PLL sampling routines still about? Or hit ^h repeatedly, until sync is achieved, as we did in the old modem days 110 bps v 300 on a good link with a Don Lancaster Pennywhistle modem ;) As I understand the problem it may be that the signal could degrade from whatever max data rate the circuit is rated for. I am not aware of a resampling routine in any recent kit that CentOS ships -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
Barry L. Kline wrote: > Short of writing my own program, can anyone point me to a good tool for > that purpose. yum search RS232 and yum search serial haven't provided > what I'm looking for and I can't imagine that this isn't already done. For writing have you tried dd ? nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen Harris wrote: > Since you have loopback adapter connected you need to read/write from > the device at the same time. So... first attempt: > cat /dev/null & > time cat large_file > /dev/ttyr00 > > Been a long time since I played with serial comms, but that'd be my first > attempt. > > Second attempt would be to make a full serial connection to another machine > (port on the same machine?) and use "ckermit" to transfer a file. > Thanks Stephen. Your first attempt was what I was trying to accomplish. The second attempt may be what I next try. Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKnYSACFu3bIiwtTARAk4eAJ470twpUOLlja+TA55HtpRVqSrsngCfYgSp eL7Oi9q0DO8vVMeml4khqM0= =JFxg -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
Stephen Harris wrote: > On Tue, Sep 01, 2009 at 03:38:23PM -0400, Barry L. Kline wrote: > >> the end of the device. I am able to confirm that it works fine with >> minicom, but I'd like to be able to have a program read/write the device >> with a largish file and give me a throughput rating. >> > > Since you have loopback adapter connected you need to read/write from > the device at the same time. So... first attempt: > cat /dev/null & > time cat large_file > /dev/ttyr00 > I'd replace /dev/null with large_file_copy, then run md5sum on both to confirm things are working reliably. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 R P Herrold wrote: > As I understand the problem it may be that the signal could > degrade from whatever max data rate the circuit is rated for. > I am not aware of a resampling routine in any recent kit that > CentOS ships Hi Russ. This RF-WAN is a 450 MHz data radio that alleges to get 12.5KBps. They are connected such that the most appropriate allegory would be a number of TCP/IP hosts connected to a hub (not a switch). What I need to verify is the kind of throughput I'm actually seeing and Stephen's solution may give me what I want. I know how much data is going to be crossing this, I just need to find out what kind of time its going to take. Thanks! Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKnYVkCFu3bIiwtTARAsbdAJ4pEDnglhrP2X6AED4+Uayp+cqs1QCgloyW bxW9Cs/6Ux0pssF0IMpwnsY= =9ILh -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
On Tue, Sep 01, 2009 at 01:33:44PM -0700, John R Pierce wrote: > Stephen Harris wrote: > > cat /dev/null & > > time cat large_file > /dev/ttyr00 > > > > I'd replace /dev/null with large_file_copy, then run md5sum on both to > confirm things are working reliably. That's the second step :-) -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nate wrote: > Barry L. Kline wrote: > >> Short of writing my own program, can anyone point me to a good tool for >> that purpose. yum search RS232 and yum search serial haven't provided >> what I'm looking for and I can't imagine that this isn't already done. > > For writing have you tried dd ? I used dd to create the file I'm sending, so that every test is starting with the same data and length. Thanks! Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKnYczCFu3bIiwtTARArJ5AJ9RmBwjuydzvgYU91VFXVrikfkFvgCfZfoA xHWFg3q0nNK1G2aVVirG5GA= =qsq/ -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John R Pierce wrote: > I'd replace /dev/null with large_file_copy, then run md5sum on both to > confirm things are working reliably. John Nice tweak! Thanks -- I'll make that change. Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKnYdaCFu3bIiwtTARArbVAJ92BSuqzftza6qRWLH+fQdb6Am1igCfVE11 25Yk6xqqBsqdnvtMF1D+bdw= =H5i4 -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] For you old-timers, an RS232 question about data rate confirmation.
Barry L. Kline wrote: > I used dd to create the file I'm sending, so that every test is starting > with the same data and length. How about writing it directly to the device? dd if=source of=/dev/ttyr00 (if that's the device? I forgot) similar to using cat though if it matters you could play with things like block size. Use time to time it, some new versions of dd include progress meters and performance info I believe. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A couple questions about Wine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Blizzard wrote: > VirtualBox works great but, since I only really use one Windows > program (an older, specialized word processor called Movie Magic > Screenwriter), I'm thinking of using Wine to run it in CentOS and > getting rid of the Windows virtual machine. But a couple questions: > > 1) If I run Wine, do I introduce security or performance issues? If wine isn't running at all, when you start a Windows app, there is a bit of system resource overhead for starting the wine services, mainly some RAM usage. That should be expected however, as you can't magically run Windowss softwarre without the code existing to do so. ;o) Whether or not a given app runs with performance or security issues is going to vary widely from app to app, and one version of wine to another, along with many other factors. Wine is a moving target. > 2) Is there any difference between Michael Harris' Wine repository and > the ones available through... wherever yum is picking it up? (Actually > it looks like it has two or three versions listed.) My builds of wine are made by taking the Fedora wine package, making some minor fixes to the file manifests and reconfiguring the build to build clean on EL5. When I'm actively using wine on a regular basis from time to time, I update my builds to track the wine project's latest release, however I haven't been testing new versions for a few months as I've been busy with other stuff. I should probably update it again soon though. I'll do a test build of the latest upstream tonight and if I get it rolling, I'll update my repo. Hope this helps. - -- Mike A. Harris http://mharris.ca | https://twitter.com/mikeaharris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFKnbRg4RNf2rTIeUARAuayAKCE5WNIl5kMbII4yOlYd0rGm4v3OgCfaCi3 L8rr1WZ5PyYpGiuUM0lnS9A= =jMTt -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for RAID 1+0 setup instructions?
>> You know what, let me try just that today, I have a new install to do, so >> I'll try pre-creating a RAID10 on install and report back. First I'll try >> layered MD devices and then I'll try creating a RAID10 md device and we'll >> see if it can even boot off them. >> > > Ok, I verified that inside anaconda one cannot create layered MD RAID > arrays because once one forms an array there is no choice to create a > volume of type "Software RAID". The RAID choices are RAID0, RAID1, > RAID5 or RAID6 during install, no RAID10. > > I can create multiple RAID1s though, of type "LVM Physical Volume" and > then create a volume group composed of those. I can then create a root > LV and a swap LV, though these will not be striped because LVM doesn't > default to striping PVs, but concatenating, so in order to stripe > these I'll need to leave enough free space to create striped versions, > dump and restore from the old root to the new root and then edit the > fstab/grub, run mkinitrd and reboot. Not exactly convenient, but > unfortunate due to LVM's default policy of concatenating PVs instead > of striping them... oh well. > > As far as creating a RAID10 at the command prompt, the dm-raid10 > kernel module is missing from the install image, so no luck directly > creating a RAID10, and after a couple of reboots I was able to create > a layered setup, but anaconda didn't recognize it (either immediately, > or after a reboot) to be able to perform an install on it because it > doesn't start the arrays upon startup to be able to find the nested > one. > No surprise about raid10. I take it you tried this with Centos 5? Thanks for the testing. I cannot believe that it is no longer possible in Centos4/RHEL4 and later. I had done it too with Fedora Core 2 which is 2.6.4 based. > So if it worked for you in RH9, it no longer works anymore. > > Maybe because RH9 had a separate MD RAID implementation and not the > device-mapper implementation. > RH9 was 2.4 and had no fancy dm. BTW, md raid is still separate. But you have already said in your other post. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sendmail routing
CentOS 4.8, sendmail 8.13 Hi All: I have a couple of questions regarding the routing of outgoing emails. I have spent several hours doing Google searches but I have not come close to what I am looking for. If someone can give me push in the right direction I would greatly appreciate it. We currently have three domain names (two for our development company and one for our production company). We have one mail server in our development office that hosts all three domain names. Actually we just treat the three domain names as aliases of the mail server (via the local-host-names file and I do not see a need to change this. What I would like to do is route (relay?) any outgoing emails that are from emails addresses using only one of those domains to a separate SMPT server. 1. Is this possible? 2. What is it called? 3. Can you provide examples or links to relevant docs? TIA Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Hugh E Cruickshank wrote: > CentOS 4.8, sendmail 8.13 > > Hi All: > > I have a couple of questions regarding the routing of outgoing emails. > I have spent several hours doing Google searches but I have not come > close to what I am looking for. If someone can give me push in the > right direction I would greatly appreciate it. > > We currently have three domain names (two for our development company > and one for our production company). We have one mail server in our > development office that hosts all three domain names. Actually we > just treat the three domain names as aliases of the mail server (via > the local-host-names file and I do not see a need to change this. What > I would like to do is route (relay?) any outgoing emails that are > from emails addresses using only one of those domains to a separate > SMPT server. > > 1. Is this possible? > > 2. What is it called? > > 3. Can you provide examples or links to relevant docs? > > TIA > > Regards, Hugh > > Hi I believe mailertable is what you want. http://www.sendmail.org/m4/mailertables.html Good Luck ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Clint Dilks Sent: September 1, 2009 19:38 > > I believe mailertable is what you want. > > http://www.sendmail.org/m4/mailertables.html I do believe you are right. I had looked at that before but for some reason my brain was stuck on seeing so much about incoming emails that I read that in to this feature as well. Thank you very much. Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] O.T. list for rpm makers?
Hi, Is there a list for rpm makers from beginner to intermediate level? Private responses please. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Hugh E Cruickshank wrote: > From: Clint Dilks Sent: September 1, 2009 19:38 >> I believe mailertable is what you want. >> >> http://www.sendmail.org/m4/mailertables.html > > I do believe you are right. I had looked at that before but for some > reason my brain was stuck on seeing so much about incoming emails that > I read that in to this feature as well. > > Thank you very much. Mailertable lets you route mail for a specific destination. It wasn't clear that's what you wanted. If you want to relay all outbound mail through another host you can use SMART_HOST. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Clint Dilks wrote: > Les Mikesell wrote: >> Hugh E Cruickshank wrote: >> >>> From: Clint Dilks Sent: September 1, 2009 19:38 >>> I believe mailertable is what you want. http://www.sendmail.org/m4/mailertables.html >>> I do believe you are right. I had looked at that before but for some >>> reason my brain was stuck on seeing so much about incoming emails that >>> I read that in to this feature as well. >>> >>> Thank you very much. >>> >> Mailertable lets you route mail for a specific destination. It wasn't clear >> that's what you wanted. If you want to relay all outbound mail through >> another >> host you can use SMART_HOST. >> >> > The reason I discounted this option is because he only wanted to use a > SMART host for one domain not all of his domains. :) But what it actually said was: "What I would like to do is route (relay?) any outgoing emails that are from emails addresses using only one of those domains to a separate SMPT server." Which didn't sound like routing _to_ one of the domains. So maybe neither approach will work. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Hugh E Cruickshank wrote: > CentOS 4.8, sendmail 8.13 > > Hi All: > > I have a couple of questions regarding the routing of outgoing emails. > I have spent several hours doing Google searches but I have not come > close to what I am looking for. If someone can give me push in the > right direction I would greatly appreciate it. > > We currently have three domain names (two for our development company > and one for our production company). We have one mail server in our > development office that hosts all three domain names. Actually we > just treat the three domain names as aliases of the mail server (via > the local-host-names file and I do not see a need to change this. What > I would like to do is route (relay?) any outgoing emails that are > from emails addresses using only one of those domains to a separate > SMPT server. > > 1. Is this possible? > Sorry, last I checked, there is no sender-based routing support in sendmail. You cannot even try to create rulesets to get that. > 2. What is it called? > sender-based routing. I suggest switching to postfix or exim. > 3. Can you provide examples or links to relevant docs? Not for sendmail. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Les Mikesell wrote: > Hugh E Cruickshank wrote: > >> From: Clint Dilks Sent: September 1, 2009 19:38 >> >>> I believe mailertable is what you want. >>> >>> http://www.sendmail.org/m4/mailertables.html >>> >> I do believe you are right. I had looked at that before but for some >> reason my brain was stuck on seeing so much about incoming emails that >> I read that in to this feature as well. >> >> Thank you very much. >> > > Mailertable lets you route mail for a specific destination. It wasn't clear > that's what you wanted. If you want to relay all outbound mail through > another > host you can use SMART_HOST. > > The reason I discounted this option is because he only wanted to use a SMART host for one domain not all of his domains. :) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] remote desktop configuration
I manage some remote multi-user computers where it would be very handy to be able to "edit" the users' panel bars remotely, adding, removing and arranging applications and icons as needed. It's easy to put an icon on a user's desktop -- just write a .desktop file and put it into the user's Desktop directory. Can I do the same thing with the users' panel bars somehow? -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
> Sorry, last I checked, there is no sender-based routing support in > sendmail. You cannot even try to create rulesets to get that. Could a milter do it? Maybe capture all outbound messages and stop them from processing on the original server. Next, create an smtp session to the new outbound server and drop the message data into it. Neil -- Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com Will your e-commerce site go offline if you have a DB server failure, fiber cut, flood, fire, or other disaster? If so, ask about our geographically redundant database system. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
From: Les Mikesell Sent: September 1, 2009 21:18 > > But what it actually said was: > > "What I would like to do is route (relay?) any outgoing emails that > are from emails addresses using only one of those domains to a > separate SMPT server." > > Which didn't sound like routing _to_ one of the domains. So > maybe neither > approach will work. Hi Les: You are correct. I was referring to routing email _from_ one of our domain names through a separate mail server then out to the 'net. Upon rereading the mailertable doc it appears that this is for routing email _to_ on of our domain names so it will not work for what I was looking for. The reason I was trying to do this is that we have our production sever sending out automated emails from one location and our sales and support staff sending out emails from another location both using one domain name. I was trying to consolidate all email for this domain name to/from one mail server. It is not critical but it would have been nice to do. I am not going to waste too much more effort on this as I have more critical things that need my time. Thanks to all that replied! Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Neil Aggarwal wrote: >> Sorry, last I checked, there is no sender-based routing support in >> sendmail. You cannot even try to create rulesets to get that. >> > > Could a milter do it? > No idea. I do not know if the milter interface supports changing the routing...it would have to be able to bypass the sendmail rulesets if I am not wrong. Too bad you cannot pass flags on from different parts of the rulesets. > Maybe capture all outbound messages and stop them from > processing on the original server. Next, create an smtp > session to the new outbound server and drop the message > data into it. > That requires quite a bit of programming. Maybe just make another sendmail instance which routes the way the OP wants and inject the emails in question in that queue. Saves the smtp and socket programming and what not. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Hugh E Cruickshank wrote: > From: Les Mikesell Sent: September 1, 2009 21:18 > >> But what it actually said was: >> >> "What I would like to do is route (relay?) any outgoing emails that >> are from emails addresses using only one of those domains to a >> separate SMPT server." >> >> Which didn't sound like routing _to_ one of the domains. So >> maybe neither >> approach will work. >> > > Hi Les: > > You are correct. I was referring to routing email _from_ one of our > domain names through a separate mail server then out to the 'net. > Upon rereading the mailertable doc it appears that this is for routing > email _to_ on of our domain names so it will not work for what I was > looking for. > > The reason I was trying to do this is that we have our production > sever sending out automated emails from one location and our sales > and support staff sending out emails from another location both using > one domain name. I was trying to consolidate all email for this > domain name to/from one mail server. > > It is not critical but it would have been nice to do. I am not going > to waste too much more effort on this as I have more critical things > that need my time. > > Thanks to all that replied! > > Regards, Hugh > > Hi Again Unless I am completely confused won't using mailer table with the option .domain smtp:[gateway.domain] where .domain is the domain you are concerned with do what you wish ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Les Mikesell wrote: > "What I would like to do is route (relay?) any outgoing emails that are > from emails addresses using only one of those domains to a separate > SMPT server." > > Which didn't sound like routing _to_ one of the domains. So maybe neither > approach will work. > yeah, most routing is DESTINATION based, not SOURCE based. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Hugh E Cruickshank wrote: > > You are correct. I was referring to routing email _from_ one of our > domain names through a separate mail server then out to the 'net. > Upon rereading the mailertable doc it appears that this is for routing > email _to_ on of our domain names so it will not work for what I was > looking for. > > The reason I was trying to do this is that we have our production > sever sending out automated emails from one location and our sales > and support staff sending out emails from another location both using > one domain name. I was trying to consolidate all email for this > domain name to/from one mail server. > > It is not critical but it would have been nice to do. I am not going > to waste too much more effort on this as I have more critical things > that need my time. You can use SMART_HOST to send the mail from any single host through a specified relay. If the same machine is sending for more than one domain, you may be able to configure the application sending the automated emails to send to a specified SMTP server. Users can almost certainly configure their mail agent to sent through the SMTP server of their choice. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
> Sorry, last I checked, there is no sender-based routing support in > sendmail. You cannot even try to create rulesets to get that. > > Looks like it is my turn to eat humble pie. You will need to rebuild sendmail.cf after applying this hack. http://www.cs.niu.edu/~rickert/cf/hack/sender_based_routing.m4 I have not tested it let alone tried on 8.14.x I cannot believe the file is dated 2004. Ah well, I got rid of sendmail and replaced it with postfix in 2003 while I was still a mail admin. I must bow to the real sendmail bigots. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] sendmail routing
Christopher Chan wrote: >> Sorry, last I checked, there is no sender-based routing support in >> sendmail. You cannot even try to create rulesets to get that. >> >> >> > Looks like it is my turn to eat humble pie. You will need to rebuild > sendmail.cf after applying this hack. > > http://www.cs.niu.edu/~rickert/cf/hack/sender_based_routing.m I note the comments on that patch talk about from: sen...@host rather than sen...@domain ... so, its possible it triggers on the host that the sender is using rather than the domain in the 'from' header. ugh, i used to know what ... R$+ <@ $+ > $:$&f...@$j<>$1<@$2>prepend local sender r...@$+@$j<>$+<@$+> $:$...@$2<>$3<@$4> avoid duplicate domain r...@$+<>$+<@$+>$:$(mailertable From:$...@$2 $:@$2 $)<>$3<@$4> r...@$+.$+<>$+<@$+> $:$(mailertable From:$2.$3 $...@$1 $:$...@.$3 $)<>$4<@$5> r...@$+<>$+<@$+>$:$(mailertable From:$2 $...@$1 $: $)<>$3<@$4> R$-:$+<>$+ $...@$>MailerToTriple <$1 : $2> $3 R$*<>$+<$+> $:$2 <$3> would do, but I'll be damned if I remember how that .cf stuff works anymore :rofl: ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos