Re: [Dovecot] PAM Authentication with OSX Snow Leopard

2009-08-29 Thread Nicola Tiling


I 've copied /etc/pam.d/ftpd to /etc/pam.d/dovecot. This configuration  
works for OSX 10.6 with user passdb



auth   required   pam_opendirectory.so
accountrequired   pam_permit.so
password   required   pam_deny.so
sessionrequired   pam_permit.so


Am 29.08.2009 um 01:11 schrieb Nicola Tiling:


Hi

Apple changed from Linux PAM to OpenPAM and the dovecot pam file  
(dovecot installed from macports) doesn't work anymore.


Installed pam modules are:

-r--r--r--1 root  wheel   76640 31 Jul 09:15 pam_env.so.2
-r--r--r--1 root  wheel   51024 31 Jul 09:15 pam_group.so.2
-r--r--r--1 root  wheel   99776 31 Jul 09:15 pam_krb5.so.2
-r--r--r--1 root  wheel   51552 31 Jul 09:15 pam_launchd.so.2
-r--r--r--1 root  wheel   68800 31 Jul 09:15 pam_mount.so.2
-r--r--r--1 root  wheel   50896 31 Jul 09:15 pam_nologin.so.2
-r--r--r--1 root  wheel   64272 31 Jul 09:15  
pam_opendirectory.so.2

-r--r--r--1 root  wheel   51008 31 Jul 09:15 pam_sacl.so.2
-r--r--r--1 root  wheel   50608 31 Jul 09:15 pam_self.so.2
-r--r--r--1 root  wheel   60448 31 Jul 09:15 pam_serialnumber.so.2
-r--r--r--1 root  wheel   50880 31 Jul 09:15 pam_uwtmp.so.2


Does anyone know to get dovecot with this modules work?

Nicola









[Dovecot] Lazy expunge? URGENT

2009-08-29 Thread Erik Janson
I have configured Dovecot namespace alike Courier has:

mail_location = maildir:~/.Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}

Question: How should I configure lazy expunge for it?

br,

erik



[Dovecot] IMAP Directory Issues (brand new install)

2009-08-29 Thread Jesse Vollmar
Hi,

I just installed dovecot 1.1.11 and am having some issues. Mail appears to
be delivered to the Maildirs just fine, but when a client (Thunderbird)
 tries to retrieve them I get this:

dovecot: IMAP(i...@aedisit.com): maildir_file_do(/var/mail/
 aedisit.com/info/cur/1251566335.V14I27a91M380600.kim): Filename keeps
 changing


After turning on mail debug mode, I get this:

Aug 29 13:41:48 kim dovecot: IMAP(vollm...@aedisit.com): maildir:
 data=/var/mail/
 aedisit.com/vollmarj:INDEX=/var/dovecot/indexes/aedisit.com/vollmarj

 Aug 29 13:41:48 kim dovecot: IMAP(vollm...@aedisit.com): maildir++:
 root=/var/mail/aedisit.com/vollmarj, index=/var/dovecot/indexes/
 aedisit.com/vollmarj, control=, inbox=/var/mail/aedisit.com/vollmarj


Here is my dovecot -n output:

# 1.1.11: /etc/dovecot/dovecot.conf

# OS: Linux 2.6.28-15-server x86_64 Ubuntu 9.04

log_timestamp: %Y-%m-%d %H:%M:%S

protocols: imap imaps pop3 pop3s

login_dir: /var/run/dovecot/login

login_executable(default): /usr/lib/dovecot/imap-login

login_executable(imap): /usr/lib/dovecot/imap-login

login_executable(pop3): /usr/lib/dovecot/pop3-login

mail_privileged_group: mail

mail_executable(default): /usr/lib/dovecot/imap

mail_executable(imap): /usr/lib/dovecot/imap

mail_executable(pop3): /usr/lib/dovecot/pop3

mail_plugin_dir(default): /usr/lib/dovecot/modules/imap

mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap

mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3

auth default:

  passdb:

driver: pam

  userdb:

driver: passwd


Re: [Dovecot] IMAP Directory Issues (brand new install)

2009-08-29 Thread Jesse Vollmar
Sorry, I forgot to specify the config file here is my real config:
# 1.1.11: /etc/dovecot/dovecot-postfix.conf
# OS: Linux 2.6.28-15-server x86_64 Ubuntu 9.04 cifs
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3 imaps pop3s managesieve
ssl_cert_file: /etc/ssl/certs/ssl-mail.pem
ssl_key_file: /etc/ssl/private/ssl-mail.key
ssl_cipher_list:
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_greeting_capability(managesieve): no
mail_max_userip_connections(default): 10
mail_max_userip_connections(imap): 10
mail_max_userip_connections(pop3): 3
mail_max_userip_connections(managesieve): 10
first_valid_uid: 5000
last_valid_uid: 5000
mail_privileged_group: vmail
mail_uid: 5000
mail_gid: 5000
mail_location: maildir:/var/mail/%d/%n:INDEX=/var/dovecot/indexes/%d/%n
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle delay-newmail
imap_client_workarounds(imap): outlook-idle delay-newmail
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
pop3_client_workarounds(managesieve):
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): ~/sieve
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): ~/.dovecot.sieve
auth default:
  mechanisms: plain login digest-md5
  user: nobody
  verbose: yes
  debug: yes
  debug_passwords: yes
  passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  userdb:
driver: passwd
  userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
  userdb:
driver: prefetch
  socket:
type: listen
client:
  path: /var/spool/postfix/private/dovecot-auth
  mode: 432
  user: postfix
  group: mail
master:
  path: /var/run/dovecot/auth-master
  mode: 432
  user: vmail
  group: mail


Re: [Dovecot] Lazy expunge? URGENT

2009-08-29 Thread Jase Thew

On 29/08/2009 16:02, Erik Janson wrote:

I have configured Dovecot namespace alike Courier has:

mail_location = maildir:~/.Maildir
namespace private {
separator = .
prefix = INBOX.
inbox = yes
}

Question: How should I configure lazy expunge for it?

br,

erik

   

http://wiki.dovecot.org/Plugins/Lazyexpunge

Regards,

Jase.


[Dovecot] Outlook 2007 w/SPA, Active Directory (was NTLM failures with an interesting twist)

2009-08-29 Thread Gavin Hamill
Has anyone successfully configured the above to enable Single Sign-On? I
would love to move away from Exchange but SSO is a corporate
requirement.

Outlook Express works fine with it, but not OL2007, and the latteris
the only client I can realistically use.

Cheers,
Gavin.




Re: [Dovecot] Outlook 2007 w/SPA, Active Directory (was NTLM failures with an interesting twist)

2009-08-29 Thread Jason Gunthorpe
On Sun, Aug 30, 2009 at 01:50:02AM +0100, Gavin Hamill wrote:
 Has anyone successfully configured the above to enable Single Sign-On? I
 would love to move away from Exchange but SSO is a corporate
 requirement.

I looked at this in some detail and concluded that the NTLM support on
Outlook 2007 was only for encryption, it was not using SPA. I couldn't
find a hidden registry setting or whatnot to switch it.

If you have a corporate support arrangement with MS, maybe ask them?
Many people would love an answer. Even a trace of outlook using SPA
with Exchange over IMAP would be interesting to see.

IMHO, clearly Dovecot is setup properly, Outlook Express works,
Thunderbird w/ SPA works, etc. I believe MS has deliberately decided
not to make SSO work in Outlook over IMAP specifically because that is
a must have feature for enterprises, so it only works over MAPI and
thus only with Exchange.

Jason