I've been using SMTPD for many many months now, but after an update to the latest snapshots today, it seems to have broken.

I deliver mail to dovecot's LDA, which places it in my mailbox.

After today's update,
Mail delivered to this address (h...@osvaldobarrera.com.ar), is passed on to dovecot, but dovecot with recipient "osvaldobarrera.com...@osvaldobarrera.com.ar" (domain@domain).


Here's my smtpd.conf, which hasn't changed:

#########
#       $OpenBSD: smtpd.conf,v 1.2 2009/11/03 22:32:10 gilles Exp $

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

listen on lo0
listen on em0
listen on em0 smtps enable auth #465
listen on em0 port 587 smtps enable auth

hostname "mail.hugoosvaldobarrera.com.ar"

map "aliases" { source db "/etc/mail/aliases.db" }

accept for local alias aliases deliver to mbox

accept from all for domain "osvaldobarrera.com.ar" alias aliases deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -d
%u@%d"
accept from all for domain "hugoosvaldobarrera.com.ar" alias aliases deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -d
h...@osvaldobarrera.com.ar"
accept          for all    relay
#########

I've manually ran "/usr/local/libexec/dovecot/dovecot-lda -d
h...@osvaldobarrera.com.ar < some_old_mail", and the mails get there just fine.
It's the logs that prove dovecot isn't receiving them properly:



Jun 29 18:22:12 hugo-barrera smtpd[1729]: 67d42a89: from=<h...@osvaldobarrera.com.ar>, size=729, nrcpts=1, proto=ESMTP, relay=cpe-186-22-128-227.telecentro-reversos.com.ar [186.22.128.227]

Jun 29 18:22:12 hugo-barrera dovecot: auth: passwd-file(osvaldobarrera.com...@osvaldobarrera.com.ar): unknown user

Jun 29 18:22:12 hugo-barrera smtpd[674]: 67d42a89f5d29242: to=<h...@osvaldobarrera.com.ar>, delay=1, stat=Error (exited abnormally)



(please note I've created the account osvaldobarrera.com...@osvaldobarrera.com.ar in dovecot for now as a workaround to actually receive my mail, though this is not relevant really)


Here are my aliases, just in case (comments trimmed):

*****
postmaster: h...@osvaldobarrera.com.ar
msn:        h...@osvaldobarrera.com.ar

daemon: root
ftp-bugs: root
operator: root
uucp:   root
www:    root

(lots of /dev/null account that are there by default)

*****

Any hints? I've tried looking up if there were recent changes to opensmtpd that require an update to smtpd.conf, but couldn't find any.

Thanks for any help in advance, hope I didn't forget to attach anything important. Cheers!


--
Hugo Osvaldo Barrera

Reply via email to