> On Nov 28, 2018, at 5:28 PM, Thomas Bohl <[email protected]> 
> wrote:
> 
> Hi,
> 
>> It is possible to configure OpenSMTPd to detect this scenario and to know 
>> that it should relay that email to domain.com rather than trying to deliver 
>> it to its MX server, which happens to be the server itself?
>> 
>> Here’s a very abridged version of my config, showing the relay and 
>> authentication configurations:
>> 
>> accept from any for domain <domain> relay via <server> # relay config
> 
> Use "accept from local" to tell the server what to do with an
> authenticated sessions.
> 
> (It would be "match auth" for the new configuration style.)
> 
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
> 

Thank you for the reply. Can you elaborate a little please?

By default, there is ‘accept from local for any relay’, and I’ve kept that in 
place. Is this what you were referring to?

As I understand it, ‘accept from any’ would be inclusive of ‘local’—is this not 
the case?

As a test to understand what you’d recommended, I added

accept from local for domain <domain> relay via <server> 

and tested—that presented the same mail loop problem.

I’m somewhat new to OpenSMTPd, so I apologize if these questions are naive—I 
haven’t been able to locate any documentation that would offer some advice for 
how I’m trying to configure things.

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

Reply via email to