[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim and SMTP on an internet gateway



On  1 Nov 2002, Mark Lamers wrote:
> <snip>
> > It seems easy enough to make exim accept all mail for ourdomain and forward
> > outgoing mail to the ISP smarthost.  However, local delivery of mail to
> > ourdomain is not what I need ... I want _that_ mail forwarded 10.0.0.2.
> > 
> >
> $path_iptables -t nat -A PREROUTING -p tcp -d $ext_ip --dport 25 -j DNAT
> --to $masq_machine_ip:25
> 
> will forward all mail to your masked exchangeserv if it listens on on
> port 
> 
> This is firewall based and doens't need an eximserver on your firewall

Thank you for your very swift reply.

Actually, I _want_ exim on the firewall to handle the mail forwarding ...
later I'll plug anti-virus and anti-spam tools into exim, so unwanted mails
doesn't reach the exchange server.

Best regards,
David Knudsen

-- 
David Knudsen, aka Dansken on #vgaplanets/EFnet
 



Reply to: