Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-22 Thread Andrew Cowie
On Mon, 2008-04-21 at 14:37 +1000, Mary Gardiner wrote: I wasn't clear in my original mail: I'm more interested in how people get their laptop to switch mail settings between inside horrible network and normal operation Gentoo Linux has an RC system that has the concept of named runlevels...

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mary Gardiner
On Mon, Apr 21, 2008, Jeff Waugh wrote: relayhost = [usual.server.on.normal.port]:25 [usual.server.on.submission.port]:587 [fascist.university.server]:25 Huh, I didn't actually know it was possible to specify more than one server there (I thought it had to be done with an MX

[SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mick Pollard
On Mon, 21 Apr 2008 15:18:13 +1000 Craig Dibble [EMAIL PROTECTED] wrote: Quoting [EMAIL PROTECTED]: maybe a quick and nasty shell/python/perl script to change/update/swap your configuration file is what you need Indeed. I've done it this way in the past, usually just by running

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread steve
Quoting Mary Gardiner [EMAIL PROTECTED]: Everyone's solutions have been pretty interesting[1]. I'm surprised (although, yes, I knew) that there aren't less sysadmin-y solutions: blocking outgoing SMTP is getting pretty common. I feel bad users who just want to send their mail already and not

[SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mary Gardiner
On Mon, Apr 21, 2008, Mick Pollard wrote: To automate this 'script' you could build a simple smtp profile system. Grub allows you to pass extra info to it and this is made available to the init process in shell variable $CMDLINE. People who suspend to RAM regularly won't find this as useful

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Sonia Hamilton
On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote: To automate this 'script' you could build a simple smtp profile system. Grub allows you to pass extra info to it and this is made available to the init process in shell variable $CMDLINE. So would one access $CMDLINE in /etc/rc.local

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mick Pollard
On Mon, 21 Apr 2008 17:25:30 +1000 Sonia Hamilton [EMAIL PROTECTED] wrote: On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote: To automate this 'script' you could build a simple smtp profile system. Grub allows you to pass extra info to it and this is made available to the init process

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Martin Visser
/proc/cmdline has the kernel parameters on my Ubuntu system On Mon, Apr 21, 2008 at 5:36 PM, Mick Pollard [EMAIL PROTECTED] wrote: On Mon, 21 Apr 2008 17:25:30 +1000 Sonia Hamilton [EMAIL PROTECTED] wrote: On Mon, 2008-04-21 at 16:31 +1000, Mick Pollard wrote: To automate this 'script'

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Michael Chesterton
On 21/04/2008, at 5:22 PM, Mary Gardiner wrote: People who suspend to RAM regularly won't find this as useful since most of the time they will be bypassing their bootloader. Search paths from /etc/resolv.conf and wireless ESSIDs are the closest I've come to establishing definitive

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Glen Turner
Mary Gardiner wrote: Everyone's solutions have been pretty interesting[1]. I'm surprised (although, yes, I knew) that there aren't less sysadmin-y solutions: blocking outgoing SMTP is getting pretty common. Networks *should* block outgoing SMTP from anything but authorised mail servers. They

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-21 Thread Mary Gardiner
On Mon, Apr 21, 2008, Glen Turner wrote: Networks *should* block outgoing SMTP from anything but authorised mail servers. They should, however, allow IMAPS (993) and Authenticated SMTP (587 to allow users to exchange mail with third-party servers. Indeed, but in this case they've blocked

[SLUG] Re: Sending mail from within a highly locked down network

2008-04-20 Thread Mary Gardiner
I wasn't clear in my original mail: I'm more interested in how people get their laptop to switch mail settings between inside horrible network and normal operation than I am in specifically what their inside-horrible-network settings are, because in this particular case I can use the university's

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-20 Thread david . lyon
Quoting Mary Gardiner [EMAIL PROTECTED]: I wasn't clear in my original mail: I'm more interested in how people get their laptop to switch mail settings between inside horrible network and normal operation than I am in specifically what their inside-horrible-network settings are, because in this

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-20 Thread Jeff Waugh
quote who=Mary Gardiner I wasn't clear in my original mail: I'm more interested in how people get their laptop to switch mail settings between inside horrible network and normal operation than I am in specifically what their inside-horrible-network settings are, because in this particular

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-20 Thread Craig Dibble
Quoting [EMAIL PROTECTED]: maybe a quick and nasty shell/python/perl script to change/update/swap your configuration file is what you need Indeed. I've done it this way in the past, usually just by running the script manually, but you could attach it to an if-up script or even your

Re: [SLUG] Re: Sending mail from within a highly locked down network

2008-04-20 Thread Sonia Hamilton
On Mon, 2008-04-21 at 14:37 +1000, Mary Gardiner wrote: I wasn't clear in my original mail: I'm more interested in how people get their laptop to switch mail settings between inside horrible network and normal operation than I am in specifically what their inside-horrible-network settings are,