This can all be done with Postfix.

The following should help (these go in the main.cf file):

   # RECEIVING MAIL

   # The inet_interfaces parameter specifies the network interface
   # addresses that this mail system receives mail on.  By default,
   # the software claims all active interfaces on the machine. The
   # parameter also controls delivery of mail to user@[ip.address].
   #
   # See also the proxy_interfaces parameter, for network addresses that
   # are forwarded to us via a proxy or network address translator.
   #
   # Note: you need to stop/start Postfix when this parameter changes.
   #
   inet_interfaces = 1.2.3.4

   # Only accept email from the following servers
   mynetworks = 1.2.3.10/32,1.2.3.11/32,1.2.3.12/32

   # For outgoing, make sure the default route uses the interface you
   want to use (eth1).

   # Set the maximum message size
   message_size_limit = 10240000


Hope this helps.  Be sure to test :-)


JBB

On 4/28/14, 11:34 AM, leam hall wrote:
Also, Fred is a snob. He only listens on interface eth0 (IP 1.2.3.4)
and forwards on eth1 (IP 3.4.5.6).

On Mon, Apr 28, 2014 at 11:32 AM, leam hall <[email protected]> wrote:
Let me see if I can be a bit less muddy...

Boxes A, B, and C need to send mail. "Fred", my new mail server, must
make sure A, B, and C are the only ones that can send mail. They can
only send to certain people, and cannot send anything besides short
e-mails.

Fred will probably want to re-write some of the mail envelope but I'm
still figuring that bit out.

Make sense?

Thanks!

Leam


On Mon, Apr 28, 2014 at 11:29 AM, leam hall <[email protected]> wrote:
David, thanks for the questions! I'm still getting my head around this.

I have a small handful of boxes that need to send mail to another mail
relay. My mail server will do nothing but forward from those boxes to
the other mail relay. I need as much granular control as possible to
make this as secure as possible.

That make more sense?

Thanks!

Leam


On Mon, Apr 28, 2014 at 10:51 AM, Smith, David <[email protected]> wrote:
What do you mean by "secure," and what level of control do you need? If it's 
something small, like you're only forwarding your own email, procmail may be all you 
need. For something where you're managing many thousands of addresses, you may need to 
get a bit more fancy (maybe Postfix with a database backend for the virtual address 
table).

Can you elaborate on your requirements?

David Smith

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of leam hall
Sent: Monday, April 28, 2014 9:32 AM
To: [email protected]
Subject: [lopsa-discuss] Secure e-mail forwarder?

Recommendations that go on a RHEL based system? Goal is to have as granular 
control as possible.

Thanks!

Leam

--
Mind on a Mission
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators  
http://lopsa.org/


--
Mind on a Mission


--
Mind on a Mission



_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to