[Linux-disciples] Different MTAs from different places
Adam Rosi-Kessel
adam at rosi-kessel.org
Sat Mar 3 18:01:34 EST 2007
Why not just have a cron job or startup script that copies either
/etc/postfix/main.cf.work or /etc/postfix/main.cf.home to
/etc/postfix/main.cf and restarts postfix according to the detected network?
Stephen R Laniel wrote:
> When I'm at work with this laptop, I'd like Postfix to relay
> through my work's MTA; when I'm at home, I'd like it to
> relay through my home MTA. Determining whether I'm at home
> or work is east enough; my work's MTA is only visible within
> the work network, so I either have to be at work or on the
> work VPN to see it.
>
> What's the best way to make this happen?
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
More information about the Linux-disciples
mailing list