How to hand over mails from postfix to cyrus

Joakim Ryden jryden at thebox.our-own.net
Sun Sep 14 22:39:04 EDT 2003


If you read LMTP_README I think the bottom line is: don't use the pipe
transport with Cyrus; it isn't the best option available.

HTH,
Jo

On Sun, 2003-09-14 at 19:27, Oliver Demetz - Hardware-XPress.de wrote:
> 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
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> 
> 
> 





More information about the Info-cyrus mailing list