On Sat, Oct 16, 1999 at 12:28:38PM +0200, [EMAIL PROTECTED] wrote:

> Hi,
> my linux box is using a dial up line to connect
> to the internet.
> The system is configured to store outgoing mail
> in /var/qmail/alias/pppdir.
> These mails are send automatically, after a connect
> to the ISP. Local mail is delivered immediately.
> So far, so good.
> 
> Now I set up an wireless data connection to a
> friend, he's staying not far form me.
> All mails to his host (or to his LAN) should be
> deliverd immediately through this wireless link.
> 
> How can I tell my system ....
> 
> 1.) Mail to cassiopeia.qad.org is local, deliver now,
> because it is my local linux box
> 2.) Mail to every host in the domain deepthinker.de
> should be deliverd to the smart host dick.deepthinker.de
> immediately (the IP-Route is set in proper style).
> 
> 3.) All other Mail should be colleted in /var/qmail/alias/pppdir
> and send out by starting 'maildirsmtp'.

You probably have an entry in your control/virtualdomains file like
this:

:alias-ppp

which traps _all_ non-local mail and puts it into pppdir. You need to
make an exception to this entry, to tell qmail that "deepthinker.de" is
really remote. Add the following line to control/virtualdomains

deepthinker.de:

and HUP qmail-send. Mails for your friend will go over your wireless
link.

See "man qmail-send" for details of this "exception" feature.

-- 
See complete headers for more info

Reply via email to