It's the unmodified -release one:
# $OpenBSD: mailer.conf,v 1.4 2009/03/16 14:26:22 jacekm Exp $
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
makemap /usr/libexec/sendmail/makemap
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail
I wasn't aware that any changes were needed for smtpd (there is nothing
about this in the documentation).
Now I rebuild the /etc/mail/aliases.db by executing /usr/bin/newaliases,
but this leads to the same result (/var/spool/clientmqueue/...):
(this seems to be the only "newaliases" on the system...)
---
This is a MIME-encapsulated message
--n9RAlYX5022803.1256640455/pcc.abc.test
The original message was received at Tue, 27 Oct 2009 11:47:34 +0100 (CET)
from r...@localhost
----- The following addresses had permanent fatal errors -----
testuser
(reason: 530 Recipient rejected)
(expanded from: testuser)
----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> RCPT To:<testu...@pcc.abc.test>
<<< 530 Recipient rejected
554 5.0.0 Service unavailable
>>> DATA
<<< 503 Need RCPT before DATA
--n9RAlYX5022803.1256640455/pcc.abc.test
Content-Type: message/delivery-status
Reporting-MTA: dns; pcc.abc.test
Arrival-Date: Tue, 27 Oct 2009 11:47:34 +0100 (CET)
Final-Recipient: RFC822; testu...@pcc.abc.test
Action: failed
Status: 5.0.0
Remote-MTA: DNS; [127.0.0.1]
Diagnostic-Code: SMTP; 530 Recipient rejected
Last-Attempt-Date: Tue, 27 Oct 2009 11:47:34 +0100 (CET)
--n9RAlYX5022803.1256640455/pcc.abc.test
Content-Type: message/rfc822
Return-Path: <user1>
Received: (from r...@localhost)
by pcc.abc.test (8.14.3/8.14.3/Submit) id n9RAlYX4022803
for testuser; Tue, 27 Oct 2009 11:47:34 +0100 (CET)
Date: Tue, 27 Oct 2009 11:47:34 +0100 (CET)
From: user1
Message-Id: <200910271047.n9ralyx4022...@pcc.abc.test>
To: testuser
Subject: test3
test3
--n9RAlYX5022803.1256640455/pcc.abc.test--
Gilles Chehade wrote:
can you also show your /etc/mailer.conf ?
what you experience looks like the result of smtpd looking at a db with
a format it doesn't understand (ie: trying to resolve aliases which are
in a db you built using sendmail's `newaliases`)
Gilles
Robert a C)crit :
No, plain -release amd64 from the CD:
OpenBSD pcc.abc.test 4.6 GENERIC.MP#81 amd64
I have another PC for testing and I will install -current on it to
rule out any side effects that might have occured on this (pcc)
machine (will take some time; it's a VIA C3...).
Robert
Gilles Chehade wrote:
are you running -current ?
Gilles