Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text? thanks
On Sunday 10 May 2009 21:30:18 Baho Utot wrote:
Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text?
Here it is. I use it on localhost to avoid bloating my home dir with mails. ---------------------------- $ grep -v \# /etc/dovecot/dovecot.conf|cat -s ssl_disable = yes mail_location = maildir:/mnt1/shridhar/dovecot/%u protocol imap { } protocol pop3 { } protocol lda { postmaster_address = postmaster@example.com } auth default { mechanisms = plain passdb pam { } userdb passwd { } user = root } dict { } plugin { } $ dovecot -n # 1.1.14: /etc/dovecot/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl-disable=yes, no non-plaintext auth mechanisms. # OS: Linux 2.6.29-ARCH x86_64 reiserfs ssl_disable: yes login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:/mnt1/shridhar/dovecot/%u auth default: passdb: driver: pam userdb: driver: passwd ---------------------------- -- Shridhar
Shridhar Daithankar wrote:
On Sunday 10 May 2009 21:30:18 Baho Utot wrote:
Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text?
Here it is. I use it on localhost to avoid bloating my home dir with mails. ---------------------------- $ grep -v \# /etc/dovecot/dovecot.conf|cat -s
ssl_disable = yes
mail_location = maildir:/mnt1/shridhar/dovecot/%u
protocol imap { }
protocol pop3 { }
protocol lda { postmaster_address = postmaster@example.com }
auth default { mechanisms = plain passdb pam { }
userdb passwd { }
user = root }
dict { }
plugin { }
$ dovecot -n # 1.1.14: /etc/dovecot/dovecot.conf Warning: There is no way to login to this server: disable_plaintext_auth=yes, ssl-disable=yes, no non-plaintext auth mechanisms. # OS: Linux 2.6.29-ARCH x86_64 reiserfs ssl_disable: yes login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_location: maildir:/mnt1/shridhar/dovecot/%u auth default: passdb: driver: pam userdb: driver: passwd ----------------------------
I'll habe a look at it thanks
Baho Utot wrote:
Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text?
thanks
Try changing the "disable_plaintext_auth" from yes to no: # Disable LOGIN command and all other plaintext authentications unless # SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP # matches the local IP (ie. you're connecting from the same computer), the # connection is considered secure and plaintext authentication is allowed. #disable_plaintext_auth = yes disable_plaintext_auth = no HTH, DR
On Sunday 10 May 2009 11:00:18 Baho Utot wrote:
Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text?
thanks
Baho, Here is a simple one I use (comments removed): 00:28 nirvana:~> nc /etc/dovecot/dovecot.conf protocols = imap imaps ssl_disable = no mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u protocol imap { mail_plugin_dir = /usr/lib64/dovecot/modules/imap } protocol pop3 { mail_plugin_dir = /usr/lib64/dovecot/modules/pop3 } protocol managesieve { sieve=~/.dovecot.sieve sieve_storage=~/sieve } protocol lda { postmaster_address = postmaster@example.com mail_plugin_dir = /usr/lib64/dovecot/modules/lda } auth default { mechanisms = plain passdb pam { } userdb passwd { } user = root } dict { } plugin { } -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
David C. Rankin, J.D.,P.E. wrote:
On Sunday 10 May 2009 11:00:18 Baho Utot wrote:
Anyone got a simple configuration file ( dovecot.conf ) that has simple auth login? like clear text?
thanks
Baho,
Here is a simple one I use (comments removed):
00:28 nirvana:~> nc /etc/dovecot/dovecot.conf protocols = imap imaps ssl_disable = no mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u protocol imap { mail_plugin_dir = /usr/lib64/dovecot/modules/imap }
protocol pop3 { mail_plugin_dir = /usr/lib64/dovecot/modules/pop3 } protocol managesieve { sieve=~/.dovecot.sieve sieve_storage=~/sieve } protocol lda { postmaster_address = postmaster@example.com mail_plugin_dir = /usr/lib64/dovecot/modules/lda } auth default { mechanisms = plain passdb pam { } userdb passwd { } user = root } dict { } plugin { }
OK thanks
participants (4)
-
Baho Utot
-
David C. Rankin, J.D.,P.E.
-
David Rosenstrauch
-
Shridhar Daithankar