From: umbraticus@prosimetrum.com
To: 9front@9front.org
Date: Mon, 20 Aug 2018 22:50:23 +1200 [thread overview]
Message-ID: <F89AAAF959DC083B13E0F96470D54A0D@prosimetrum.com> (raw)
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'"
reply other threads:[~2018-08-20 10:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F89AAAF959DC083B13E0F96470D54A0D@prosimetrum.com \
--to=umbraticus@prosimetrum.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).