Hi, i'm using OpenBSD 5.6, and this config:

pki mx.kasakoff.net certificate "/etc/ssl/my/server_srt.pem"
pki mx.kasakoff.net key "/etc/ssl/my/server_key.pem"

listen on lo0

listen on egress inet4 secure pki mx.kasakoff.net auth-optional
listen on egress inet4 port submission tls pki mx.kasakoff.net auth

table aliases db:/etc/mail/aliases.db

table domains { kasakoff.net, koskina.ru }

accept for local alias <aliases> deliver to mbox
accept for any relay

accept from any for domain <domains> alias <aliases> deliver to mda 
"/usr/local/bin/procmail"

max-message-size 100M

limit mta inet4

When my server sending messages to world, it works fine, when it receives from 
world, it works fine. But when i try to send from local to local, it fails :( 
The strange thing, this config worked perfect on ubuntu, but when i migrated to 
openbsd something broken :( here is log, when trying to send:

Jan 18 21:23:01 mx smtpd[10999]: smtp-in: New session 384f0c79ff6935e1 from 
host 192.168.0.88 [192.168.0.88]
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: No PKI entry for requested SNI 
"kasakoff.net"on session 384f0c79ff6935e1
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Started TLS on session 
384f0c79ff6935e1: version=TLSv1/SSLv3, cipher=ECDHE-RSA-AES256-SHA, bits=256
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Accepted authentication for user 
ekaterina on session 384f0c79ff6935e1
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Accepted message b4bc4ccd on session 
384f0c79ff6935e1: from=<[email protected]>, to=<[email protected]>, 
size=385, ndest=1, proto=ESMTP
Jan 18 21:23:01 mx smtpd[10999]: smtp-out: Connecting to 
smtp+tls://91.210.228.4:25 (mx.kasakoff.net) on session 384f0c7ca36f309d...
Jan 18 21:23:01 mx smtpd[10999]: smtp-out: Connected on session 384f0c7ca36f309d
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: New session 384f0c7d0d1f236e from 
host mx.kasakoff.net [91.210.228.4]
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Started TLS on session 
384f0c7d0d1f236e: version=TLSv1/SSLv3, cipher=ECDHE-RSA-CHACHA20-POLY1305, 
bits=256
Jan 18 21:23:01 mx smtpd[10999]: smtp-out: Started TLS on session 
384f0c7ca36f309d: version=TLSv1/SSLv3, cipher=ECDHE-RSA-CHACHA20-POLY1305, 
bits=256
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Client certificate verification 
failed on session 384f0c7d0d1f236e
Jan 18 21:23:01 mx smtpd[10999]: smtp-out: Server certificate verification 
failed on session 384f0c7ca36f309d
Jan 18 21:23:01 mx smtpd[10999]: smtp-in: Accepted message 1d71dea2 on session 
384f0c7d0d1f236e: from=<[email protected]>, to=<[email protected]>, 
size=643, ndest=1, proto=ESMTP
Jan 18 21:23:01 mx smtpd[10999]: relay: Ok for b4bc4ccdecf23a14: 
session=384f0c7ca36f309d, from=<[email protected]>, to=<[email protected]>, 
rcpt=<->, source=91.210.228.4, relay=91.210.228.4 (mx.kasakoff.net), delay=0s, 
stat=250 2.0.0: 1d71dea2 Message accepted for delivery
Jan 18 21:23:02 mx smtpd[10999]: smtp-in: Accepted message c13282e9 on session 
384f0c7d0d1f236e: from=<[email protected]>, to=<[email protected]>, 
size=913, ndest=1, proto=ESMTP
Jan 18 21:23:02 mx smtpd[10999]: relay: Ok for 1d71dea2756ef54f: 
session=384f0c7ca36f309d, from=<[email protected]>, to=<[email protected]>, 
rcpt=<->, source=91.210.228.4, relay=91.210.228.4 (mx.kasakoff.net), delay=1s, 
stat=250 2.0.0: c13282e9 Message accepted for delivery
Jan 18 21:23:03 mx smtpd[10999]: smtp-in: Accepted message 189a3f47 on session 
384f0c7d0d1f236e: from=<[email protected]>, to=<[email protected]>, 
size=1183, ndest=1, proto=ESMTP
Jan 18 21:23:03 mx smtpd[10999]: relay: Ok for c13282e9424a42f3: 
session=384f0c7ca36f309d, from=<[email protected]>, to=<[email protected]>, 
rcpt=<->, source=91.210.228.4, relay=91.210.228.4 (mx.kasakoff.net), delay=1s, 
stat=250 2.0.0: 189a3f47 Message accepted for delivery

this type of messages repeat many many times, and when it stops it ends with

Jan 18 21:28:44 mx smtpd[10999]: relay: Ok for c10d01c5ed34e46f: 
session=384f0c868ad0506f, from=<[email protected]>, to=<[email protected]>, 
rcpt=<->, source=91.210.228.4, relay=91.210.228.4 (mx.kasakoff.net), delay=1s, 
stat=250 2.0.0: 7074eecd Message accepted for delivery
Jan 18 21:28:45 mx smtpd[10999]: warn: loop detected: Undefined error: 0
Jan 18 21:28:45 mx smtpd[10999]: smtp-in: Failed command on session 
384f0c87af0178af: "DATA" => 500 5.4.6 Routing loop detected: Loop detected
Jan 18 21:28:45 mx smtpd[10999]: relay: PermFail for 7074eecd937a1f96: 
session=384f0c868ad0506f, from=<[email protected]>, to=<[email protected]>, 
rcpt=<->, source=91.210.228.4, relay=91.210.228.4 (mx.kasakoff.net), delay=1s, 
stat=500 5.4.6 Routing loop detected: Loop detected

thanks for help

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

Reply via email to