From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from asquith.prosimetrum.com ([125.236.209.157]) by ewsd; Mon Aug 20 06:49:25 EDT 2018 Message-ID: Date: Mon, 20 Aug 2018 22:50:23 +1200 From: umbraticus@prosimetrum.com To: 9front@9front.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: encrypted progressive YAML map/reduce singleton Hi list, I'm setting up mail again after a bad disk and I can't for the life of me remember how I had it working before. mail is being delivered to /mail/box/$user/mbox but I can't read it as a normal user because of the permissions, eg: a-rw-rw---- M 26 none none 4280 Aug 20 22:34 1534761278.00 config below, let me know if any other info would help. I look forward to using auth/as none to read replies... umbraticus term% cat /mail/lib/smtpd.conf defaultdomain prosimetrum.com norelay on verifysenderdom off saveblockedmsg off ournets 192.168.0.0/16 ourdomains prosimetrum.com, runjimmyrunrunyoufuckerrun.com term% cat /mail/lib/rewrite [^!@.]+ translate "/bin/upas/aliasmail '&'" \l!(.*) alias \1 prosimetrum\.com!(.*) alias \1 local!(.*) >> /mail/box/\1/mbox # convert source domain address to a chain a@b@c@d... @([^@!,]*):([^!@]*)@([^!]*) alias \2@\3@\1 @([^@!]*),@([^!@,]*):([^!@]*)@([^!]*) alias @\1:\3@\4@\2 # convert a chain a@b@c@d... to ...d!c!b!a ([^@]+)@([^@]+)@(.+) alias \2!\1@\3 ([^@]+)@([^@]+) alias \2!\1 # queue all mail for delivery ([^!]*)!(.*) | "/mail/lib/qmail '\s' 'net!\1'" "'\2'"