Re: How to solve Network error on destination MXs?

2019-10-11 Thread Jean Louis
* Matt Schwartz  [2019-10-10 14:53]:
> Sorry, Jean. My config got mangled. It should have read:
> action outbound relay host smtp+tls://c...@example.com:587 auth 
> 
> At any rate, this information is available from the man page.

Hello, thanks, and I have that already, that is not working.

# If you edit the file, you have to run "smtpctl update table aliases"
table aliases file:/etc/smtpd/aliases
table secrets file:/etc/smtpd/secrets
listen on localhost
action "local" maildir alias 
action "outbound" relay host smtp+tls://r...@example.com:587 auth 
match for local action "local"
match for any action "outbound"

It is like that, and I get this:

02080adcf6f001e8|local|mta|auth|ad...@myhost.com|s...@example.com|s...@rexample.com|1570859779|1570859779|0|1|pending|386|Network
error on destination MXs

Do you know how to solve that?

Jean



Re: How to solve Network error on destination MXs?

2019-10-09 Thread Jean Louis
* Matt Schwartz  [2019-10-10 03:50]:
> Well, it looks like you might have a problem with your syntax on action
> outbound.
> 
> Try this: action outbound relay host smtp+tls://c...@example.com:587
>  auth 

I don't understand http and that line is not accepted as
configuration.

Jean



How to solve "Network error on destination MXs"?

2019-10-09 Thread Jean Louis
For quite some time I did not use OpenSMTPD but now have again the
need after the upgrade of my system.

Here is my configuration and I am not using Internet server, rather
only home computer that shall relay to smart host. I had to update
configuration to new syntax as old one did not work.

# If you edit the file, you have to run "smtpctl update table aliases"
table aliases file:/etc/smtpd/aliases
table secrets file:/etc/smtpd/secrets
listen on localhost
action "local" maildir alias 
action "outbound" relay host smtp+tlsno-verify://r...@example.com:587 auth 

match for local action "local"
match for any action "outbound"

And I am getting "Network error on destination MXs"

Is there anything that I am missing?

Jean