On Mon, May 22, 2000 at 01:13:50PM +0530, Rajkumar S. wrote:
> hello all,
> 
> i have an lan with internet connection through a firewall. all the users are
> inside the lan and the internal mail is hosted by sendmail which delivers all
> the internal mails localy and forwads all the external mail to the mailserver
> at the firewall from where it goes to the destination.
> 
> To receive the mail from external source my mailserver at firewall which is
> qmail needs to be configured such that all the mail that are addressed to
> @indsoft.co.in should be forwaded to the sendmail inside the lan. 
> 
> at present the Qmail can deliver local mails and external mails as well as
> forwad all the mails that needs to be send to internet from the lan.  
> 
> but how can i tell Qmail to send all the mails to indsoft.co.in to
> 192.168.1.1 

# echo 'indsoft.co.in:192.168.1.1' > /var/qmail/control/smtproutes

See the qmail-remote man page for complete information on smtproutes.

> also how about the error processing, ie no such user etc...

All mail for any address @indsoft.co.in will be forwarded to the internal
sendmail server, which will handle final delivery errors. 

Chris

Reply via email to