On Sun, 1 Jul 2001, Leonardo Quirini wrote:

>Hi everyone, i have a question: on my laptop i've installed qmail, and i
>want to configure it for this scenario: i can use a ppp connection (at
>home) and a ethernet connection (at the university). The mail servers
>are obiovously different... I want qmail to distinguish when sending
>mail between the two connections on the fly (without scripts to be run
>at command line if possible), and use the correct smtp server. I've find
>some docs for the two single case, but nothing for the situation over.
>How can i do ? :)

If you're using DHCP, simply make the dhcp client change the value in
smtproutes according to which address it obtains.

-- 
Thorkild

Reply via email to