Hi all,

I'm puzzling over the various discussions on using Courier's maildrop as the local agent with Postfix. It plays well enough, but not...great. First its error messages are less than precise but you can get used to what they mean after a while. (I need it for SpamAssassin auto-directory-sorting.)

But the basic problem is that with virtual users, the mail delivery directories are not automatically created on first use/need, as they are with
Postfix's elegant but less featured 'virtual' delivery agent.

I've been researching this on the web for two hours and can find only this as the best resource:
http://anothersysadmin.wordpress.com/2007/11/29/maildrop-and-the-automatic-maildirmake-problem/

It recommends inserting a shell script in the maildrop delivery pipeline that kicks in the directories if need be. Seems like there must be a better, less hacky way for such a common problem? Or is this life with a non-Postfix agent?

The virtual users are created with Horde/PHP, so it's awkward and feels wrong to have PHP call a shell script to create mail directories whenever a new user is created through the Horde admin page. I feel like Horde should live entirely in MySQL and only needs to communicate with mail via its built-in IMAP client.

Thoughts?

-Daniel

Reply via email to