How to bypass / oversome mynetwork restriction

classic Classic list List threaded Threaded
3 messages Options
VB
Reply | Threaded
Open this post in threaded view
|

How to bypass / oversome mynetwork restriction

VB

Hello all ,

 

We are trying to configure a relay server which should accept email from any system within our enterprise and our enterprise is spread across cloud and onprem , which makes it hard for us to get the list of all the subnets that we have to include under ‘mynetworks’  for the system to accept email for relay , wondering if there is a way to let postfix allow email from any where .  

 

We wish to use ldap lookup against the recipient upon acceptance using the smtpd_recipient_restrictions.

 

 

Best Regards, VB.

 

a
Reply | Threaded
Open this post in threaded view
|

Re: How to bypass / oversome mynetwork restriction

a
Authenticate all your internal servers through SASL.

пт, 2 авг. 2019 г., 21:10 Bandaru, Vamsi <[hidden email]>:

Hello all ,

 

We are trying to configure a relay server which should accept email from any system within our enterprise and our enterprise is spread across cloud and onprem , which makes it hard for us to get the list of all the subnets that we have to include under ‘mynetworks’  for the system to accept email for relay , wondering if there is a way to let postfix allow email from any where .  

 

We wish to use ldap lookup against the recipient upon acceptance using the smtpd_recipient_restrictions.

 

 

Best Regards, VB.

 

Reply | Threaded
Open this post in threaded view
|

Re: How to bypass / oversome mynetwork restriction

Wietse Venema
In reply to this post by VB
Bandaru, Vamsi:
> Hello all ,
>
> We are trying to configure a relay server which should accept email
> from any system within our enterprise and our enterprise is spread
> across cloud and onprem , which makes it hard for us to get the
> list of all the subnets that we have to include under 'mynetworks'
> for the system to accept email for relay , wondering if there is
> a way to let postfix allow email from any where .

> We wish to use ldap lookup against the recipient upon acceptance
> using the smtpd_recipient_restrictions.

Then you are not relaying. Instead, you are sending email to internal
recipients.

        Wietse