On Wed, Dec 26, 2018 at 11:18:33AM +0300, Tevfik Ceydeliler wrote:
> Hi,
> 
> I try to configure smtpd.conf file
> 
> I have some conf line that works successfully like that:
> 
> accept from source { 10.65.8.100 } sender { "@test.com" } for domain {
> anothertests.com } relay
> 
> It is OK for one IP address. But I try to do?? with a subnet such as sources
> is 10.65.8.0/24 or range from 10.65.8.1 to 10.65.8.255 . How can I to do it?
> 
> To do, should I enter 255 IP address one by one or is there any other
> parameter?
> 

quoting the man page:

             [!] from src address | <address>
                     Specify that session may only originate from string or
                     list table address which can be a specific address or a
                     subnet expressed in CIDR-notation.

you're using an older version of OpenSMTPD, but it worked the same.

-- 
Gilles Chehade                                                 @poolpOrg

https://www.poolp.org                 tip me: https://paypal.me/poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to