change dovecot mbox localtion
hi, i use: dovecot 1.2.7, sendmail and unbuntu to serve my mail service. recent my disk space is not enough, so i want to mange my mail in two ways: *1. change the mail location:* i use: mail_location = mbox:/var/mail:INBOX=/var/mail/%u when i changed it to mail_location = mbox:/home/mail:INBOX=/home/mail/%u but the mail still write to the old path *2. limit the mail file size* i want the mail file reduce when it reach to 100MB how can i config dovecot/sendmail to do in last 2 ways? thank you all:)
Dovecot virtual and SASL with Postfix
This is my first attempt to set up virtual users and sasl with Postfix. Can I use a regular password file in this format: user:{plain}password user2:{plain}password2 or do I need to use a different format? I have been trying to find an example of a virtual user SASL file, but without any luck. I suck at Googling too. All of the mail will be delivered to :/var/mail/vmail/domain/user -- Jerry
Re: Dovecot virtual and SASL with Postfix
Am 28.06.2014 14:19, schrieb Jerry: This is my first attempt to set up virtual users and sasl with Postfix. Can I use a regular password file in this format: user:{plain}password user2:{plain}password2 or do I need to use a different format? I have been trying to find an example of a virtual user SASL file, but without any luck. I suck at Googling too. All of the mail will be delivered to :/var/mail/vmail/domain/user http://wiki2.dovecot.org/AuthDatabase/PasswdFile Alexander
Re: Procmail to Sieve translation
Hi Gerhard, Am 28.06.2014 07:40, schrieb Gerhard Wiesinger: I'm trying to move from procmail to dovecot sieve. How does forwarding to another domain work at the deliver process? :copy seems not to be supported, right? http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Mail_filtering_by_various_headers if header :contains subject [order, buy] { redirect recipi...@example.org; } Dovecot/Pigeonhole simply uses the sendmail executable or SMTP to reinject the redirected/forwarded mail: See Dovecot Options * sendmail_path (to send mail via pipe) * submission_host (to send mail via smtp) Regards Daniel -- Dipl.-Inf. Daniel Parthey System Engineer Metaways Infosystems GmbH Pickhuben 2, D-20457 Hamburg E-Mail: d.part...@metaways.de Web:http://www.metaways.de Tel:+49 (0)40 317031-537 Fax:+49 (0)40 317031-937 Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel Handelsregister: Amtsgericht Lübeck HRB 4508 AH Geschäftsführung: Hermann Thaele, Lüder-H.Thaele
Re: Procmail to Sieve translation
Am 28.06.2014 07:40, schrieb Gerhard Wiesinger: :copy seems not to be supported, right? Copy is supported, you just need to require the extension in your SIEVE script like this: require [copy]; For a complete list of supported extensions please take a look at: http://wiki2.dovecot.org/Pigeonhole/Sieve Regards Daniel -- Dipl.-Inf. Daniel Parthey System Engineer Metaways Infosystems GmbH Pickhuben 2, D-20457 Hamburg E-Mail: d.part...@metaways.de Web:http://www.metaways.de Tel:+49 (0)40 317031-537 Fax:+49 (0)40 317031-937 Metaways Infosystems GmbH - Sitz: D-22967 Tremsbüttel Handelsregister: Amtsgericht Lübeck HRB 4508 AH Geschäftsführung: Hermann Thaele, Lüder-H.Thaele
Re: Dovecot virtual and SASL with Postfix
On Sat, 28 Jun 2014 14:30:31 +0200, Alexander Dalloz stated: Am 28.06.2014 14:19, schrieb Jerry: This is my first attempt to set up virtual users and sasl with Postfix. Can I use a regular password file in this format: user:{plain}password user2:{plain}password2 or do I need to use a different format? I have been trying to find an example of a virtual user SASL file, but without any luck. I suck at Googling too. All of the mail will be delivered to :/var/mail/vmail/domain/user http://wiki2.dovecot.org/AuthDatabase/PasswdFile Okay, bear with me now. I assume I should be using a file in this format: user:{plain}pass:1000:1000::/home/user::userdb_mail=maildir:~/Maildir user2:{plain}pass2:1001:1001::/home/user2 Since all of the mail is going to be delivered as I showed above, how do I configure the line? user:{PLAIN}secret:1002:1002:userdb_mail=maildir:/var/mail/vmail/%d/%u The virtual user vmail is 1002:1002 on my system. -- Jerry
Re: Procmail to Sieve translation
On 28.06.2014 14:33, Daniel Parthey wrote: Hi Gerhard, Am 28.06.2014 07:40, schrieb Gerhard Wiesinger: I'm trying to move from procmail to dovecot sieve. How does forwarding to another domain work at the deliver process? :copy seems not to be supported, right? http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples#Mail_filtering_by_various_headers if header :contains subject [order, buy] { redirect recipi...@example.org; } Dovecot/Pigeonhole simply uses the sendmail executable or SMTP to reinject the redirected/forwarded mail: See Dovecot Options * sendmail_path (to send mail via pipe) * submission_host (to send mail via smtp) Thank you. As I'm new to sieve can someone verify the example translations? * ^From:.*myem...@mydomain.com.* | formail -IX-Priority: 2 (high) -IX-mydomain-com-seen: yes | $SENDMAIL -oi \ myem...@mydomain2.com \ myem...@mydomain3.com # http://www.emaildiscussions.com/showthread.php?t=57138 # http://tools.ietf.org/html/rfc5293 if header :contains [from] [myem...@mydomain.com] { addheader X-Priority 2 (high); addheader X-mydomain-com-seen yes; redirect :copy myem...@mydomain2.com; redirect myem...@mydomain3.com; } :0c * ^From:.*myem...@mydomain.com.* ! +1123456...@mysmsprovider.com if header :contains [from] [myem...@mydomain.com] { redirect +1123456...@mysmsprovider.com; } :0c * ^(To|Cc|Bcc):.*myem...@mydomain.com.* ! myem...@mydomain2.com myem...@mydomain3.com if envelope :detail :contains [to, cc, bcc] myem...@mydomain.com { redirect :copy myem...@mydomain2.com; redirect myem...@mydomain3.com; } Thank you. Ciao, Gerhard -- http://www.wiesinger.com/
postfix alias and dovecot quota
Hello, Can someone tell me if it’s possible to configure dovecot to answer quota information about real mailbox when I query a postfix alias mailbox (this information is actually in a mysql database) ? Example : doveadm quota get - u al...@domain.com doveadm(al...@domain.com): Fatal: User doesn't exist doveadm quota get - u realmail...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 I’d like to have this result : doveadm quota get - u al...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 doveadm quota get - u realmail...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 Thanks for your help. Alexandre.
Any issues with dsync between 2.1.7 and 2.2.9 ?
My current production system is running dovecot 2.1.7-7ubuntu1 on Ubuntu 13.04, and I'm building a new setup based on Ubuntu 14.04 with dovecot 2.2.9-1ubuntu2.1 - current standard in the repos. I'd like to use replication to get the mailstore from the old system to the new. Are there any caveats or gotchas to be aware of ? Is it possible to make it a one-way replication ? So problems or glitches on the new setup don't propagate to the old production ? Thanks - D.
Re: postfix alias and dovecot quota
it is the job of postfix to do this, aliases are just that, aliases of the real mail account, they do not exist in real storage, else, they would not be aliaes. On 6/29/14, Alexandre Ellert aell...@numeezy.com wrote: Hello, Can someone tell me if it's possible to configure dovecot to answer quota information about real mailbox when I query a postfix alias mailbox (this information is actually in a mysql database) ? Example : doveadm quota get - u al...@domain.com doveadm(al...@domain.com): Fatal: User doesn't exist doveadm quota get - u realmail...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 I'd like to have this result : doveadm quota get - u al...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 doveadm quota get - u realmail...@domain.com Quota name Type Value Limit % user STORAGE 2048853 2048000 100 user MESSAGE6783 - 0 Thanks for your help. Alexandre.
Dovecot and remote SASL Client via TLS
Hello, Is it possible to configure Dovecot as SASL client for central authentication (also remotely via TCP/TLS)? Following use case: IMAP server (host 1) = Windows Domain Controller and /etc/shadow authenticator via pam (host2) Should work as: IMAP server (host 1) = SASL Client via TLS = Network = SASL Server via TLS = Local SASL via pam = Windows Domain Controller and /etc/shadow authenticator via pam (host2) Thank you. Ciao, Gerhard -- http://www.wiesinger.com/