On Thu, Jul 05, 2018 at 10:28:41AM -0400, Shawn Webb wrote:
> On Thu, Jul 05, 2018 at 10:26:26AM -0400, Shawn Webb wrote:
> > I'm using OpenSMTPD on HardenedBSD. Below is a very simple config
> > file. Instead of delivering to the mda, I'm getting this error
> > message:
> > 
> > smtp-in: Failed command on session d73f0a31e68f02bf: "RCPT 
> > TO:<shawn@wm43xbbhcje4zcw54ya6hjvupimp2lp7mwfcfmuu4luzejjhksgdg6id.onion>" 
> > => 550 Invalid recipient
> > 
> > Config file:
> > 
> > listen on 10.5.5.17 tag UNSANITIZED
> > listen on 10.5.5.17 port 2225 tag SANITIZED
> > 
> > # If you edit the file, you have to run "smtpctl update table aliases"
> > table aliases file:/etc/mail/aliases
> > 
> > accept tagged UNSANITIZED deliver to mda "/usr/sbin/tcsmda" as root
> > 
> > # Uncomment the following to accept external mail for domain "example.org"
> > accept tagged SANITIZED from any for domain 
> > "wm43xbbhcje4zcw54ya6hjvupimp2lp7mwfcfmuu4luzejjhksgdg6id.onion" alias 
> > <aliases> deliver to mbox
> > 
> > accept tagged SANITIZED for local alias <aliases> deliver to mbox
> > accept tagged UNSANITIZED for any relay
> 
> Forgot to include some crucial bits of info:
> 
> OpenSMTPD 5.9.2p1 on HardenedBSD 12-CURRENT/amd64.
> 
> I'm a bit unsure why this is failing. So any non-xkcd pointers would
> be very much appreciated. :)

Any pointers? I've now changed the config to this: http://ix.io/1gRM

I've implemented a dumb little application to test this line:

accept tagged UNSANITIZED from any relay via smtp://10.5.5.17:3192

Not getting anything. Instead, opensmtpd immediately responds with
that same "Failed command" error.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
Tor+XMPP+OTR:        [email protected]
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

Attachment: signature.asc
Description: PGP signature

Reply via email to