The password set in ISPConfig does not apply to the squirrelmail login for dovecot.
The general idea than was to get phpMyAdmin running, and set up passwords there…(i do not even know if that is going to work, but get phpMyAdmin to work would not be bad at all…)
So, to know how to set a password/username in/for dovecot would be fine also…
(i’ve read all the wikipages like: AuthDatabase/PasswdFile - Dovecot Wiki
but now i still do not know where and how to set them.
I could write more and mess all up, but that is not nessesary.
My real problem is that authorization in dovecot does not work, so no matter what i try, i cannot login.
Logindisabled is the message, an when i try to:
auth default {
…
passdb passwd-file {
args = /etc/passwd.dovecot
}
…
dovecot -n says error in line soandso: “args”
so i am not able to get the passwd db set.
It realy sucks: i’ve been trying from yesterday evening until tonight to get logged in: accesss denied.
>
> Yes i know, i have that package installed, that is not the point.
> Point is: How to get it run, as you cannot reach it when it is in
> /srv/www/htdocs/phpMyAdmin/config.inc.php
> in ‘Quick Linux Server w/
> Apache+PHP+MySQL+MailServer+PhpMyAdmin+Webmin+FTP
> Server+Webalizer+Firewall’ (http://mysql-apache-php.com/) the author
> suggests to “include /etc/phpmyadmin/apache.conf” :include: command not
> found
here the author talks about including that file in the apache
configuration, the root of which is /etc/apache2/httpd.conf. that used to
be one huge file, but by now has been split up into several smaller ones,
which are all included by the include statement in that file (httpd.conf).
phpmyadmin has several options to authenticate users, none of them have
anything to do with dovecot authentication.
> My real problem is that authorization in dovecot does not work, so no
> matter what i try, i cannot login.
> Logindisabled is the message, an when i try to:
> auth default {
> .
> passdb passwd-file {
> args = /etc/passwd.dovecot
> }
> .
>
> dovecot -n says error in line soandso: “args”
> so i am not able to get the passwd db set.
> It realy sucks: i’ve been trying from yesterday evening until tonight
> to get logged in: accesss denied.
that’s a different matter. i’m using dovecot only from my local machine,
and therefore enabled plaintext authentication. there’s other, more secure
options which are partly explained in the file dovecot.conf. i’m sure
you’ll find more about that on the dovecot website and several other
places (->google).
Yeah, that is what i thought…
I have looked and studied at many off these pages, and tried solutions given there…helas, until now nothing worked…
Somehow the conf file is ruined by the ispconfig app, it, so to speak took all the /etc/dovecot/config.d/*, and threw them into one large dovecot.conf
This way, the file is so large, that with dovecot -n, you are not able to see the whole output.
Do you know how to display only one screen at the time?
in tty’s i cannot go back to look at what is above the visible screen…
>
> Yeah, that is what i thought…
> I have looked and studied at many off these pages, and tried solutions
> given there…helas, until now nothing worked…
> Somehow the conf file is ruined by the ispconfig app, it, so to speak
> took all the /etc/dovecot/config.d/*, and threw them into one large
> dovecot.conf
> This way, the file is so large, that with dovecot -n, you are not able
> to see the whole output.
> Do you know how to display only one screen at the time?
> in tty’s i cannot go back to look at what is above the visible
> screen…
>
>
pipe through “less” or “more”, i.e.,
dovecot -n | less
or
dovecot -n | more
but why not open it in an editor, or if you’re in graphical mode,
konqueror (‘open in new tab’ after right-clicking, or type
‘/etc/dovecot/dovecot.conf’ into the address bar. has to be superuser, of
course.)
I am on a tty, i can choose as many as i want.
The monitor however is 800x600, Monitor size 24x20cm.
Just for the server control…
If you could tell me how to approach /root of the server from another pc, i could use a gui.
In the server log i found in error log mail:
Dec 20 21:00:02 AsusTT-sfn6 postfix/smtpd[7073]: fatal: no SASL authentication mechanisms
So i guess the sasl-auth pkg, (belonging to dovecot?) has not been pulled in to fullfill deps i guess, or does not exist…
I was just going to look for it…
>
> thnx! That is a good tip.
>
>
> I am on a tty, i can choose as many as i want.
> The monitor however is 800x600, Monitor size 24x20cm.
> Just for the server control…
> If you could tell me how to approach /root of the server from another
> pc, i could use a gui.
>
> In the server log i found in error log mail:
> Dec 20 21:00:02 AsusTT-sfn6 postfix/smtpd[7073]: fatal: no SASL
> authentication mechanisms
>
> So i guess the sasl-auth pkg, (belonging to dovecot?) has not been
> pulled in to fullfill deps i guess, or does not exist…
> I was just going to look for it…
>
i’m not sure about this, since i’ve never used SASL authentication on my
machine. i do know that dovecot has extensive documentation at their
website (http://www.dovecot.org/ ). when i had problems setting up my mail
server i spent a little while understanding how the whole thing works, and
was finally able to get things sorted out. (unfortunately SASL wasn’t part
of my problem.)
working with secure protocols involves more than just installing the
correct packages. you need certificates and such, in the right locations
on your machine.
I tried to get plaintext login first, but got no access yet…
I messed up my dovecot.conf with 1.2, did not make a backup first.
So in uninstalled 1.2, and installed 2.0, to get a new configfile…
Ofcourse it did not work with ISPConfig, so i updated ISPConfig.
That wrecked, sort of the new dovecot.conf.
I started to remove obsolete entries according the guidelines from dovecot -n (| more, which works like a charm, thnx for that tip…)
As there were more things i could not solve, like now: mail_plugin_dir: access(/usr/lib/dovecot/modules/imap) failed: No such file or directory, and login sieve problem,
i subscribed to the mailinglist on old nabble, and am trying to get some help there…but that takes some time though…
I donot understand why it is so difficult to get an imap server ready to login.
And i just talk about simple plaintext login, to test, so i can use ssl or webacces, which was my goal.
The strange thing is that i just wanted an imap-mailserver, but now i have a server were i can setup al kind of accounts, that works, but no imap-server…
But i guess, i will start at the beginning again and create some users, and try to get logged in…
Some day i will succeed… i hope…