plus addressing with postfix

Rosenbaum, Larry M. rosenbaumlm at ornl.gov
Fri Mar 17 11:01:42 EST 2006


Use LMTP.
Make sure main.cf has "recipient_delimiter = +"
You don't need special permissions to deliver to a user's INBOX, but if
you want to deliver to a subfolder, the subfolder must have "anyone p".

> -----Original Message-----
> From: info-cyrus-bounces at lists.andrew.cmu.edu [mailto:info-cyrus-
> bounces at lists.andrew.cmu.edu] On Behalf Of Steve Kwok
> Sent: Friday, March 17, 2006 6:21 AM
> To: info-cyrus at lists.andrew.cmu.edu
> Subject: plus addressing with postfix
> 
> Hi,
> 
> How can I make cyrus imap plus delivery work from postfix.
> I have virtual domains.
> 
> in my master.cf
> 
> cyrus           unix    -       n       n       -       -       pipe
>         user=cyrus argv=/usr/lib/cyrus/deliver -r ${sender} -m
> ${extension}
> ${recipient}
> 
> I use autocreateinbox patch to create the folders.
> 
> 1. I think one solution is giving anyone p right by default.
>    Will there be any security problem by doing this to everyone's
folder?
> 2. I found it work if the deliver program is called with -a
user at email.com
>    user=cyrus argv=/usr/lib/cyrus/deliver -r ${sender}
>         -m ${extension} -a ${recipient} ${recipient}
>    However pipe do not remove the plus extension from the ${recipient}
> macro
>    Passing abc+spam at xyz.com to -a and recipient make it doesn't work.
> 
> I have try LMTP however the result is the same.
> And suggestions? Am I doing the right thing?
> 
> Great Thanks
> Steve Kwok
> 
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


More information about the Info-cyrus mailing list