Redirect SMTP Requests
Hi
I use outlook on my laptop to send an receive emails, however when Iam at work I have to setup a certain smtp A in hte account options when I go home i have to setup another smtp B. So what I would like to do is to keep smtp A in my outlook options, and to use the DEBIAN box I have at home to redirect traffic going sent to smtp A from my laptop to smtp B.
I have tried the following, but it does not seem to work
iptables -t nat -A PREROUTING -i eth1 -s $MY_IP -p tcp --dport 25 -j REDIRECT --to "smtpB":25
|