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; Quoting Damien Mascord <tusker@tusker.org>: > Postmaster wrote: > > Quoting Damien Mascord <tusker@tusker.org&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Quoting Damien Mascord <tusker@tusker.org>:
> Postmaster wrote: > > Quoting Damien Mascord <tusker@tusker.org>: > >=20 > >=20 > >>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=20 > >>> > >>>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 > >> > >=20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D > >=20 > > I'm feeling like I'm stupid or something... > >=20 > > I'm using SuSE 9.2 - yast says courier-imap is installed (but NOT > > courier-imap-ldap). > >=20 > > locate maildrop finds nothing... > > tried "updatedb" and then locate maildrop again...same nothing. > >=20 > > 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... > >=20 > > I've printed out the how-to, I have Ralf's book and the O'reilly > Postfix > > book - too many chef's I suppose ... >=20 > Hi, >=20 > You will want to search for maildrop, and make sure it's the courier > version. >=20 > I've never used SuSe so I'm not sure exactly whether SuSE even has a > maildrop package. >=20 > 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. >=20 > 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). >=20 > Damien =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I'm calling it quits for the night...appreciate your help, Damien. I downloaded maildrop from the above site, and now it wants some co-req's for development and something else that I don't think I want on a "production" box exposed to the internet. FWIW, courier-authdaemon was installed as soon as I installed courier-imap.=20 Other searching seems to indicate that with SuSE 9.2 - I may want "dovecot" just too burned out and frustrated.... I'll let you know what I find. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|