Hey there, you could try postix:

1. use it's sendmail binary so you don't have a daemon ruuning

2. take a look here about how to configure postfix to defer delivery:

http://www.postfix.org/faq.html#dialup

3. write a short script, call it, say, dumpmail, called with 

dumpmail ispname

dumpmail does the following:

1. looks up ispname in a table and from that table discovers the smtp
server to use (ispname doesn't have to be an isp of course, it could be
office, bills_office, clientx_office etc)

2. runs postconf to change the  "relayhost" in /etc/postfix/main.cf then runs 
postfix reload to load the new config

3. runs sendmail -q to dump the mail to the smtp server of choice.

You can run it manually when you plug into a network, or with a bit more
work you can make it run automatically when your interface comes up.



On Thu, 27 Oct 2005 15:15:08 +1300
Tom Eastman wrote:

> Stroller wrote:
> > Set "relayhost" on the laptop to be your home mail server, then. You'll 
> > need to setup Postfix on the laptop to authenticate & do SSL but it's 
> > easily done.
> > 
> > Stroller.
> > 
> 
> Hmm some interesting ideas, thanks!  I also found something called 
> 'nullmailer' 
> which sounds like it works in a way similar to Stroller's description of the 
> apple mailer.  But I think it's a daemon, which wants to be running.
> 
> I *do* have a home server which is running SMTP, it accepts email from my 
> LAN, 
> but not the outside world.  Running postfix but haven't looked into learning 
> how 
> to set up SMTP authentication.
> 
> Unfortunately, that wouldn't help anyway since at work, where I tend to plug 
> my 
> laptop in, I'm firewalled off from my home server.
> 
> Ah, well, I'll keep digging :-)
> 
>       Tom
> 
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to