This is a discussion on Re: [courier-users] Maildrop: Direct delivery to IMAP folder within the Courier-Imap forums, part of the Mail Servers and Related category; From: "Sam Varshavchik" <mrsam@courier-mta.com> > Michael Nguyen writes: > > > I was ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
From: "Sam Varshavchik" <mrsam@courier-mta.com>
> Michael Nguyen writes: > > > I was looking through the Maildrop documentation and had a question about > > it. Would it be easy to get maildrop to deliver an email to an arbitrary > > folder? My old MTA allowed me to do the following: [snip] > First, you need to get your mail server, Postfix, to put the recipient's > address, that it's delivering to, into some environment variable. [snip] What I'm basically doing here is attempting to implement filter rules for my users. So here's my plan... The mail stores all reside behind a mail filter so I control what is sent to the mail stores. I was going to get the email sent to the mail store from the filter as something like: michaeln+archive@twentyten.org An outside user wouldn't be able to email michaeln+archive@twentyten.org and have it get through in the same manner. Anyway, I can get Postfix to parse that and send whatever I want to maildrop. Postfix knows the user's maildir, but how can I get this sent in the correct manner to maildrop? I guess what I'm saying is, what do I send to maildrop parameter wise? I'm reading the man page and I don't quite understand how I'd call it. For example: Email Address: michaeln@twentyten.org Maildir for user: /var/mail/102309.macnt/ How do I get this all passed? I don't see the switches that I'd use. For example: maildrop -D vmail/vmail -d michaeln -M /var/mail/102309.macnt/archive/ Any hints? ;-) Michael ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |