Page 2 of 4 FirstFirst 1234 LastLast
Results 21 to 40 of 71

Thread: [How-To] Exim + Dovecot + Sieve + Roundcube + ManageSieve

  1. #21
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Thanks for your reply. Our TOS makes our site backup policy very clear. Unfortunately most people don't consider email to be part of their site. I'm working on making our TOS more clear now.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  2. #22
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    Quote Originally Posted by zEitEr View Post
    port = 4190
    I've decided to do an install today as I'vd switched my own email store to imap.

    Is there a reason you haven't stuck with the default of port 2000 ?

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  3. #23
    Join Date
    Oct 2003
    Location
    Switzerland
    Posts
    2,097
    Quote Originally Posted by NoBaloney2 View Post
    ...
    Is there a reason you haven't stuck with the default of port 2000 ?
    Jeff
    4190 is the official, IANA assigned port.
    Olivier
    interfaCentre - We design custom hosting solutions

    Custom apps, scripts and configurations for easy and secure access to all hosting services
    Full Personal Information Management suite with mobile synchronisation
    PHP, Ruby, Node.js and Python hosting with 1-click app install

  4. #24
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    Thanks. I just noticed that, but I also notice that both sieve and my kmail client use port 2000, so at least for the moment I'll stick with port 2000.

    Another thing: even though I know it's not required, after creating config.inc.php I chowned it to webapps:webapps, since all other files in the three are so owned.

    Moving along; will report when it works with both roundcube and with kmail.

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  5. #25
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    Roundcube can connect to the sieve. Moving but with one more question: is it required to use dovecot deliver for sieve to work?

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  6. #26
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    Created a filter per your example, but it didn't filter incoming email. So I'm going to try dovecot deliver to see if that makes things work.

    Moving forward.

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  7. #27
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    I set up Dovecot Deliver and yes it works. I opened up port 2000 in my firewall, and yes it works from my local kmail client as well, but I'm probably going to disable it in kmail, and manage it completely from Roundcube, since Roundcube's interface is GUI driven, and kmail's interface is via programming; too easy to make mistakes, so I'll simply log into Roundcube to maintain the filters.

    The only issue left for me is procedural: in the past I've had multiple email addresses and I've read them all using pop3, and further sorted using local filters. Now, to make it easier with sieve, I think I can use forwarders for everything except one main mailbox, then use forwarders for the other addresses. And use sieve to filter the emails directly into the folders in which I'd like to put them.

    Thanks for a great addition to DirectAdmin!

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  8. #28
    Join Date
    Jun 2007
    Location
    California
    Posts
    498

    Bad News

    Bad News. I've had to back off the changes to exim.conf (which of course means the Sieve doesn't work any longer).

    Problem appears to be that email gets queued rather than delivered for all users who don't have a sieve filter in place. Broke email delivery for all except me on the server hosting my email.

    Here's an example of the error code as shown in the log (email address munged for security):
    Code:
    2012-07-07 08:14:36 1SnWiS-0003GR-Hd failed to read delivery status for user@example.com from delivery subprocess
    Replacing the exim.conf file with the original solves the problem but breaks the sieve filters.

    Have you seen this problem? Any ideas as to a workaround? Perhaps a way to install a simple do-nothing sieve rule for every existing. Otherwise I'll move my own email to a vps because I want sieve to work.

    Or am I overlooking something?

    Thanks.

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  9. #29
    Join Date
    Jun 2008
    Posts
    124
    Quote Originally Posted by NoBaloney2 View Post
    Perhaps a way to install a simple do-nothing sieve rule for every existing.
    If i'm not wrong to understand this question.

    This is How to create default empty sieve rule
    # mkdir /var/lib/dovecot/sieve/
    # touch /var/lib/dovecot/sieve/default.sieve
    # sievec /var/lib/dovecot/sieve/default.sieve
    # chown mail:mail /var/lib/dovecot/sieve/* -R
    in dovecot.conf
    plugin {
    sieve = ~/.dovecot.sieve
    sieve_global_path = /var/lib/dovecot/sieve/default.sieve
    sieve_dir = ~/sieve
    sieve_global_dir = /var/lib/dovecot/sieve/global/
    # quota = maildir
    }
    all user without sieve rules will also receive email as usual

    reference : http://wiki.dovecot.org/LDA/Sieve/Dovecot

    update
    i commented quota = maildir that line just need if you want to display quota in rouncube and also i forgot last time when i setup that but maybe i get information from this thread http://www.directadmin.com/forum/sho...t=34464&page=1
    Last edited by defomaz; 07-11-2012 at 04:38 AM. Reason: commented quota = maildir

  10. #30
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    That's strange, im not facing that kind of problem.

    Jeff, want me to send you my exim.conf version?

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  11. #31
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Quote Originally Posted by defomaz View Post
    This is How to create default empty sieve rule
    Thanks, hopefully this is the missing piece for me. Will this work for all uses, both current and those added later? It looks as if it will, but if you know with certainty, I'd like to know that.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  12. #32
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Quote Originally Posted by SeLLeRoNe View Post
    That's strange, im not facing that kind of problem.

    Jeff, want me to send you my exim.conf version?
    Certainly Andrea; I trust and appreciate your work .

    I didn't even know I had a problem until clients started calling me. I've been in the midst of building out a new CentOS6 box to host just my email until I'm finished testing, but I'm having problems with it, including getting RoundCube to work (already posted); now I should be able to keep email on the shared server.

    Have you tried using Sieve to do forwarding to a different domain? It appears to be available, but I'm not sure if I'd want to use it.

    Thanks!

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  13. #33
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    Nope, never tryed to forward email, just done some test with rules, but, users (or email i did not log into roundcube) had no issue with it.

    Thats why sound strange to me actually and maybe you did edit exim.conf on wrong part (ok that sound not possible cause of you, but, murphy teach)

    I did sent you the email with my exim.conf version (sb 4.1) working with sieve (well actualy i should had edit it on wrong part aswell and thats why im not facing issue).

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  14. #34
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    I'll do a diff on mine vs yours and attempt to understand all the differences. And if I can I'll actually try with yours (in other words if it doesn't need too many changes; I use a testing version of exim.conf, ahead of my last published version.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  15. #35
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    Okay, should i ask you for a report of diff? Just in case there are some case you think i need to improove/change for better performance/security/other

    Thanks
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  16. #36
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Of course, butmost everything new in my test version is documented only with cryptic notes referring back to my extensive development notes, which I do not feel comfortable in releasing at this point.

    The documentation will come only when the next version comes out from me.

    I'm hoping it can be a version which will seamlessly integrate into DirectAdmin and staff can make it available from their site as official.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  17. #37
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    I see, thot was the v4.1 not the newest one not yet released

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  18. #38
    Join Date
    Jun 2008
    Posts
    124
    Quote Originally Posted by nobaloney View Post
    Thanks, hopefully this is the missing piece for me. Will this work for all uses, both current and those added later? It looks as if it will, but if you know with certainty, I'd like to know that.

    Jeff
    Yes, it works for current users and new users

  19. #39
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    Quote Originally Posted by defomaz View Post
    If i'm not wrong to understand this question.

    This is How to create default empty sieve rule


    in dovecot.conf


    all user without sieve rules will also receive email as usual

    reference : http://wiki.dovecot.org/LDA/Sieve/Dovecot
    Thanks for your input.
    I've got one question. Why do we might need to have
    Code:
    quota = maildir
    there? I did not find mention of it on the page to which you gave the link, and even here http://wiki2.dovecot.org/Quota I did not find anything of the kind either.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  20. #40
    Join Date
    Jun 2008
    Posts
    124
    Quote Originally Posted by zEitEr View Post
    Thanks for your input.
    I've got one question. Why do we might need to have
    Code:
    quota = maildir
    there? I did not find mention of it on the page to which you gave the link, and even here http://wiki2.dovecot.org/Quota I did not find anything of the kind either.
    Thats for displaying email quota in roundcube so user can fast know when their email quota near reach the limit without check with login in directadmin.
    Last edited by defomaz; 07-11-2012 at 03:59 AM.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Sieve filter not filtering
    By velda.ebel in forum Off-Topic Discussion
    Replies: 3
    Last Post: 10-11-2012, 08:46 AM
  2. Dovecot, RoundCube and Quota display?
    By Bschneider in forum E-Mail
    Replies: 19
    Last Post: 06-04-2012, 03:52 PM
  3. FR: ManageSieve server
    By interfasys in forum Feedback & Feature Requests
    Replies: 15
    Last Post: 03-29-2012, 10:00 AM
  4. Sieve on Direct Admin with Dovecot
    By scotts in forum E-Mail
    Replies: 14
    Last Post: 05-25-2009, 10:44 AM
  5. Replies: 17
    Last Post: 12-14-2008, 09:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •