Re: MTA choice

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter J. Philipp
Date: Wednesday, August 18, 2010 - 10:42 am

On Wed, Aug 18, 2010 at 07:00:25PM +0200, Robert wrote:

Thanks.  I'm trying to interpret that marc archive right.  Was it that you 
had your /etc/mailer.conf not updated to the opensmtpd binaries?  Well anyhow
you made me look if my problem persists, so I tried it on a fairly recent 
-current box (August 2nd) and I'm still seeing the fails that I had before.

Here is a session with opensmtpd:

----
# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 uranus.centroid.eu ESMTP OpenSMTPD
helo remote
250 uranus.centroid.eu Hello remote [IPv6:::1], pleased to meet you
mail from: <pjp@solarscale.de>
250 2.1.0 Sender ok
rcpt to: <security@solarscale.de>
530 5.0.0 Recipient rejected: security@solarscale.de
quit
221 2.0.0 uranus.centroid.eu Closing connection
Connection closed by foreign host.
----

Notice the 530 error, I'm unsure what this means but the log says:

Aug 18 19:31:13 caliban smtpd: (none): from=<pjp@solarscale.de>, relay=localhost.solarscale.de [IPv6:::1], stat=LocalError (530 5.0.0 Recipient rejected: security@solarscale.de)

So to show you my /etc/mailer.conf:

----
#	$OpenBSD: mailer.conf,v 1.3 2000/04/06 18:24:19 millert Exp $
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail        /usr/sbin/smtpctl
send-mail       /usr/sbin/smtpctl
makemap         /usr/libexec/smtpd/makemap
newaliases      /usr/libexec/smtpd/makemap
----

Notice, makemap and newaliases point to the opensmtpd binaries.

Next I want to show you my aliases file from /etc/mail/aliases:

----
# more aliases
#
daemon: root
operator:       root
bin:    root
smmsp:  root
popa3d: root
sshd:   root
uucp:   root
www:    root
named:  root
proxy:  root
nobody: root
root:   pjp
pjp:    pjp@solarscale.de
security: root
#
----

And lastly I'd like to show you my config:

----
#	$OpenBSD: smtpd.conf,v 1.1 2009/03/17 00:00:16 gilles Exp $

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

hostname "uranus.centroid.eu"
map "aliases" { source db "/etc/mail/aliases.db" }

listen on localhost 
listen on vic0 

accept for local deliver to mda "/usr/local/bin/procmail -f -"

# must be "from all" because "from local" is default
accept from all for domain "solarscale.de" deliver to mda "/usr/local/bin/procmail -f -"
accept from all for domain "centroid.eu" deliver to mda "/usr/local/bin/procmail -f -"
accept from all for domain "uranus.centroid.eu" deliver to mda "/usr/local/bin/procmail -f -"

accept from all for domain "goldflipper.net" deliver to mda "/usr/local/bin/procmail -f -"

accept for all relay via 127.0.0.1 port 9025
----

So anyhow if you can spot the error, I'd be grateful otherwise I assume what
I want from opensmtpd is still not working.

Regards,

-peter
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: MTA choice, Internet Retard, (Fri Aug 13, 12:09 pm)
Re: MTA choice, Marco Peereboom, (Fri Aug 13, 12:20 pm)
Re: MTA choice, Internet Retard, (Fri Aug 13, 12:42 pm)
Re: MTA choice, Rich Kulawiec, (Fri Aug 13, 1:31 pm)
Re: MTA choice, Kevin Chadwick, (Sat Aug 14, 12:41 pm)
Re: MTA choice, Chris Cappuccio, (Mon Aug 16, 9:36 am)
Re: MTA choice, Gregory Edigarov, (Tue Aug 17, 12:23 am)
Re: MTA choice, Henning Brauer, (Wed Aug 18, 1:07 am)
Re: MTA choice, Gregory Edigarov, (Wed Aug 18, 2:10 am)
Re: MTA choice, Peter J. Philipp, (Wed Aug 18, 2:19 am)
Re: MTA choice, Gilles Chehade, (Wed Aug 18, 5:34 am)
Re: MTA choice, Gilles Chehade, (Wed Aug 18, 5:35 am)
Re: MTA choice, Robert, (Wed Aug 18, 10:00 am)
Re: MTA choice, Peter J. Philipp, (Wed Aug 18, 10:42 am)
Re: SMTP syntax (was: MTA choice), Claus Assmann, (Wed Aug 18, 11:05 am)
Re: MeTA1 (was: MTA choice), Claus Assmann, (Wed Aug 18, 11:43 am)
Re: MTA choice, Robert, (Wed Aug 18, 11:47 am)
Re: MTA choice, Peter J. Philipp, (Wed Aug 18, 11:54 am)
Re: MeTA1 (was: MTA choice), Gregory Edigarov, (Thu Aug 19, 1:17 am)
Re: MTA choice, Jean-Francois, (Sat Aug 28, 3:07 am)
Re: MTA choice, Gilles Chehade, (Mon Aug 30, 8:20 am)