Re: What is the correct syntax in opensmtpd

2016-08-18 Thread Mik J
Thank you for your answer. Indeed I didn't think about this option. Le Mercredi 17 août 2016 21h50, Edgar Pettijohn a écrit : Sent from my iPhone On Aug 17, 2016, at 2:41 PM, Mik J wrote: Hello, I have two rules like theseaccept from

Re: What is the correct syntax in opensmtpd

2016-08-17 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 17, 2016, at 2:41 PM, Mik J wrote: > > Hello, > > I have two rules like these > accept from local for domain relay via smtp://127.0.0.1:10023 > accept from source for domain relay via > smtp://127.0.0.1:10023 > Seems like you could add

What is the correct syntax in opensmtpd

2016-08-17 Thread Mik J
Hello, I have two rules like theseaccept from local for domain relay via smtp://127.0.0.1:10023 accept from source for domain relay via smtp://127.0.0.1:10023 Is there a way to make only one rule ? If a mail is local OR coming from some ips I trust then relay the mails Regards