Thanks......
On Fri, 31 May 2013, dovecot-request@dovecot.org wrote:
Send dovecot mailing list submissions to dovecot@dovecot.org
To subscribe or unsubscribe via the World Wide Web, visit http://dovecot.org/cgi-bin/mailman/listinfo/dovecot or, via email, send a message with subject or body 'help' to dovecot-request@dovecot.org
You can reach the person managing the list at dovecot-owner@dovecot.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of dovecot digest..."
Today's Topics:
- Re: IMAP QUOTA (Steffen)
- Settings: Dovecot + NTLM + Single Sing On + Windows + Outlook or Thunderbird. (Maria Jose Ya?ez Dacosta)
- Re: Settings: Dovecot + NTLM + Single Sing On + Windows + Outlook or Thunderbird. (Charles Marcus)
- Re: IMAP QUOTA (Timo Sirainen)
- Re: Settings: Dovecot + NTLM + Single Sing On + Windows + Outlook or Thunderbird. (Maria Jose Ya?ez Dacosta)
- Re: Dovecot mysql replication (Robert Schetterer)
- Re: Dovecot mysql replication (Noel Butler)
- Re: Dovecot mysql replication (Noel Butler)
Message: 1 Date: Thu, 30 May 2013 17:09:27 +0200 From: Steffen skdovecot@smail.inf.fh-brs.de To: Dovecot Mailing List dovecot@dovecot.org Subject: Re: [Dovecot] IMAP QUOTA Message-ID: 51A76BA7.8040501@smail.inf.fh-brs.de Content-Type: text/plain; charset=ISO-8859-1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Arun Gupta wrote:
I read about Snarf plugin, it works if the mail already in spool area, but I want to know whether it is possible if users quota exceeded then instead of mail rejected it should delived to user spool area or somewhere else.
I understand and you should consider Charles' advice :-)
This is something your MDA should do. Neither the Dovecot LMTP server nor the current Dovecot deliver can do so. But deliver is rather small, so you could hack it in.
Or use Dovecot deliver in combination with Snarf and a MDA wrapper, e.g.:
The wrapper script first checks, if the recipient is over quota, in that case use another maildrop programm, such as procmail, that delivers the message to a spool area; otherwise call Dovecot deliver with the usual arguments. Or if you call Dovecot deliver and it exits with exit code 69 (Tempfailure), call that other MDA.
Then let Snarf pull the messages into the INBOX next time.
Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEVAwUBUadrp13r2wJMiz2NAQIpiAf+JSeuZns89NoJV5aW2Li4myLp209HycHt j3varTiBYgekw1vMAhDXYH/RKnMwWlOFSe15YIMTcCIY8gjTIqCx6YA/W1cJVZL+ 3zRVA/75t3CsAFx70/+fecrZJnY6u0Ok7VUXJ4DAxdJgsOyqXZy9/6bt+t43TcaT pUlug3nAmIP9GwZ2GQFGkEFxfD74EPVRVg8opAZzTaSPuv/IfKsC8f4RA64JtQ2S EACc/nEC4xVmjDAz/9cpLLsWiLlYfy/cEDIw49XA2MrQsIIS7qkHcDLawuqsVsAk HHXX/iqmcRBtznpO94XS9SCtvUa/5fDkVYv56uuDazEHpy4urBrtyA== =Qo2f -----END PGP SIGNATURE-----
Message: 2 Date: Thu, 30 May 2013 12:34:24 -0300 From: Maria Jose Ya?ez Dacosta mariajose1982@gmail.com To: dovecot@dovecot.org Subject: [Dovecot] Settings: Dovecot + NTLM + Single Sing On + Windows
- Outlook or Thunderbird. Message-ID: CAHQv7acLG6X23w3vxhUtdR2RkSBAXhMHM+uSi9zASbUjtfstXA@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
I am following the steps listed in: http://wiki.dovecot.org/HowTo/ActiveDirectoryNtlm
My goal is to have single sign-on for Microsoft Outlook applications.
I working and I have some doubts since I never set up an imap server, hope I can help :).
The version that I have installed is devecot 2.0.9.
"dovecot -n" shows the following:
# 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-71.el6.x86_64 x86_64 CentOS release 6.4 (Final) auth_use_winbind = yes mbox_write_locks = fcntl passdb { driver = pam } protocols = imap pop3 ssl = no userdb { args = uid=10000 gid=10000 home=/mail/%d/%n driver = static }
I show what I have in /etc/samba/smb.conf
[global] workgroup = EJEMPLO realm = EJEMPLO.COM.UY server string = %h (Samba %v) security = ADS password server = ad.domain.dom username map = /etc/samba/mapeousuarios map untrusted to domain = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 name resolve order = wins host bcast local master = No domain master = No dns proxy = No wins server = here active directory ip panic action = /usr/share/samba/panic-action %d winbind separator = + winbind use default domain = Yes winbind rpc only = Yes idmap config * : range = 1200-3000 idmap config * : backend = tdb
[usuarios3] path = /exports/archivos-usuarios read only = No map acl inherit = Yes store dos attributes = Yes
"wbinfo -g" and "wbinfo -u" work well.
kinit Administrator work well also.
Some steps of the configuration in dovecot.conf does not recognize:
1) "protocols = imap imaps pop3 pop3s". 2) "mechanisms = plain ntlm login". 3) "allow_all_users=yes" y
"mail=maildir:/home/vmail/%d/%1Ln/%Ln:INBOX=/home/vmail/%d/%1Ln/%Ln".
I'm not sure I should put in place.
I also have some doubts:
1) I have to create a keytab file containing the principal for
imap and pop?, as it would indicate Dovecot?.
2) That should indicate values uid y el gid? 3) I have to set something in pam?
if I make "telnet localhost imap" shows the following:
OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready
NTLM not appears in the options.
I hope I can shed some light on the subject :) Thanks and greetings.
--
Regards,
Arun Kumar Gupta Mail Administrator National PARAM Supercomputing Facility (NPSF) Centre for Development of Advanced Computing Ganeshkhind Road Pune University Campus PUNE-Maharastra Phone : +91-20-25704347 WEB : http://www.cdac.in/