This is a discussion on Postfix on a machine without unix users within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello, I want to set up a machine with postfix and cyrus on debian etch. The mail users are not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I want to set up a machine with postfix and cyrus on debian etch. The mail users are not in /etc/passwd Cyrus users are autheticated against sasldb2 How can I get postfix to deliver the mails to cyrus. I always get User unknown in local recipient table Thanks in advance Harry |
|
|||
|
Harry Knitter wrote:
> Hello, > > I want to set up a machine with postfix and cyrus on debian etch. > The mail users are not in /etc/passwd > Cyrus users are autheticated against sasldb2 > > How can I get postfix to deliver the mails to cyrus. > I always get User unknown in local recipient table > > Thanks in advance > > Harry > First of all, I would suggest using something else than plain sasldb2, use mysql or LDAP instead, for maintainability. MySQL is the easy way to go, check for example http://www.web-cyradm.org/ . There should be nice faqs and howtos to follow, for setting the whole system up. That way you also learn about the system you're about to build (postfix+cyrus) You need to specify the mailbox_transport in postfix to deliver mail to cyrus, and you also need to specify alias_maps or virtual_alias maps to get rid of the User unknown -stuff. I strongly recommendate using SQL instead of sasldb & textfile alias maps. You're happier afterwards. Mikko |
|
|||
|
Harry Knitter wrote:
> Hello, > > I want to set up a machine with postfix and cyrus on debian etch. > The mail users are not in /etc/passwd > Cyrus users are autheticated against sasldb2 > > How can I get postfix to deliver the mails to cyrus. > I always get User unknown in local recipient table > > Thanks in advance .... long time since I used cyrus. As far as I can remember you must use cyrdeliver. postfix -> cyrdeliver -> cyrus > Harry Klaus -- Klaus Zerwes http://zero-sys.net |
|
|||
|
Klaus Zerwes wrote:
> Harry Knitter wrote: > ... long time since I used cyrus. > As far as I can remember you must use cyrdeliver. > postfix -> cyrdeliver -> cyrus > Actually, using LMTP instead of cyrdeliver is recommended. Nothing wrong with cyrdeliver, especially if postfix and cyrus are on the same machine. quote: > 'cyrdeliver' (which is assume to be 'deliver' renamed) is a front-end to > LMTP-delivery; basically, it's a pipeline you can use if your MTA > doesn't support LMTP (or you want to inject messages into Cyrus using > something other than your MTA). (http://lists.andrew.cmu.edu/pipermai...ry/009324.html) Here are examples of the configuration directives when using direct LMTP-transport: imapd.conf: lmtpsocket: /var/run/cyrus/socket/lmtp cyrus.conf: (SERVICES-section, all in one row): lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20 postfix main.cf: mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp Mikko |
|
|||
|
Mikko Toivola wrote:
> Klaus Zerwes wrote: >> Harry Knitter wrote: > >> ... long time since I used cyrus. >> As far as I can remember you must use cyrdeliver. >> postfix -> cyrdeliver -> cyrus >> > > Actually, using LMTP instead of cyrdeliver is recommended. Nothing wrong > with cyrdeliver, especially if postfix and cyrus are on the same machine. [...] > Mikko Thanks for updating my brain! And I assume this will answer all questions of the op. Klaus -- Klaus Zerwes http://zero-sys.net |
![]() |
| Thread Tools | |
| Display Modes | |
|
|