OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Relay through another smtp server

From: Andy Cravens (acravensuen.org)
Date: Thu Oct 20 2005 - 16:32:43 CDT


I have a test postfix 2.2.5 server that I want to set up to do two things:

1) Send all outgoing mail through a mail gateway instead of trying to
deliver it directly. We have a virus scanner on a mail gateway but not
on the test server. I want any outgoing mail scanned for viruses before
it leaves our newtork.

2) If mail is delivered to the test server and a valid local recipient
does not exist, I want it send over to the same mail gateway listed in
#1. With my current configuration postix rejects the message with
"Recipient address rejected: User unknown in local recipient table"

My problem is that I don't know the proper terminology for this type of
setup so I don't know what to search for in the list archives/google.