[Dovecot] using dovecot in Asterisk imap storage
Hello,
I am trying to use postfix/dovecot as mail server to be the imap storage for my voicemail system.For that I installed postfix and dovecot and trying to follow the instructions in this post http://etel.wiki.oreilly.com/wiki/index.php?title=Storing_Voicemail_on_an_IMAP_server&printable=yes
I should add a master user for Asterisk to your IMAP server that has access to all user's mailboxes and as per the instructions, I should edit auth section in dovecot.conf which I can't find! Is there something wrong or should I add this section by myselfAlso I don't have dovecot.masterusers, should I create it?
$/etc/dovecot$ /usr/sbin/dovecot -n# 2.0.19: /etc/dovecot/dovecot.conf# OS: Linux 3.2.0-31-virtual x86_64 Ubuntu 12.04.3 LTS mail_location = maildir:~/Maildirmanagesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihavepassdb { driver = pam}plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve}protocols = imap pop3 sieveservice auth { unix_listener /var/spool/postfix/private/dovecot-auth { group = postfix mode = 0660 user = postfix }}ssl_cert = </etc/ssl/certs/dovecot.pemssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUMssl_key = </etc/ssl/private/dovecot.pemuserdb { driver = passwd}protocol imap { imap_client_workarounds = delay-newmail mail_max_userip_connections = 10}protocol pop3 { mail_max_userip_connections = 10 pop3_client_workarounds = outlook-no-nuls oe-ns-eoh}protocol lda { deliver_log_format = msgid=%m: %$ mail_plugins = sieve postmaster_address = postmaster quota_full_tempfail = yes rejection_reason = Your message to <%t> was automatically rejected:%n%r}
Thanks.
--
Computerisms
Bob Miller
867-334-7117 / 867-633-3760
http://computerisms.ca
On Tue, 2013-10-22 at 02:47 +0200, Asmaa Ahmed wrote:
Hello, I am trying to use postfix/dovecot as mail server to be the imap storage for my voicemail system.For that I installed postfix and dovecot and trying to follow the instructions in this post http://etel.wiki.oreilly.com/wiki/index.php?title=Storing_Voicemail_on_an_IMAP_server&printable=yes
ugh. it's hard to read your mail, some line breaks or new paragraphs would be useful.
I have yet to find one wiki that answers all questions. Expand your horizon:
http://wiki2.dovecot.org/Authentication/MasterUsers
FWIW, if you are using a recent version of freepbx you can configure imap storage in there on a per-user/extension basis, so you don't need to set up the masteruser...
Hello,Thanks for the link, I know how I can configure it from the wiki.. My question is can I add this section completely by myself?I can't find this section at all in dovecot.conf to modify it, and dovecot.masterusers file doesn't exist too in etc configuration files, should I create it too?because I couldn't find the section even commented gave me a doubt if it is the correct way to do it for this version, so I am posting here if someone can confirm this!Thanks.
From: bob@computerisms.ca To: dovecot@dovecot.org Date: Mon, 21 Oct 2013 19:05:19 -0700 Subject: Re: [Dovecot] using dovecot in Asterisk imap storage
-- Computerisms Bob Miller
867-334-7117 / 867-633-3760 http://computerisms.caOn Tue, 2013-10-22 at 02:47 +0200, Asmaa Ahmed wrote:
Hello, I am trying to use postfix/dovecot as mail server to be the imap storage for my voicemail system.For that I installed postfix and dovecot and trying to follow the instructions in this post http://etel.wiki.oreilly.com/wiki/index.php?title=Storing_Voicemail_on_an_IMAP_server&printable=yes
ugh. it's hard to read your mail, some line breaks or new paragraphs would be useful.
I have yet to find one wiki that answers all questions. Expand your horizon:
http://wiki2.dovecot.org/Authentication/MasterUsers
FWIW, if you are using a recent version of freepbx you can configure imap storage in there on a per-user/extension basis, so you don't need to set up the masteruser...
When I tried to add this section, I got this error at restarting dovecot $ /usr/sbin/dovecot restartdoveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.confdoveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:77: add auth_ prefix to all settings inside auth {} and remove the auth {} section completelydoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 78: Expecting '='
From: asabatgirl@hotmail.com To: dovecot@dovecot.org Date: Tue, 22 Oct 2013 15:25:34 +0200 Subject: Re: [Dovecot] using dovecot in Asterisk imap storage
Hello,Thanks for the link, I know how I can configure it from the wiki.. My question is can I add this section completely by myself?I can't find this section at all in dovecot.conf to modify it, and dovecot.masterusers file doesn't exist too in etc configuration files, should I create it too?because I couldn't find the section even commented gave me a doubt if it is the correct way to do it for this version, so I am posting here if someone can confirm this! Thanks.
From: bob@computerisms.ca To: dovecot@dovecot.org Date: Mon, 21 Oct 2013 19:05:19 -0700 Subject: Re: [Dovecot] using dovecot in Asterisk imap storage
-- Computerisms Bob Miller
867-334-7117 / 867-633-3760 http://computerisms.caOn Tue, 2013-10-22 at 02:47 +0200, Asmaa Ahmed wrote:
Hello, I am trying to use postfix/dovecot as mail server to be the imap storage for my voicemail system.For that I installed postfix and dovecot and trying to follow the instructions in this post http://etel.wiki.oreilly.com/wiki/index.php?title=Storing_Voicemail_on_an_IMAP_server&printable=yes
ugh. it's hard to read your mail, some line breaks or new paragraphs would be useful.
I have yet to find one wiki that answers all questions. Expand your horizon:
http://wiki2.dovecot.org/Authentication/MasterUsers
FWIW, if you are using a recent version of freepbx you can configure imap storage in there on a per-user/extension basis, so you don't need to set up the masteruser...
When I tried to add this section, I got this error at restarting dovecot $ /usr/sbin/dovecot restartdoveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.confdoveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:77: add auth_ prefix to all settings inside auth {} and remove the auth {} section completelydoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 78: Expecting '='
participants (2)
-
Asmaa Ahmed
-
Bob Miller