I have been using qmail on OpenBSD for many years, but it is not compatible 
with newer versions of OpenBSD. So I am trying both newer ports of qmail on 
Linux and smtpd plus dovecot on OpenBSD.

Mail is delivered to Maildir by default, but I like to also deliver to an mbox 
to keep as a backup archive just in case I lose some in the mail clients. For 
smtpd I assumed that adding

archie: archie, /var/mail/archie

to the aliases file it would be delivered to both locations, but I get a 
delayed error message

[email protected]: "mail.mboxfile: Permission denied"

The target mbox exists:

-rw-------  1 archie archie       0 Sep  4 21:36 archie

My first attempt was using the same mbox file I had used for qmail: 
/home/archie/Mailbox and I got the same error, but then I thought that matching 
the properties of the original mail to root might help. But looking at the 
maillog I see that the Maildir delivery was by the user archie, while the mbox 
attempts were by the user _smtpd. Making an mbox writable by _smtpd would be a 
quick solution, but what would be the proper way to do this?


Reply via email to