OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: allow relaying for specific IP

Re: allow relaying for specific IP


Subject: Re: allow relaying for specific IP
From: Ralf Hildebrandt (R.Hildebrandttu-bs.de)
Date: Wed Jan 12 2000 - 07:23:43 CST


On Wed, Jan 12, 2000 at 02:12:28PM +0100, Garamszegi Karoly wrote:

> > Add that IP to $mynetworks
>
> Then postfix would accept mails going to that IP, wouldn't it? That is
> not what I want.

By default, the Postfix SMTP server relays mail:

              from trusted clients whose IP address matches $mynetworks,

-> what you want

              from trusted clients whose hostname matches $relay_domains or a subdomain thereof,
              from untrusted clients to destinations that match $relay_domains or a subdomain thereof, except for addresses that contain sender-specified routing(userelsewheredomain).

       In addition to the above, the Postfix SMTP server by default accepts
mail for which Postfix is the final destination:

              to destinations that match $inet_interfaces,
              to destinations that match $mydestination,

-> that machine IS NOT in $mydestination

              to destinations that match $virtual_maps.
              

-- 
Ralf Hildebrandt <R.Hildebrandttu-bs.de> www.stahl.bau.tu-bs.de/~hildeb
When your manager gives you a folder full of assignments, try 
throwing it away.


  • application/pgp-signature attachment: stored



This archive was generated by hypermail 2b27 : Wed Jan 12 2000 - 07:27:55 CST