On Sun, Mar 08, 2009 at 03:50:33PM -0600, Gilles Chehade wrote: > CVSROOT: /cvs > Module name: src > Changes by: gil...@cvs.openbsd.org 2009/03/08 15:50:33 > > Modified files: > usr.sbin/smtpd : parse.y > > Log message: > supporting delivery to a mbox that's not in _PATH_MAILDIR is not supported, > if someone comes with good rationale why this is needed, we'll consider it, > meanwhile it's more work than it looks like and it brings a lot of pain. > > discussed with jacekm@ and deraadt@ >
my commit log has confused a couple people, so I should clarify: Deliveries to files work, a user can have a filename as an alias and smtpd will deliver to that file as long as it can be created. What does not work is having user mboxes outside of _PATH_MAILDIR, because deliveries to mbox and files differ in their constraints, and do not share the same code path for obtaining the file to which we write. To summarize: in smtpd.conf, the following is no longer valid: accept for domain "example.org" deliver to mbox "/var/foo/%u" but in /etc/mail/aliases, the following is valid: dmesg: /var/log/dmesglog Gilles -- Gilles Chehade http://www.poolp.org/~gilles/