special_use folders
My setup is postfix mail gateway/spamassassin on one machine and dovecot mail box server on another machine. Will the following configuration work? 1. On the mail gateway, I install dovecot-lmtp and use it to deliver locally spam. 2. On the mailbox server, I configure special use junk folder to point mail gateway's spam folder via nfs. If this is correct, how can I configure special use folder to point to a path (variable based on email) which is different from default path? If there is a different way to handle this, I would interested. Thanks in advance
[Dovecot] POP3 and mail retention
Using outlook 2010 as mail client, I have noticed that once an email is moved from inbox, it is deleted from the cur/ directory on the server. Is there a pop3 setting on dovecot that would keep emails, with possible retention period, and recognize that this email has been moved from inbox, etc.. If all of this is doable, would setting outlook to delete the email after 14 days work? delete email from the server when emptying deleted folder? Thanks in advance
[Dovecot] Master user ldap config
I am using outlook 2010 to login to pop3 mailbox as master user. The user name I provide is j...@domain.tld*t...@domain.tld. The password is that of t...@domain.tld. I am not quite sure as to how to specify ACL. I guessed the ACL specs as per ldap config, below. But it is not working. The master password is stored in master-users file. The ldap config is # debug_level = 9 hosts = 192.168.0.22:389 ldap_version= 3 auth_bind = yes dn = dlookup@domain.local dnpass = password base= OU=Test Users,DC=domain,DC=local scope = subtree deref = never user_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_attrs= uid=user, userPassword=password, =proxy=y, =destuser=%u*masteruser, =pass=mastpass default_pass_scheme = CRYPT user_attrs = =uid=999,=gid=8,=home=/vmail/%Ld/%Ln/home/,=mail=maildir:/vmail/%Ld/%Ln/Maildir/ The dovecot.conf is auth_mechanisms = plain login disable_plaintext_auth = no base_dir = /var/run/dovecot/ log_path = /var/log/dovecot.log info_log_path = /var/log/dovecot.info.log mail_debug = no auth_debug = no auth_verbose = no auth_debug_passwords = no first_valid_gid = 8 instance_name = test last_valid_gid = 8 log_timestamp = %Y-%m-%d %H:%M:%S mail_location = maildir:~/Maildir mail_privileged_group = mail passdb { args = /etc/dovecot/conf.d/users.conf driver = passwd-file } passdb { args = /etc/dovecot/dovecot-ldap-test.conf driver = ldap } auth_master_user_separator = * passdb { driver = passwd-file args = /etc/dovecot/master-users master = yes pass = yes } service auth { inet_listener { port = 10305 } unix_listener auth-master { group = mail mode = 0600 user = mail } } userdb { args = /etc/dovecot/conf.d/users.conf driver = passwd-file } userdb { args = /etc/dovecot/master-users driver = passwd-file } userdb { args = /etc/dovecot/dovecot-ldap-test.conf driver = ldap } protocol lmtp { postmaster_address = postmas...@domain.tld mail_plugins = sieve } protocol lda { postmaster_address = postmas...@domain.tld hostname = server.domain.tld # Sieve plugin for local delivery agent mail_plugins = cmusieve log_path = /var/log/dovecot-local-deliver.log }
[Dovecot] Maildir format
I see where the mail box meta data is kept. But don't the actual emails. I was under the impression the impression the email was kept, on the server, as .eml. Thanks in advance
[Dovecot] Mailbox Viewer
Is web or windows client which allows for viewing contents of all mailboxes without having to login with their id? Thanks in advance
Re: [Dovecot] Maildir format
I am not sure where I went wrong here. The wiki says... By default Dovecot uses Maildir++ directory layout for organizing mailbox directories. This means that all the folders are directly inside ~/Maildir directory: ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the messages for INBOX. The tmp directory is used during delivery, new messages arrive in new and read shall be moved to cur by the clients. ~/Maildir/.folder/ is a mailbox folder ~/Maildir/.folder.subfolder/ is a subfolder of a folder (ie. folder/subfolder) You can also optionally use the fs layout by appending :LAYOUT=fs to mail_location. This makes the folder structure look like: ~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the messages for INBOX, just like with Maildir++. ~/Maildir/folder/ is a mailbox folder ~/Maildir/folder/subfolder/ is a subfolder of a folder Here is my folders. Though there are emails in the inbox, I am not seeing anything in new/ or cur/ folders. root@mbx:/etc/dovecot# ls -la /vmail/domain.tld/j.doe/Maildir/ drwx-- 5 999 mail 4096 Feb 14 10:06 . drwx-- 3 999 mail 4096 Feb 12 19:53 .. drwx-- 2 999 mail 4096 Feb 14 10:02 cur -rw--- 1 999 mail 17408 Feb 14 10:02 dovecot.index.cache -rw--- 1 999 mail 2896 Feb 14 10:06 dovecot.index.log -rw--- 1 999 mail51 Feb 14 10:06 dovecot-uidlist -rw--- 1 999 mail 8 Feb 12 19:53 dovecot-uidvalidity -r--r--r-- 1 999 mail 0 Feb 12 19:53 dovecot-uidvalidity.52fc176c drwx-- 2 999 mail 4096 Feb 14 10:02 new drwx-- 2 999 mail 4096 Feb 14 09:59 tmp root@mbx:/etc/dovecot# ls -la /vmail/domain.tld/j.joe/Maildir/new total 8 drwx-- 2 999 mail 4096 Feb 14 10:02 . drwx-- 5 999 mail 4096 Feb 14 10:06 .. root@mbx:/etc/dovecot# ls -la /vmail/domain.tld/j.joe/Maildir/cur total 8 drwx-- 2 999 mail 4096 Feb 14 10:02 . drwx-- 5 999 mail 4096 Feb 14 10:06 .. On Fri, Feb 14, 2014 at 9:41 AM, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 14 Feb 2014, Roman Gelfand wrote: I see where the mail box meta data is kept. But don't the actual emails. I was under the impression the impression the email was kept, on the server, as .eml. http://wiki2.dovecot.org/MailboxFormat/Maildir - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv4rNnD1/YhP6VMHAQJzRAgA0yz7cZ0tFAgzluubKN7jK0ha3bOXcd5A ue2aOVWfVz52eHUjgBDY5E4/s37WWe022WKNS1LAEcwbTC/xo7VdGYA472oQdxMm QWfOvEPdxF8nSY4GIeAe5YiYyszXhQE4i6bC/ouBh0v0OKu6T6VIdd9YYowMW43r fmpg23xHV/MY7Tk36ac41fZhDYvg0u0uMr7mJyKkf17kuRIBZ0G34AVBodbWml0/ MN9oLSfIsriOq5zqZw5gkSg1GMsCHneNreKnRcnW5iVGXyYWWu9FoEUwTxUcrf9I vJI7JA+ut38YN8iO7pFzOvoJ0z4UPeIckp9/7zs8lkjjh5orhQAVcA== =9fx8 -END PGP SIGNATURE-
[Dovecot] LDAP Integration
My ldap config. Would this store incoming email in maildir format? If so, can it be overriden? If so, where (possible place)? hosts = 192.168.0.12:389 ldap_version= 3 auth_bind = yes dn = llookup@domain.local dnpass = password base= OU=People,DC=domain,DC=local scope = subtree deref = never user_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_attrs = userPassword=password default_pass_scheme = CRYPT user_attrs = =uid=999,=gid=8,=home=/vmail/%Ld/%Ln/Maildir/,=mail=maildir:/vmail/%Ld/%Ln/Maildir/
Re: [Dovecot] LDAP Integration
I think I got the answer to this from previous post. I needed to be master user to see their email. On Fri, Feb 14, 2014 at 11:09 AM, Roman Gelfand rgelfa...@gmail.com wrote: My ldap config. Would this store incoming email in maildir format? If so, can it be overriden? If so, where (possible place)? hosts = 192.168.0.12:389 ldap_version= 3 auth_bind = yes dn = llookup@domain.local dnpass = password base= OU=People,DC=domain,DC=local scope = subtree deref = never user_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_filter = ((Mail=%u)(objectClass=person)(!(userAccountControl=514))) pass_attrs = userPassword=password default_pass_scheme = CRYPT user_attrs = =uid=999,=gid=8,=home=/vmail/%Ld/%Ln/Maildir/,=mail=maildir:/vmail/%Ld/%Ln/Maildir/
Re: [Dovecot] LDAP Integration
Would there be any adverse side effects if I change, just this config item, now as I have 20 users created and receiving already? On Fri, Feb 14, 2014 at 11:32 AM, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 14 Feb 2014, Roman Gelfand wrote: user_attrs = =uid=999,=gid=8,=home=/vmail/%Ld/%Ln/Maildir/,=mail=maildir:/vmail/%Ld/%Ln/Maildir/ Never use the Maildir directory as home, use =home=/vmail/%Ld/%Ln/ or =home=/vmail/%Ld/%Ln/home/ or something like that - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUv5FEHD1/YhP6VMHAQJNLQf/SrxflCu+82HjyqSo17CiKNxdahFSIq1V BZ0AUqs3x9FZEAU/9hRj/090q82jxNkdPRiAUmj0i4UZR7wznBmeNEjxDbYeKGrs UtOd8AhmlBAWoaTnpcIJd7Bnn5v/mJd+JN8AldidUnOJK4nqMxT22whOcYC6mFQY IfLUp16hrg3LjqOmq/Yo7rtLZYkQkBLEbRkiNHjMWO99C/5kXQyvb599e6Fxl8nQ htOIa5Jj9uS+CX2fk4ojrm84K6y14cifdfyxM6AtTqBUSHSyb5tLLeKLkw48ED9f ksebXbT6sO7qBM78sHsKbGFHVeK7gUQf0T+e4apz9TmwbH1mMJvniw== =Q3KB -END PGP SIGNATURE-
[Dovecot] Storage Quotas
My dovecot server storage scheme is Maildir. Is there no default mail box size quota? If yes, where do you set it? Thanks in advance
[Dovecot] Mailbox storage maintenance tools
My storage scheme is Maildir. Could someone point me to tools for maintaining or identifying problems problems with mail store. Also, description of common problems and how to resolve/prevent them. Thanks in advance
[Dovecot] Mail location security
I am not sure I understood this issue correctly... When using maildir with ie ldap. Suppose ldap attribute settings say gid 8 and uid 999, Those are the permissions for every email address. If so, someone who has access to one email user on the server, has access to all. If this is so, is using mailbox instead of maildir resolve this problem? Thanks in advance
[Dovecot] Sieve Filter based on Email Body
Is it possible to file emails based on the contents of email body? If yes, can you point me to an example. Thanks in advance