Just a follow-up that I did end up fixing the Maildrop issue, mainly due to this article I found:

http://www.marlow.dk/site.php/tech/postfix

Thanks also to mouss for suggesting that I reconsider procmail! Maildrop seems to be a bit more modern in its design.

-Dan

On Oct 24, 2008, at 4:58 PM, Dan Phiffer wrote:

On Oct 24, 2008, at 1:13 PM, mouss wrote:

Dan Phiffer a écrit :
Hello list,

I'm pretty new to Postfix still, but I've been reading through the
documentation on postfix.org and have come to the conclusion that the setup guide I followed (http://articles.slicehost.com/email) offers a pretty good starting point. However, I'd like to use procmail in some
cases, which doesn't seem to work with my virtual/MySQL setup.

What would be the best way to do that? I'm assuming I'd need to
intervene in the delivery process sometime before the virtual mailbox stuff happens, but I wasn't totally clear about how to actually do that.

Here's how my setup works now:

Mail to [EMAIL PROTECTED] ends up in /home/vmail/domain1.com/me
Mail to [EMAIL PROTECTED] ends up in /home/vmail/domain1.com/user
Mail to [EMAIL PROTECTED] ends up in /home/vmail/domain2.com/user

Here's how I'd like it to work:

Mail to [EMAIL PROTECTED] ends up in /home/me, filtered according to my
procmail rules
Mail to [EMAIL PROTECTED] ends up in /home/vmail/domain1.com/user
Mail to [EMAIL PROTECTED] ends up in /home/vmail/domain2.com/user


it is easier to use maildrop. so if you can change your mind, now it is
the time. if so, take a look at
        http://www.postfix.org/MAILDROP_README.html

I was only thinking procmail because it's what I've used in the past. Maildrop seems to fulfill my needs.

The problem I'm running into now is my virtual mailbox path is being ignored by maildrop. Instead of respecting the /home/vmail/ domain.com/user pattern of virtual delivery it seems to drop everything into an mbox file called (strangely) Maildir.

I'm assuming this is some deficient configuration on the Courier side of things, and maybe pushing into off-topic territory. But if you guys have any suggestions, I'd be interested in hearing about them.

Thanks,
-Dan

Reply via email to