> Am 17.02.2016 um 05:12 schrieb Steve Conrad <[email protected]>: > > > Here's the config I used that broke local delivery. > Most likely I've overlooked something simple, > > but it's not jumping out at me.
There is a subtle difference between a hostname and a domain name. So you set your mail server hostname to a domain name, AFAIK this is not expected to work. Your mail server has to have a real hostname (FQDN). You may want to read up on FQDNs and the differences between hostnames and domain names. > Simply changing my hostname to pseudonymous.splazo.co > > made it all work fine. > > > //Things look reasonably well configured in /etc/mail: > > > # cd /etc/mail > # grep frisco.splazo.co * > aliases:steve: [email protected] > Binary file aliases.db matches > domains:frisco.splazo.co > passwd:[email protected]:$2b....:::::: > smtpd.conf:pki frisco.splazo.co certificate > "/etc/ssl/frisco.splazo.co.crt" > smtpd.conf:pki frisco.splazo.co key > "/etc/ssl/private/frisco.splazo.co.key" > smtpd.conf:listen on egress port 25 filter sub tls pkifrisco.splazo.co > smtpd.conf:listen on egress port 587 filter all tls-require pki > frisco.splazo.co auth <passwd> > virtuals:[email protected] [email protected] > virtuals:[email protected] [email protected] > virtuals:[email protected] [email protected] > virtuals:[email protected] vmail > > Aliases seem to be setup ok: > # grep -e root: aliases > root: steve > # grep -e steve: aliases > steve: [email protected] > > > Here's what I'm running: > # hostname; uname -a; smtpd -h > > frisco.splazo.co > > OpenBSD frisco.splazo.co 5.9 GENERIC#1743 amd64 > > version: OpenSMTPD master > > > Here are a couple of examples of it not working: > > // have the same problem with telnet > > $ telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 frisco.splazo.co ESMTP OpenSMTPD > helo lap.top > 250 frisco.splazo.co Hello lap.top [127.0.0.1], pleased to meet you > mail from: <[email protected]> > 250 2.0.0: Ok > rcpt to: <[email protected]> > 550 Invalid recipient > > > // and with /usr/bin/mail > $ mail root > Subject: test > > well? > . > EOT > $ send-mail: command failed: 550 Invalid recipient > > > > > ---------------------------------------------------------------- > If the service is free, you're the product.
