Tagging email subject line with something like [fbsd-questions]
Hi, I subscribe to many fbsd lists through gmail, and am not able to visually detect which email was sent to which fbsd list. Is it possible to add a tag in the subject line, something like, [fbsd-q], or [fbsd-questions], or similar so that emails can be visually classified? Given that these lists have been around for a long time, was there a discussion on this? If the idea of tagging was dropped, can someone inform me about the rationale behind this decision? Thanks in advance! -Amarendra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I forward old root emails from the root mailbox to my address?
Oliver Peter wrote: > On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere Andersen wrote: >> Hi, >> On one of my FreeBSD servers all system emails to root is stored in the root >> mailbox under /var/mail/root. I have updated my alias file so new mail is >> forwarded to one of my email adresses, but is there a simple way for me to >> send all these old mails in root's mailbox to my email address without >> logging in through pop3/imap? Perform the following command, assuming 'user' is the account you have with the alias to somewhere else: # mail -f /var/mail/root -F user ..which will merrily dump each message to the alias user, and from there forward it to your email account. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory >3.5GB not used?))
In response to Thomas Dickey <[EMAIL PROTECTED]>: > On Wed, Apr 25, 2007 at 08:31:53AM -0400, Bill Moran wrote: > > (of course, everyone knows that Wikipedia is the ultimate source of > > information and is infallible, right?) > > hardly. I'd expect that most intelligent readers would have encountered > at least one wikipedia article which is inaccurate. Like any source > of information, it's only a starting point. Hmm ...I suppose I should have explicitly marked that comment as sarcasm. I simply expected that people would understand that such a ridiculous remark could only be tongue-in-cheek. A friend of mine going for his Dr. at CMU (Patrick Wagstrom: GNOME guy) describes an exercise where a professor intentionally injected false information into Wikipedia, then gave his students a research assignment that involved that information. Apparently the number of students who trusted the false information without verifying it was quite high. I should take that as a lesson that most people _don't_ know how to verify the validity of information and be more careful when I make sarcastic statements. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory >3.5GB not used?
In response to RW <[EMAIL PROTECTED]>: > On Tue, 24 Apr 2007 10:56:09 -0700 > "Don O'Neil" <[EMAIL PROTECTED]> wrote: > > > I just built a new server with an Athlon 64 x2, > > > > >... > > > > What if I want to install more than 4GB? This mobo supports up to 16 > > GB... Do I need to go to the AMD64 platform to get >4GB? > > AFAIK all the reasons for staying 32-bit are specific to desktop > software - I don't think there is any reason not to go to AMD64. I'll second that. We've got a lot of amd64 systems here. The only ones we've had problems with are desktop applications. Every server application we've dealt with has worked perfectly under amd64. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory >3.5GB not used?)
On Wed, Apr 25, 2007 at 08:31:53AM -0400, Bill Moran wrote: > (of course, everyone knows that Wikipedia is the ultimate source of > information and is infallible, right?) hardly. I'd expect that most intelligent readers would have encountered at least one wikipedia article which is inaccurate. Like any source of information, it's only a starting point. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgplMDDE4MqM3.pgp Description: PGP signature
Re: Defending against SSH attacks with pf
In response to Christopher Hilton <[EMAIL PROTECTED]>: > Erik Osterholm wrote: > > On Sun, Apr 15, 2007 at 08:02:55PM -0400, Bill Moran wrote: > >> There was some discussion on this list not too long ago, and someone > >> asked if I was willing to make my pf config and the associated scripts > >> I wrote for it public. I would have posted on the original thread, > >> but I can't find it now. > >> > >> Here is the information: > >> http://www.potentialtech.com/cms/node/16 > >> > > First: I'm not sure if the group got to it and I'm posting to a very > stale thread here but I've found that the best way to defeat these > password scanning ssh bots is to disallow passwords allowing > public/private key authentication in their stead. Unfortunately this > isn't always possible. Bill's method is a very close second. I'm a big fan of PKI, but PKI suffers from one major problem, and it's the same flaw that physical keys suffer from: you have to have the key with you. With a password, I'm always guaranteed to have access. Just give me any computer that has an SSH client available. With PKI, I'm hosed if I don't have a copy of my private key on a jump drive or something. I'm always torn because of this. I really like the added security of PKI, but history has taught me that I'll need access at a critical time when I _don't_ have a key with me. As a result, I've decided to use password auth on this particular server. > Second: I love the simplicity of the stateless firewall rules in Bill's > pf.conf. I may have to look at implementing that here. I'm not 100% sure, but I believe the disadvantage of the stateless approach is that pf can't do packet normalization without state. Thus a scrub statement will have no effect on stateless traffic. Again, in my case I have enough faith in FreeBSD's TCP stack that I've deemed this an acceptable risk. If you're using pf to protect a bunch of Windows servers, you may want to reconsider stateless rules. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail Config Issues
On 4/24/07, Dan Busarow <[EMAIL PROTECTED]> wrote: On Apr 24, 2007, at 6:09 PM, Schiz0 wrote: > Hey, > > I'm running 6.2-RELEASE-p3. I'm having some issues configuring > sendmail. I'm > new to sendmail, so please bear with me. I've read > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html > along > with some docs on sendmail.org. I'm guessing I'm overlooking > something, or > missing something completely. > > I'm trying to sent up a sendmail config to send/receive mail > locally, and > run smtp. My asdf.mc file is located at: http://pastebin.ca/456745 > and my > asdf.submit.mc file is at: http://pastebin.ca/456757 > SENDMAIL_MC and SENDMAIL_SUBMIT_MC are set in make.conf to the full > path to > those .mc files. > > I also made changes to aliases, access, local-host-names, and > virtusertable > in the /etc/mail dir. As a first step change DOMAIN(schiz0.securityexploits.com) to DOMAIN(schiz0.securityexploits.com) unless you happen to have created an M4 domain file named schiz0.securityexploits.com.m4. It is *not* a place you define your domain name. Dan > > When I run make in the /etc/mail dir, I get the following error: > --- > # make > /usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases > /etc/mail/sendmail.cf: line 279: Unknown address family inet6 in > Family=option > *** Error code 70 > > Stop in /etc/mail. > --- > > I disabled IPv6 in my kernel config, and I commented out in both > the normal > mc file, and the submit file the information for ipv6, so I'm not sure > what's doing this. > > Thanks in advance! If it wasn't for these mailing lists, I'd be > back on > windows :-D > > ~Steve > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > [EMAIL PROTECTED]" Thanks! I looked at /usr/share/sendmail/domains and that got it for me. I misunderstood the DOMAIN() option. Sendmail is now up and running. Much appreciated! ~Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Discussion of the relative advantages/disadvantages of PAE (was Re: Memory >3.5GB not used?)
In response to Ivan Voras <[EMAIL PROTECTED]>: > Bill Moran wrote: > > > Does this test demonstrate usage of memory over 4G? It's my > understanding > > that PAE starts to suffer when it has to look at the memory over 4G > (which > > is the problem it's intended to solve) > > > > If your entire test fits in under 4G, you're not seeing the worst of it. > > At least, that's my understanding of the issue. > > I don't think that's how PAE works. AFAIK, it adds all the memory pages > it can find (including those above and below 4 GB) into the VM pool with > 64-bit addresses, so all of them can be used by the applications in an > uniform way. Kind of like swap works. I'm no expert, so I did a little research: http://en.wikipedia.org/wiki/Physical_Address_Extension (of course, everyone knows that Wikipedia is the ultimate source of information and is infallible, right?) Anyway, based on that article, I would assume the performance hit comes from the fact that access to memory has to pass through three layers of pointers on PAE systems. Which means every time you access RAM, you have an extra lookup to find the address of the memory you want (compared to ia32) However, amd64 uses the same extra table: http://en.wikipedia.org/wiki/Amd64#Virtual_address_space_details so I'm unsure how amd64 manages to avoid the performance issue, if that is indeed the reason for it. PAE is still a 32 bit architecture. This means that somehow the operating system has to translate 32bit pointers in the application into 64 bit pointers for actual memory access. The Wikipedia article doesn't explain how this is done, but it's possible (likely?) that this is a reason for decreased performance as well. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PIL installation through Ports
Hello dhaneshk, Wednesday, April 25, 2007, 12:50:10 PM, you wrote: > Hi , > I have a FreeBSD6.0 server machine running zope2.9 and plone . > this m/c haspython-2.4.4 but no PIL module , I have to install it to > support the zope/plone application that I am running in this machine But > in /usr/ports there is no such port for PIL OR I can't recoganize which > port is it > ... > please suggest the proper stpes to install PIL in my BSD box , > Thanks in advance > kk PIL is in /usr/ports/graphics/py-imaging So just do a "cd /usr/ports/graphics/py-imaging" and "make install clean" as root and you should be good to go. -- Best regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory >3.5GB not used?
On Tue, 24 Apr 2007 10:56:09 -0700 "Don O'Neil" <[EMAIL PROTECTED]> wrote: > I just built a new server with an Athlon 64 x2, > > >... > > What if I want to install more than 4GB? This mobo supports up to 16 > GB... Do I need to go to the AMD64 platform to get >4GB? AFAIK all the reasons for staying 32-bit are specific to desktop software - I don't think there is any reason not to go to AMD64. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: kqemu slower than qemu
what do they say on the qemu mailing list? Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of RW > Sent: Wednesday, April 25, 2007 4:26 AM > To: [EMAIL PROTECTED] > Subject: kqemu slower than qemu > > > I've been playing with Windows 98SE on qemu on FreeBSD 6.2 i386. It's > an AMD 64 cpu, but everything is 32-bit. I'm running qemu without any > command-line options. > > > If I load the kqemu kernel module, qemu runs significantly slower than > without the module. Any idea what's going wrong? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kqemu slower than qemu
I've been playing with Windows 98SE on qemu on FreeBSD 6.2 i386. It's an AMD 64 cpu, but everything is 32-bit. I'm running qemu without any command-line options. If I load the kqemu kernel module, qemu runs significantly slower than without the module. Any idea what's going wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvsup-mirror supfile configuration for specific source
Hello, Currently we have quite a number of servers running either 5.5 Release or 6.2 Release. I would like to configure a BSD box as a cvsup-mirror to serve our internal servers. I am doing this to hopefully save both time and bandwidth when updating. Please could someone assist me with configuring the supfile to only download the source for the above versions? Any other advice/tips would be much appreciated. The default supfile looks so: --- # # Standard supfile for CVSup FreeBSD mirrors. # *default delete use-rel-suffix umask=002 cvs-allrelease=cvsprefix=prefixes/FreeBSD.cvs gnats release=current prefix=prefixes/FreeBSD-gnats.current www release=current prefix=prefixes/FreeBSD-www.current mail-archive release=current prefix=prefixes/FreeBSD-mail.current distrib release=selfprefix=prefixes/distrib.self --- Thanks, Anthony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix question
You would probably get better assistance if you asked this question on the Postfix forum. True. However, I did google through a lot of Postfix resources (documentation, forums, mailing lists...) and didn't find what I was looking for. I posted this question here hoping that someone already ran into this problem, solved it somehow and was perhaps willing to help me. I mean, people reading this list are system admins with experience. Your machine isn't trying to establish a connection to: [EMAIL PROTECTED], it is trying to establish a connection to IP address x.y.z.a... That is not relevant in my case. What I want to do is define two different smtp services in master.cf (each bound to a different IP address with smtp_bind_address option) and have Postfix use one or the other based on incoming interface or sender's address/domain. You need 2 mailservers to do what you want. That might be true with Postfix, although two instances on the same machine would suffice - I'm looking for a solution that doesn't include two instances. I know it can easily be done with Exim and I'm actually testing on my test machine Exim installation right now. Speaking of which, is FreeBSD with Exim a good combination for a mailserver, what are your experiences? Thanks, -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: first of misc questions....
At 02:29 AM 4/25/2007, Gary Kline wrote: Guys, This is an awk-type question. Hopefully a one-liner. If I need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is), that's okay... I want to do an ls -l in a /home/kline/ and find and edit files that are dated (let's say) Apr 19 or Mar 26. This works to print $9 the filenames. ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 == 26 ) print $9}' What's the final part to get awk to vi $9? Or another pipe and xargs and "vi"? Nothing simple works, so thanks for any clues! I would use a simple approach incase you need to re-edit the list since editing will change file times: ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 == 26 ) print $9}' > /tmp/myfilelist then you can: for i in `cat /tmp/myfilelist`;do vi $i;done if you don't want to use a file, you can do in one shell loop too, but again this will change your file modification times: for i in `ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 == 26 ) print $9}'`;do vi $i;done -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I forward old root emails from the root mailbox to my address?
On 4/25/07, Oliver Peter <[EMAIL PROTECTED]> wrote: On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere Andersen wrote: > Hi, > On one of my FreeBSD servers all system emails to root is stored in the root > mailbox under /var/mail/root. I have updated my alias file so new mail is > forwarded to one of my email adresses, but is there a simple way for me to > send all these old mails in root's mailbox to my email address without > logging in through pop3/imap? > > A command line trick would be perfect. mutt is your friend. Open the mbox file with # mutt -R -f /var/mail/root Then Tag all mails (press 'T' then enter '.') and bounce the tagged messages (press ';' and thenn 'b') to your personal email address. That's the easiest way I know. (Of course you need a running MTA, too) Thanks for your reply. I don't have mutt installed and I was hoping for a way of doing this without installing additional software. Also, I didn't mention that on one of the machines there are probably a year of emails so the box is quite large. Any other ways? I have sendmail installed and running. Cheers, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help needed with server setup at work
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rico Secada > Sent: Monday, April 23, 2007 10:48 AM > To: [EMAIL PROTECTED] > Subject: Help needed with server setup at work > > > Hi. > > At work we have a bunch of NFS servers. The servers provide the > home directories for all the employees client machines. > > Most of the employees mount their home dirs manually, but some > are mounted using scripts. Employee John knows he belongs to NFS > server 1, and emplyoee Britney knows she belongs to NFS server 3 > and so on. > > Now due to new conditions Without saying what these new conditions are, you aren't giving much that anyone can give advice on. > I have to set up a new system from > which ALL employees are able to mount their home directories from > their homes (where they live). Since I only have one IP address > at my disposal, I need to set up some kind of union system in > which all home directories apear as they live on just one server. > Besides that I have to figure out what kind of security I need to > use. I have been thinking about AFS. > > About the union thing I first thought of somehow union mouting > all the different home directories on a single machine which then > serves as the access point, but I am affraid if that particular > machine crashes, then no one can get to their files. > Your going about it in exactly the wrong way and in a very insecure manner, in my opinion. If you have a situation going where the building that all these employees are working in that contains them, their workstations, and their servers, is going to be vacated, such as a kind of virtual company scenario, then ASSUMING that the employees ALL have high-speed connectivity (DSL, Cable, or whatever) of at least a megabit, then the safest and most trouble-free way of doing it is to have ALL employees setup with their ISP's to have static IP addresses, amd then put hardware VPN firewalls at each employee's home and setup dedicated lan2lan VPNs that are permanently up all of the time. Linksys sells a very nice VPN firewall, the RV042, that is fantastic for this job. This will allow you to manage all employee computers just as if they were all in the now-missing building. This is particularly important as you can install patches, monitor for intrusion attempts, etc. It also moves the ickyness of the VPN client software away from the employees computer, simplifying that system. At the central hub where all the servers remain, you can easily setup a firewall that only allows VPNs in from the designated remote IP addresses. If however the need is for only periodic access, then investigate a remote control solution. I would recommend setting up a bastion host that is on your single public IP address, and a VNC server on it. Employees can use one of many VNC clients (there's even one for palm OS I belive) and go from their homes to the bastion host, then from the bastion host, xterm to their desktop systems. Putting a union NFS server up is just asking for trouble, particularly if you aren't restricting access to it via IP address. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: postfix question
Remember, UNIXes and suchlike use a single IP address route table. Your machine isn't trying to establish a connection to: [EMAIL PROTECTED] It is trying to establish a connection to IP address x.y.z.a Machines don't speak domainese. They translate the human-friendly stuff like domain names and such into IP addresses. Once the system resolves the recipient e-mail address into a destination IP address, the choice of interface that it goes out on is entirely controlled by the route table. And due to the single route table in the system, that is going to be the interface that reaches your default gateway. Even if this box was a router, like a Cisco that supports route maps that allow you to bypass the single route table, since the mail is originating from the system, it would always follow the same map anyway. You need 2 mailservers to do what you want. Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gerard > Sent: Wednesday, April 25, 2007 3:38 AM > To: User Questions > Subject: Re: postfix question > > > On Wednesday April 25, 2007 at 03:27:48 (AM) n j wrote: > > > > Hello, > > > > does anybody know is it possible with Postfix to "route" e-mail based > > on either the inet interface message came from or the sender of a > > message? I'm using Postfix v.2.3.8 on a multihomed machine and have > > two smtpd's defined in master.cf. What I would like is that mail > > submitted through smtpd that is listening on A.B.C.D goes out through > > the smtp client that binds to A.B.C.D and the rest of the mail go > > through the other smtp client. The problem as I see it is that, once > > messages arrive in the queue, it becomes irrelevant where they came > > from and the only "routing" that is available is recipient-based. > > > > Thanks for any suggestions! > > You would probably get better assistance if you asked this question on > the Postfix forum. > > -- > Gerard > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix question
On Wednesday April 25, 2007 at 03:27:48 (AM) n j wrote: > Hello, > > does anybody know is it possible with Postfix to "route" e-mail based > on either the inet interface message came from or the sender of a > message? I'm using Postfix v.2.3.8 on a multihomed machine and have > two smtpd's defined in master.cf. What I would like is that mail > submitted through smtpd that is listening on A.B.C.D goes out through > the smtp client that binds to A.B.C.D and the rest of the mail go > through the other smtp client. The problem as I see it is that, once > messages arrive in the queue, it becomes irrelevant where they came > from and the only "routing" that is available is recipient-based. > > Thanks for any suggestions! You would probably get better assistance if you asked this question on the Postfix forum. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix question
Hello Oliver, Would it help to pimp your transport map? #In the case of delivery via SMTP, one may specify host- #name:service instead of just a host: # # example.com smtp:bar.example:2025 You can replace bar.example with the IP address of the other interface. The way I understand, transport map selects messages based on recipient's address or domain. In the above example, only messages destined for example.com would get routed through the right interface. Once messages end up in the queue, qmgr uses trivial-rewrite to resolve recipient's address and selects a transport based on that. Or am I wrong? I need to route messages based on either sender's address/domain (this would suffice) or incoming interface (better). Thanks for the suggestion anyway! -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How do I forward old root emails from the root mailbox to my address?
On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere Andersen wrote: > Hi, > On one of my FreeBSD servers all system emails to root is stored in the root > mailbox under /var/mail/root. I have updated my alias file so new mail is > forwarded to one of my email adresses, but is there a simple way for me to > send all these old mails in root's mailbox to my email address without > logging in through pop3/imap? > > A command line trick would be perfect. mutt is your friend. Open the mbox file with # mutt -R -f /var/mail/root Then Tag all mails (press 'T' then enter '.') and bounce the tagged messages (press ';' and thenn 'b') to your personal email address. That's the easiest way I know. (Of course you need a running MTA, too) -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpYI11ZTgbQl.pgp Description: PGP signature
Re: Memory >3.5GB not used?
Le 24/04/2007 à 11:39:46-0700, Don O'Neil a écrit > Thanks for all who pointed out the obvious PAE option... > > When I went to rebuild the kernel I got this message: > > +++ > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc > -I- -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq > -I/usr/include -finline-limit=8000 -fno-common -g > -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -std=c99 -c /usr/src/sys/modules/aha/../../dev/aha/aha.c > /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction': > /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from pointer > to integer of different size > *** Error code 1 > > Stop in /usr/src/sys/modules/aha. > *** Error code 1 > > Stop in /usr/src/sys/modules. > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/KERMIT. > +++ > > Why would it be complaining about the aha module when I have it commented > out as a device? On attachement a config to compile on my AMD64 (on i386 FreeBSD) with 4 Go. Be carreful, I drop all device I don't need, check your NIC/SCSI card is in the config (well not in the file I give). Regards JAS -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Téléphone : 01 45 07 76 26 Heure local/Local time: Mer 25 avr 2007 11:41:05 CEST # # PAE -- Generic kernel configuration file for FreeBSD/i386 PAE # # $FreeBSD: src/sys/i386/conf/PAE,v 1.16.2.3 2006/03/12 16:39:40 scottl Exp $ include GENERIC ident PAE # To make a PAE kernel, the next option is needed options PAE # Physical Address Extensions Kernel # Compile acpi in statically since the module isn't built properly. Most # machines which support large amounts of memory require acpi. device acpi # Don't build modules with this kernel config, since they are not built with # the correct options headers. makeoptions NO_MODULES=yes # What follows is a list of drivers that are normally in GENERIC, but either # don't work or are untested with PAE. Be very careful before enabling any # of these drivers. Drivers which use DMA and don't handle 64 bit physical # address properly may cause data corruption when used in a machine with more # than 4 gigabytes of memory. nodeviceahb nodeviceamd nodevicesym nodevicetrm nodeviceadv nodeviceadw nodeviceaha nodeviceaic nodevicebt nodevicencv nodevicensp nodevicestg nodeviceasr nodevicedpt nodevicemly nodevicehptmv nodeviceida nodevicemlx nodevicepst nodeviceagp nodevicede nodevicetxp nodevicevx nodevicenve nodevicepcn nodevicesf nodevicesis nodeviceste nodevicetl nodevicetx nodevicevr nodevicewb nodevicecs nodeviceed nodeviceex nodeviceep nodevicefe nodeviceie nodevicelnc nodevicesn nodevicexe nodevicewlan nodevicean nodeviceawi nodeviceral nodevicewi nodeviceuhci nodeviceohci nodeviceehci nodeviceusb nodeviceugen nodeviceuhid nodeviceukbd nodeviceulpt nodeviceumass nodeviceums nodeviceural nodeviceurio nodeviceuscanner nodeviceaue nodeviceaxe nodevicecdce nodevicecue nodevicekue nodevicerue nodevicewlan# 802.11 support nodevicewlan_wep# 802.11 WEP support nodevicewlan_ccmp # 802.11 CCMP support nodevicewlan_tkip # 802.11 TKIP support nodevicean # Aironet 4500/4800 802.11 wireless NICs. nodeviceath # Atheros pci/cardbus NIC's nodeviceath_hal # Atheros HAL (Hardware Access Layer) nodeviceath_rate_sample # SampleRate tx rate control for ath nodeviceawi # BayStack 660 and others nodeviceral # Ralink Technology RT2500 wireless NICs. nodevicewi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. # Rajout locaux options SMP # Enable Linux ABI emulation options COMPAT_LINUX # Enable i386 a.out binary support options COMPAT_AOUT # Enable the linux-like proc filesystem support (requires COMPAT_LINUX # and PSEUDOFS) options LINPROCFS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/l
PIL installation through Ports
Hi , I have a FreeBSD6.0 server machine running zope2.9 and plone . this m/c haspython-2.4.4 but no PIL module , I have to install it to support the zope/plone application that I am running in this machine But in /usr/ports there is no such port for PIL OR I can't recoganize which port is it I made a serch like this /usr/ports]# make search name=py-pilbut it retuns null So what steps I have to follow to install PIL ( PythonImageLibrary) in this machine , I tried pkg_add -r PIL bu Error message as : FTP unable to get PIL so I used ftp -a ftp2.FreeBSD.org ftp> get PIL 1.x.x but error 550 PIL no such file or directory , please suggest the proper stpes to install PIL in my BSD box , Thanks in advance kk _ Marriage Simplified. Match chat marry. http://ss1.richmedia.in/recurl.asp?pid=23 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How do I forward old root emails from the root mailbox to my address?
Hi, On one of my FreeBSD servers all system emails to root is stored in the root mailbox under /var/mail/root. I have updated my alias file so new mail is forwarded to one of my email adresses, but is there a simple way for me to send all these old mails in root's mailbox to my email address without logging in through pop3/imap? A command line trick would be perfect. Thanks for your help! Best regards, Andreas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: postfix question
On Wed, Apr 25, 2007 at 09:27:48AM +0200, n j wrote: > Hello, Hello Nino, > does anybody know is it possible with Postfix to "route" e-mail based > on either the inet interface message came from or the sender of a > message? I'm using Postfix v.2.3.8 on a multihomed machine and have > two smtpd's defined in master.cf. What I would like is that mail > submitted through smtpd that is listening on A.B.C.D goes out through > the smtp client that binds to A.B.C.D and the rest of the mail go > through the other smtp client. The problem as I see it is that, once > messages arrive in the queue, it becomes irrelevant where they came > from and the only "routing" that is available is recipient-based. > > Thanks for any suggestions! Would it help to pimp your transport map? #In the case of delivery via SMTP, one may specify host- #name:service instead of just a host: # # example.com smtp:bar.example:2025 You can replace bar.example with the IP address of the other interface. It works with my DBmail configuration. -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpdLK7vKbf0l.pgp Description: PGP signature
Re: [freebsd-questions] Mount an iso image?
Dan Nelson wrote: > If that's all you need, there's an even easier way: "tar tvf mycd.iso", > since libarchive understands the iso9660 filesystem format :) > That's a useful trick! Is there an equivalent for ufs filesystems? I'd like to be able to extract files from a floppy image without needing root privs... I'm writing a script to prepare a PXE-install environment from a set of release ISOs. Best Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: GELI recovery
On Wed, Apr 25, 2007 at 12:40:50AM -0400, Rat Paranoid wrote: > Dear All, Dear Mr. "Rat Paranoid", > I badly need your help! I've used GELI encrypted partition on my > notebook for 5 month but now I can't mount it on startup... it seems > that I forgot the password (but how is it possible if I enter it each > time I switch my notebook?!) or something is wrong with GELI > > anyway when I created that partition I also created "backup key" file > as it was suggested by the manual... Now I've tried to mount the > partition with that key but it keeps telling me that the password is > wrong. %( > > Is it possible to recover the bloody thing with that "backup key"?! > > Your help would be much appreciated! You can provide us your dmesg debug output by adding the following lines to /boot/loader.conf: kern.geom.eli.debug=3 GELI(8) says: Debug level of the ELI GEOM class. This can be set to a number between 0 and 3 inclusive. If set to 0, minimal debug informa- tion is printed. If set to 3, the maximum amount of debug infor- mation is printed. For yourself you can add: kern.geom.eli.visible.passphrase=1 GELI(8) says: If set to 1, the passphrase entered on boot (before the root file system is mounted) will be visible. This possibility should be used with caution as the entered passphrase can be logged and exposed via dmesg(8). This variable should be set in /boot/loader.conf. Good luck. -- Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." pgpyD6rl6UKp0.pgp Description: PGP signature
Re: How to manually patch/configure/compile Apache 2.2.4's mod_autoindex module?
Hi Frank, Tnx a lot for your answers! >Have a look at: >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- using.html >in particular: >4.5.2.1 Overriding the Default Ports Directories > >You basically copy the port wholesale to somewhere in your directory >tree and build your "new" patched port with WRKDIRPREFIX set.I >think. Hmmm, I read it, and though it looks somewhat promising, I wonder if that'll work... The issue is that when first patching the C file, and then just trying a "make" it does nothing. When doing a "make clean", it will get all sources freshly again (hence undoing the patches made to the C file). From what I gather from the section you refer to, it will simply use a different working directory and/or install directory. However, wouldn't that try to simply install a newly build entire Apache 2.2.4 version next to the existing one (be it in a different directory, or not), with the difference that it is freshly built out of a different working directory (but still using the same fresh new sources)? For obvious reasons, I'm somewhat apprehensive about trying this on my live server (though I could possibly (ab)use my fallback server for it), and was kind of hoping there would be an easy way to just compile the mod_autoindex module, using the patched source... It appears I may have to fiddle around somewhat more with this, unless someone knows of a good way to achieve just that...? Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PIL istallation In FreeBSD
> this m/c haspython-2.4.4 but no PIL module , I have to install it to > support the zope/plone application that I am running in this machine But > in /usr/ports there is no such port for PIL OR I can't recoganize which You have to get that directly from Python site. If I remember well, it installs without any problem. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cerca velocemente nuovi clienti
desidero maggiori informazioni sui vostri servizi con i relativi costi [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PIL istallation In FreeBSD
Hi , I have a FreeBSD6.0 server machine running zope2.9 and plone . this m/c haspython-2.4.4 but no PIL module , I have to install it to support the zope/plone application that I am running in this machine But in /usr/ports there is no such port for PIL OR I can't recoganize which port is it I made a serch like this /usr/ports]# make search name=py-pilbut it retuns null So what steps I have to follow to install PIL ( PythonImageLibrary) in this machine , Please help me with your suggestions .. _ Free & easy posting . Yello Classifieds. http://www.yello.in/home.php?utm_source=hotmailtag&utm_medium=textlink&utm_content=in&utm_campaign=april ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: atacontrol rebuild on non-identical disks
I didn't see a response and this is an old one, you probably fixed it by now. You will need to dd the old disk to a new one then get an identical to the new one and raid them. Of course if the new one is larger you will still have the existing smaller partition table. If it was me I would build a new server and ship it UPS ground out there. Your existing disk is probably about ready to fail too, and both disks probably died due to overheating caused by one or more fan failures, and if your power supply fan gets choked with dust, it's a goner then the supply will burn up. I would guess the inside of that server is pretty filthy about now. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Justin Sullivan Sent: Friday, April 06, 2007 6:16 PM To: freebsd-questions@freebsd.org Subject: atacontrol rebuild on non-identical disks We have a (very) remote FreeBSD 5.5-RELEASE system running on Asus RS120 hardware and historically configured with 2 identical SATA drives using atacontrol RAID1 and the system installed on ar0. One of the drives has died, however no identical replacement drive could be easily sourced at the remote location. So, attempting to get things back to normal RAID1 operation as quickly as possible we have tried a same size but non-identical drive and attempted an atacontrol rebuild. However, this is stuck indefinitely at 0% rebuild progess. While I'm aware that some RAID1 mechanisms e.g. CCD seem to insist on identical disks, the documentation isn't so clear on ATA and I figured it was worth a try. Does anyone know if it is possible to overcome the non-identical disk issue and allow ata RAID1 to work again? I've also considered keeping the current ar0 setup on the single working disk and setting up a gmirror RAID1 copy on the second disk would work. Current config info is as follows: >From atacontrol list: ATA channel 2: Master: ad4 Serial ATA v1.0 ATA channel 3: Master: ad6 Serial ATA v1.0 >From the permanently going nowhere rebuild output of atacontrol status: ar0: ATA RAID1 subdisks: ad4 ad6 status: REBUILDING 0% completed The WDC WD2000JD on ad4 is the functional system drive and orignial member of the RAID1 array. ad6 is the new "spare" and presumably is completely blank still at this stage. I realise that sourcing an identical drive is probably the right (or at least easy) answer. The original drives (WDC WD2000JD on ad4) are still available for purchase, just not anywhere near where the machine lives - so getting a replacement drive would be a logistically difficult and time-consuming exercise. Thanks, JS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Memory >3.5GB not used?
Bill Moran wrote: > Does this test demonstrate usage of memory over 4G? It's my understanding > that PAE starts to suffer when it has to look at the memory over 4G (which > is the problem it's intended to solve) > > If your entire test fits in under 4G, you're not seeing the worst of it. > At least, that's my understanding of the issue. I don't think that's how PAE works. AFAIK, it adds all the memory pages it can find (including those above and below 4 GB) into the VM pool with 64-bit addresses, so all of them can be used by the applications in an uniform way. Kind of like swap works. signature.asc Description: OpenPGP digital signature
Re: first of misc questions....
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Gary Kline wrote: > Guys, > > This is an awk-type question. Hopefully a one-liner. If I > need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is), > that's okay... > > I want to do an ls -l in a /home/kline/ and find and > edit files that are dated (let's say) Apr 19 or Mar 26. This > works to print $9 the filenames. > >ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 >== 26 ) print $9}' > >What's the final part to get awk to vi $9? Or another pipe and >xargs and "vi"? Nothing simple works, so thanks for any >clues! > xargs(1) is your friend. Simply arrange for your awk script to print out the names of all the files you have selected to edit, then pipe the result into xargs. Like so: ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 == 26 ) print $9}' | xargs vi This does assume that the file names you are using do not contain spaces, quote marks, brackets or other characters of syntactical significance to the shell. In that case you could use something like this: find . -type f \( -mtime 6 -o -mtime 29 \) -print0 | xargs -0 vi where find's '-print0' and the '-0' flag to xargs make the commands produce and consume respectively a null separated list of filenames. Unfortunately with find(1) there doesn't seem to be a way of expressing an absolute date / time -- all you can do is the time difference between now and when you want (which defaults to 'number of days' but can be set to use various other time units. I can think of a couple of ways of calculating that, but personally I'd find it cleaner to just roll the whole thing into a small perl script which identified the files in question and forked off an instance of vi(1) to do the editing. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGLwgk3jDkPpsZ+VYRAxaaAJ9H4q3vD4qqBo+FijEs+PqmaR0kaQCgidpA kXOmJIpsODutFhLIvIoJpEE= =fNoc -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
postfix question
Hello, does anybody know is it possible with Postfix to "route" e-mail based on either the inet interface message came from or the sender of a message? I'm using Postfix v.2.3.8 on a multihomed machine and have two smtpd's defined in master.cf. What I would like is that mail submitted through smtpd that is listening on A.B.C.D goes out through the smtp client that binds to A.B.C.D and the rest of the mail go through the other smtp client. The problem as I see it is that, once messages arrive in the queue, it becomes irrelevant where they came from and the only "routing" that is available is recipient-based. Thanks for any suggestions! -- Nino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
first of misc questions....
Guys, This is an awk-type question. Hopefully a one-liner. If I need to use #!/usr/bin/awk and a BEGIN/END (or whatever it is), that's okay... I want to do an ls -l in a /home/kline/ and find and edit files that are dated (let's say) Apr 19 or Mar 26. This works to print $9 the filenames. ls -l| awk '{if ($6 == "Apr" && $7 == 19 || $6 == "Mar" && $7 == 26 ) print $9}' What's the final part to get awk to vi $9? Or another pipe and xargs and "vi"? Nothing simple works, so thanks for any clues! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"