How to hand over mails from postfix to cyrus

Oliver Demetz - Hardware-XPress.de odemetz at hwxp.de
Sun Sep 14 22:27:16 EDT 2003


OK, but now an ongoing question:
in pipe-manpage, they just take foo+bar at example.org as
example-mailadress.
$extension is 'bar'
$mailbox is 'foo+bar'
$user is 'foo'
OK.
But what, if mail goes to foo at example.com??
And, in my master.cf, -m parameter is '$extension $user'
According to the 'foo+bar at example.org'- example,
would the commandline be '-m bar foo' or '-m barfoo'???

I hope you were able to follow my argumentation....
I'm not very good at English :-/
Big Thanks in advance...
Oliver

Joakim Ryden wrote:
> The pipe(8) man page is a good, short and easy read. The LMTP_README
> that comes with Postfix also has lots of good tips and stuff in it.

> --Jo

> On Sun, 2003-09-14 at 18:26, Oliver Demetz - Hardware-XPress.de wrote:
>> Hi!
>> I searched for hours now for a documentation on how postfix hands over
>> mail to cyrus.
>> 
>> An Example:
>> I want to host an emailadress xxx at xyz.com.
>> This Mail shall be stored in a mailbox called xxx-xyz-com for
>> example. So, how can I tell postfix and cyrus to do that???
>> 
>> What I already found out:
>> 
>> The commandline, which is executed by Postfix (defined in master.cf)
>> is:
>> pipe user=cyrus argv=/usr/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
>> so, deliver is told to store the mail into a mailbox. My question:
>> what's the value of $extension and $user???
>> Is $user always = cyrus (as defined at the beginning of the line?
>> Why do I even need to specify a user? Wouldn't it be enough to tell imap the
>> destination-mailbox?
>> And, in the case that user is cyrus, from where takes postfix the
>> password for cyrus to authenticate against cyrusimapserver???
>> 
>> I'm really confused.
>> Please help me getting light into the dark!
>> 
>> So long and really BIG THANKS to all of you in advance!
>> 
>> Oliver Demetz
>> 
>> 
>> 
>> !DSPAM:3f651886132314374319027!
>> 
>> 





More information about the Info-cyrus mailing list