- To: "Mary Gardiner" <mary@xxxxxxxxxxxx>, slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Sending mail from within a highly locked down network
- From: "Matt Hope" <matt.hope@xxxxxxxxx>
- Date: Mon, 21 Apr 2008 23:19:18 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ghxYTy0tDMhUHd/3syDvqVJIzebdLeRXM+wLT9buNvU=; b=d0pL5Ks+hvzMp8bxGmt6ox2EL7zHUkBMsww0Oln6vAB7Jrj6LRLSWOce0+a8gzs2eXaViDPYHLvLUxyB1zp+op8+1oZ62IYujby0N0NJ1nB1RZYCRK7BMFDA/cjSGi9IOWUJxmdNCHpc3SN2JITYc7rvvhmXCwX+BaQme2RP4Qg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=m66MjZRen1wE1YGs2cpsPDKBkwJHF9l4k79rYrfuf12oT7ZpeUEo2XeJvgJtWJ8kiXOyQE2ab8sPESy1u3doX00HWFykWxnEzcbvvIwFOFbAZbPIqh+J1qXtU9zyYNeWTTAZKS9c6kVe8IlFYEvbJNAcabaZTRIleRcWh9A9g8A=
On Mon, Apr 21, 2008 at 12:06 PM, Mary Gardiner <mary@xxxxxxxxxxxx> wrote:
> Background: my normal mail setup uses Postfix on my laptop to send
> outgoing mail. My university has blocked all outgoing ports except 80
> (and they may have a transparent proxy in front of that) and 443 on
> their wireless network. My laptop cannot contact its normal mail servers
> on any port. (I happen to run those servers, but I already have
> processes listening on 80 and 443 on the relevant servers!)
Some ideas I've had:
#1
Okay, so a bit unusual, but if you have a script in if-up.d that runs
nsupdate to update a local copy of bind, you'll always have a DNS name
that points to your nearest mail exchange
#2
Playing with DNS and search paths such that
smtp-forwarder.$any_domain_i_frequent exists, and using
"smtp-forwarder" as SMTP relayhost.
#3
Using deeper perl-foo in exim4, and doing like Peter suggests, but
consulting a file, that lists network masks and appropriate relay
hosts
lookup{ net-lsearch;$some_foo }{ CONFDIR/relay_by_domain }