This is a discussion on Re: IMAP /etc/userdb and postfix within the mailing.postfix.users forums, part of the Mail Servers and Related category; Postmaster wrote: > Quoting Damien Mascord <tusker@tusker.org>: > > >>Postmaster wrote: >> >&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Postmaster wrote:
> Quoting Damien Mascord <tusker@tusker.org>: > > >>Postmaster wrote: >> >>>Thanks Damien - that explains part of it... What ties userdb, >>>regardless of where it is, to postfix "validation"? I am using >> >>the >> >>>user "vmail" from one of the examples. There does not appear to be >> >>a >> >>>reference to "userdb" in main.cf or master.cf. >>> >>>I tried the changes anyway - and now get a >>> >>>fatal: pipe_command: execvp /usr/local/bin/maildrop no such file >> >>or >> >>>directory >>> >>>sigh... >>> >>>The maildrop courier version....is this what is implemented by >> >>the >> >>>master.cf line ? How does courier know it's there ? There >> >>doesn't >> >>>appear to much of imapd * imapd.cnf files in that /etc/courier >>>directory. >> >>Hi, >> >>main.cf would specify a transport to use "maildrop". >> >>This "maildrop" is defined in master.cf. >> >>Whatever command line you configure as "maildrop" in your master.cf >>will >>get called with the appropriate parameters. >> >>So, mail comes into postfix smtp, the mail goes on the queue, then >>is >>delivered via the virtual_transport (which is configured as >>maildrop). >> >>maildrop will then use the parameters specified in the master.cf to >>know >>which email to look up in the userdb. >> >>/usr/bin/maildrop|/usr/local/bin/maildrop will then check userdb for >>the >>location of the home directory of the "user"/"virtual user" in >>question, >>and will 'drop' the mail there. >> >>The maildrop binary within the courier-maildrop package (or if you >>installed it from source) will know to use the userdb that is created >>by >>the makeuserdb command (which should be from the same package). >> >>Your error looks like you don't have /usr/local/bin/maildrop, so >>check >>for its existence, and change the path if necessary. >> >>Damien >> > > ============================================ > > I'm feeling like I'm stupid or something... > > I'm using SuSE 9.2 - yast says courier-imap is installed (but NOT > courier-imap-ldap). > > locate maildrop finds nothing... > tried "updatedb" and then locate maildrop again...same nothing. > > Do I have to install the "courier-imap-ldap" as well ? The SuSE install > "search" never shows any maildrop. I tried using the expanded "search > the description" as well...no luck. When I comment it back out - I can > at least send mail to the virtual users... > > I've printed out the how-to, I have Ralf's book and the O'reilly Postfix > book - too many chef's I suppose ... Hi, You will want to search for maildrop, and make sure it's the courier version. I've never used SuSe so I'm not sure exactly whether SuSE even has a maildrop package. You may have to build it from source (http://www.courier-mta.org/maildrop/) though there may be a unofficial SuSE package out that that will co-exist happily with the courier-imap that comes with SuSE. You will probably need to install the courier-authdaemon package if you have not done so (unless SuSE includes the authdaemon with the courier-imap package). Damien |
![]() |
| Thread Tools | |
| Display Modes | |
|
|