1 |
Hey there, you could try postix: |
2 |
|
3 |
1. use it's sendmail binary so you don't have a daemon ruuning |
4 |
|
5 |
2. take a look here about how to configure postfix to defer delivery: |
6 |
|
7 |
http://www.postfix.org/faq.html#dialup |
8 |
|
9 |
3. write a short script, call it, say, dumpmail, called with |
10 |
|
11 |
dumpmail ispname |
12 |
|
13 |
dumpmail does the following: |
14 |
|
15 |
1. looks up ispname in a table and from that table discovers the smtp |
16 |
server to use (ispname doesn't have to be an isp of course, it could be |
17 |
office, bills_office, clientx_office etc) |
18 |
|
19 |
2. runs postconf to change the "relayhost" in /etc/postfix/main.cf then runs postfix reload to load the new config |
20 |
|
21 |
3. runs sendmail -q to dump the mail to the smtp server of choice. |
22 |
|
23 |
You can run it manually when you plug into a network, or with a bit more |
24 |
work you can make it run automatically when your interface comes up. |
25 |
|
26 |
|
27 |
|
28 |
On Thu, 27 Oct 2005 15:15:08 +1300 |
29 |
Tom Eastman wrote: |
30 |
|
31 |
> Stroller wrote: |
32 |
> > Set "relayhost" on the laptop to be your home mail server, then. You'll |
33 |
> > need to setup Postfix on the laptop to authenticate & do SSL but it's |
34 |
> > easily done. |
35 |
> > |
36 |
> > Stroller. |
37 |
> > |
38 |
> |
39 |
> Hmm some interesting ideas, thanks! I also found something called 'nullmailer' |
40 |
> which sounds like it works in a way similar to Stroller's description of the |
41 |
> apple mailer. But I think it's a daemon, which wants to be running. |
42 |
> |
43 |
> I *do* have a home server which is running SMTP, it accepts email from my LAN, |
44 |
> but not the outside world. Running postfix but haven't looked into learning how |
45 |
> to set up SMTP authentication. |
46 |
> |
47 |
> Unfortunately, that wouldn't help anyway since at work, where I tend to plug my |
48 |
> laptop in, I'm firewalled off from my home server. |
49 |
> |
50 |
> Ah, well, I'll keep digging :-) |
51 |
> |
52 |
> Tom |
53 |
> |
54 |
> -- |
55 |
> gentoo-user@g.o mailing list |
56 |
|
57 |
-- |
58 |
Nick Rout <nick@×××××××.nz> |
59 |
|
60 |
-- |
61 |
gentoo-user@g.o mailing list |