Robert,
I don't see anything wrong with your syntax, but the new syntax is
still new for me. Many ISPs block port 25. It could be that your problem is
not inside of your machine.
Here are some things I would try:
smtpctl show hoststats
smtpctl show queue
telnet smtp.domain.tld 25
tail /var/log/maillog
action "relay" relay host smtp+tls://[email protected]:587 auth <secrets>
ED.
> On 2019, Feb 16, at 10:40 AM, Robert Nadot <[email protected]> wrote:
>
> Bonjour
>
> OpenBSD 6.4 - OpenSMTP - All intalled OK
>
> I use the first example of smtp.conf in https://man.openbsd.org/smtpd.conf.
>
> As root
> echo "hello world" | mail -s "a subject" _postgresql@localhost
> echo "hello world" | mail -s "a subject" robert@localhost
> Both OK
>
> But
> echo "hello world" | mail -s "a subject" [email protected]
> give nothing
> option -v :
> <<< 220 S...domain.tld ESMTP OpenSMTPD
> >>> EHLO localhost
> <<< 250-S...domain.tld Hello localhost [local], pleased to meet you
> <<< 250-8BITMIME
> <<< 250-ENHANCEDSTATUSCODES
> <<< 250-SIZE 36700160
> <<< 250 HELP
> >>> MAIL FROM:<[email protected]>
> <<< 250 2.0.0: Ok
> >>> RCPT TO:<[email protected]>
> <<< 250 2.1.5 Destination address valid: Recipient ok
> >>> DATA
> <<< 354 Enter mail, end with "." on a line by itself
> >>> .
> <<< 250 2.0.0: c5b8d899 Message accepted for delivery
> >>> QUIT
> <<< 221 2.0.0: Bye
>
>
> smtpd.conf :
> 13 table aliases file:/etc/mail/aliases
> 14 table secrets file:/etc/mail/secrets
> 15
> 16 listen on lo0
> 18
> 19 action "local" mbox alias <aliases>
> 21 action "relay" relay host smtp+tls://[email protected] auth <secrets>
> 22
> 23 match for local action "local"
> 24 match for any action "relay"
>
>
> aliases :
> nothing changed
>
> secrets :
> robert robert:robert-password
>
> What is wrong ?
>
> Merci de l'aide
>
> ----
> Robert Nadot
> 1, allée Lumir
> 56610 Arradon
> [email protected]
>
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]