From luomat at gmail.com Mon Jul 9 04:57:59 2007 From: luomat at gmail.com (TjL) Date: Mon Jul 9 04:58:05 2007 Subject: [X-Unix] trigger software suspend (aka hibernation mode) from Terminal? Message-ID: Never has one idea had so many names: software suspend safe sleep hibernation (Windows) It's the state that your Mac is in when: 1) All the memory has been written to disk 2) No battery is being used at all I found an app: Deep Sleep http://www.macupdate.com/info.php/id/20120 which supposedly does this, but what I want to be able to do is run it via shell script (so that after my nightly backups the computer will go into this mode). Anyone know if this is possible? From rick at rickgordon.com Mon Jul 9 10:15:44 2007 From: rick at rickgordon.com (Rick Gordon) Date: Mon Jul 9 10:15:57 2007 Subject: [X-Unix] trigger software suspend (aka hibernation mode) from Terminal? In-Reply-To: References: Message-ID: I haven't tried this, but see this MacWorld article delineating the terminal commands for the various sleep modes, plus releasing the RAM after setting the mode. It would seem as though you could set the commands into a shellscript and set it as a cron job. Rick Gordon ------------------ On 7/9/07 at 7:57 AM -0400, TjL wrote in a message entitled "[X-Unix] trigger software suspend (aka hibernation mode) fr": >Never has one idea had so many names: > >software suspend >safe sleep >hibernation (Windows) > >It's the state that your Mac is in when: > > 1) All the memory has been written to disk > > 2) No battery is being used at all > >I found an app: > >Deep Sleep >http://www.macupdate.com/info.php/id/20120 > >which supposedly does this, but what I want to be able to do is run it via shell script (so that after my nightly backups the computer will go into this mode). > >Anyone know if this is possible? -- ___________________________________________________ RICK GORDON EMERALD VALLEY GRAPHICS AND CONSULTING ___________________________________________________ WWW: http://www.shelterpub.com From john.m.harrold at gmail.com Fri Jul 20 16:04:46 2007 From: john.m.harrold at gmail.com (John Harrold) Date: Fri Jul 20 16:05:25 2007 Subject: [X-Unix] Postfix and proxies Message-ID: <20070720230446.GA29587@absent.local> Howdy I've got a bit of a problem. I'm a Peace Corps volunteer working at the National Univeristy of Samoa (NUS). I get my internet connection through NUS and I use postfix to send my email through gmail's secure POP server. My delima is that my ISP (which is NUS) has been flagged as a spam source (the entire university goes through a single ip address on the internet). Because my email is routed through a known spam source, it's getting rejected by some hosts. I've had lots of crazy issues with the network here (such web pages being banned because of particular phrases). One solution I've used in the past is to create a socks 5 proxy over ssh using the '-D' option. Many networked applications have application level proxy settings and for many that don't the system wide proxy settings seem to work. However, the system wide settings don't appear to work for postfix. I was wondering if anyone here could help me either: o configure postfix to route all traffic through a socks 5 proxy o create some sort of jailed environment that can achieve the same effect Thanks. -- ---------------------------------------------------------- | /"\ john harrold | \ / ASCII ribbon campaign john.m.harrold _at_ gmail | X against HTML mail | / \ ---------------------------------------------------------- gpg --keyserver pgp.mit.edu --recv-key B23241CB ---------------------------------------------------------- From ecrist at secure-computing.net Fri Jul 20 16:51:28 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Fri Jul 20 16:51:41 2007 Subject: [X-Unix] Postfix and proxies In-Reply-To: <20070720230446.GA29587@absent.local> References: <20070720230446.GA29587@absent.local> Message-ID: On Jul 20, 2007, at 6:04 PMJul 20, 2007, John Harrold wrote: > Howdy > > I've got a bit of a problem. I'm a Peace Corps volunteer working at > the > National Univeristy of Samoa (NUS). I get my internet connection > through > NUS and I use postfix to send my email through gmail's secure POP > server. > My delima is that my ISP (which is NUS) has been flagged as a spam > source > (the entire university goes through a single ip address on the > internet). > Because my email is routed through a known spam source, it's getting > rejected by some hosts. > > I've had lots of crazy issues with the network here (such web pages > being > banned because of particular phrases). One solution I've used in > the past > is to create a socks 5 proxy over ssh using the '-D' option. Many > networked > applications have application level proxy settings and for many > that don't > the system wide proxy settings seem to work. > > However, the system wide settings don't appear to work for postfix. > I was > wondering if anyone here could help me either: > > o configure postfix to route all traffic through a socks 5 proxy > > o create some sort of jailed environment that can achieve the > same effect > > Thanks. > Why are you using a proxy at all? Does the university block outside mail traffic and/or intercept it? If so, I'd do one of the following: 1) Have someone set up a mail server for you, and possibly an SSH tunnel to send your email. 2) Use GMail's web interface 3) Have users on the other end white-list your email address. If they're *not* blocking outgoing mail traffic (or intercepting it), just send your email directly to GMail and forget about the proxy. ----- Eric F Crist Secure Computing Networks From john.m.harrold at gmail.com Fri Jul 20 17:13:24 2007 From: john.m.harrold at gmail.com (John Harrold) Date: Fri Jul 20 17:13:53 2007 Subject: [X-Unix] Postfix and proxies In-Reply-To: References: <20070720230446.GA29587@absent.local> Message-ID: <20070721001324.GB29587@absent.local> | Why are you using a proxy at all? Does the university block outside | mail traffic and/or intercept it? If so, I'd do one of the following: I think this should answer the 'why' question: | >My delima is that my ISP (which is NUS) has been flagged as a spam | >source (the entire university goes through a single ip address on the | >internet). Because my email is routed through a known spam source, it's | >getting rejected by some hosts. So I need the email to originate somewhere else. If I can get it to use the socks proxy, then that would sovle my problem. | 1) Have someone set up a mail server for you, and possibly an SSH | tunnel to send your email. Are you volunteering to do this? Otherwise, this option isnt really available. If you can tell me how to use postfix to send email over an ssh tunnel, I'm all ears -- that's what I want to do. | 2) Use GMail's web interface This works great for one or two emails. However, during the day, the internet is not fast enough to use the web interface reliably -- I'm living in a developing country and the entire University essentially shares a DSL modem. | 3) Have users on the other end white-list your email address. I've tried this unsuccessfully. | If they're *not* blocking outgoing mail traffic (or intercepting it), | just send your email directly to GMail and forget about the proxy. The email still originates from a kown spam source, which is in the headers, even though it _is_ going through gmail. Check my mail header, it should say something like: Received: from absent.grok.tv ( [63.100.216.2]) by mx.google.com with ESMTPS id f42sm6622337rvb.2007.07.20.16.05.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2007 16:05:11 -0700 (PDT) I should stress the point that I'm working/living in a developing country so solutions that do not involve others are more likely to be implemented and work. For example I've tried to get the network admins here to get us off the spam list, I've tried to get white listed by some of the people recieving my emails,e tc. So back to my original quesiton. Is there anyone out there who can tell me how do one of the following: > o configure postfix to route all traffic through a socks 5 proxy > > o create some sort of jailed environment that can achieve the same effect -- ---------------------------------------------------------- | /"\ john harrold | \ / ASCII ribbon campaign john.m.harrold _at_ gmail | X against HTML mail | / \ ---------------------------------------------------------- gpg --keyserver pgp.mit.edu --recv-key B23241CB ---------------------------------------------------------- From bpm-list-osx-unix at 4321.tv Wed Jul 25 14:22:53 2007 From: bpm-list-osx-unix at 4321.tv (Brian Medley) Date: Wed Jul 25 14:22:54 2007 Subject: [X-Unix] Postfix and proxies In-Reply-To: <20070721001324.GB29587@absent.local> References: <20070720230446.GA29587@absent.local> <20070721001324.GB29587@absent.local> Message-ID: <20070725212253.GC3428@4321.tv> On Fri, Jul 20, 2007 at 01:13:24PM -1100, John Harrold wrote: > Received: from absent.grok.tv ( [63.100.216.2]) > by mx.google.com with ESMTPS id f42sm6622337rvb.2007.07.20.16.05.07 > (version=TLSv1/SSLv3 cipher=OTHER); > Fri, 20 Jul 2007 16:05:11 -0700 (PDT) How do you have postfix configured for sending email? Are you using relayhost? I have a similar setup where I send email through my email provider's SMTP server and the headers I've checked have "localhost" rather than my IP address in them. Have you also considered trying the internal smtp of mutt? -- Brian Medley