Hi,

I am setting up my first mail server with opensmtpd with openbsd 6.1 and
I am following the tutorial from
http://technoquarter.blogspot.de/p/series.html but I am also reading the
man pages ;)

When I try to send out a mail which I am testing with the
openssl-client, I get the following error:

235 2.0.0: Authentication succeeded
MAIL FROM: <[email protected]>
250 2.0.0: Ok
RCPT TO: <[email protected]>
RENEGOTIATING
2383074270240:error:1400444C:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert no 
renegotiation:/usr/src/lib/libssl/ssl_pkt.c:1205:SSL alert number 100
2383074270240:error:140040E5:SSL routines:CONNECT_CR_SRVR_HELLO:ssl handshake 
failure:/usr/src/lib/libssl/ssl_pkt.c:585:

Yesterday I already had the problem, then it worked for a mail and today
I continued with setting up clamav/clamsmtp. The problem reoccurred. When
I removed the changes from today, the problem still exists.

My smtpd.conf looks like this:
#       $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $

# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.

#table aliases file:/etc/mail/aliases


pki mail.datahaven.space certificate "/etc/ssl/mail.datahaven.space.pem"
pki mail.datahaven.space key "/etc/ssl/private/mail.datahaven.space.key"

# To accept external mail, replace with: listen on all
#
listen on lo0
listen on lo0 port 10026 tag CLAM_IN # incoming mail
listen on lo0 port 10028 tag CLAM_OUT # outgoing mail

listen on vio0 tls pki mail.datahaven.space hostname mail.datahaven.space
listen on vio0 port submission tls-require pki mail.datahaven.space auth 
hostname mail.datahaven.space

table aliases file:/etc/mail/aliases
table vusers file:/etc/mail/vusers
table vdomains file:/etc/mail/vdomains

# Uncomment the following to accept external mail for domain "example.org"
#
# accept from any for domain "example.org" alias <aliases> deliver to mbox
accept for local alias <aliases> deliver to maildir

#accept from any for domain <vdomains> virtual <vusers> deliver to maildir
#accept from local for any relay
# tagged mail returned from clamsmtpd either deliver or relay
accept tagged CLAM_IN for domain <vdomains> virtual <vusers> deliver to maildir
accept tagged CLAM_OUT for any relay
#
# start here - untagged mail is sent to clamsmtpd
accept from any for domain <vdomains> relay via smtp://127.0.0.1:10025 # 
incoming mail
accept from local for any relay via smtp://127.0.0.1:10027 # outgoing mail

What is the problem? I just cannot find a solution.
Incoming mail works fine.

Niels

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

Reply via email to