I thought this was a directory ownership problem. /var/mail/vmail/...
was owned by dovenull:dovecot. In any previous Dovecot+Postfix
installation I've had, it's been owned by postfix:postfix. using chown
on this directory tree didn't fix the problem:
Oct 26 12:54:28 theglobalvoice postfix/local[8025]: 79FFA60A53:
to=<yourvo...@theglobalvoice.info>, relay=local, delay=0.56,
delays=0.5/0.02/0/0.03, dsn=5.2.0, status=bounced (maildir delivery
failed: create maildir file
/var/mail/vmail/yourvoice/tmp/1572094468.P8025.theglobalvoice.info:
Permission denied)
On 10/23/2019 3:42 PM, Bill Cole wrote:
On 23 Oct 2019, at 14:33, Steve Matzura wrote:
[...]
On a whim, I change the DNS record for mail from A to CNAME.
That's a weird and dangerous whim. Hostnames that are used as the
value for MX records MUST have A records and hence MUST NOT have CNAME
records. The CNAME *MIGHT* work if done correctly for *SOME* sending
MTAs, but when it breaks (and it *WILL*) you will need to fix it.
Also, you did it wrong:
$ host theglobalvoice.info
theglobalvoice.info has address 95.142.174.193
theglobalvoice.info mail is handled by 10 mail.theglobalvoice.info.
$ host mail.theglobalvoice.info
Host mail.theglobalvoice.info not found: 3(NXDOMAIN)
$ host -t cname mail.theglobalvoice.info
mail.theglobalvoice.info is an alias for
theglobalvoice.info.theglobalvoice.info.
That indicates a common error made when specifying a hostname value of
a record in a BIND zone file.
HOWEVER: do not just fix the CNAME record, follow the RFCs and use an
A record.