I am using email forwarding in SOGo to distribute emails to a group of 30ish people. My test with 3 or 4 forwards works, but the larger groups do not send. I located the .dovecot.sieve.log, which told me there was a maximum of 4 forwards allowed. When I went to edit the dovecot.conf file, I see that i should not edit it! Where can i change this setting so i can forward to my 30 recipients through a single forward?
Thanks! this looks like exactly what I need to do. This is my first attempt at trying to migrate a client from SBS 2013 to Nethserver. In exchange we create distribution lists. You can email the distribution list name, and anyone in that list gets a copy of the email. I decided to use email forwards to accomplish the same thing via SOGo, but the distribution lists contain 20-30 emails each.
The dovecot.seive.log for the email address that serves as a distribution list says: “main script: line 5: error: number of redirect actions exceeds policy limit (5 >4).” I am interpreting this to mean that the system will not forward an email to more than 4 other email addresses.
Thank you for the help! I am loving working on Nethserver, it is extremely well done. but I have a steep learning curve. The goal was to create a way to allow end users (teachers at a k-5 school) to edit their own email list of parents. (in Exchange this is called a distribution list) I could not see a way for teachers to edit an alias every semester, so I decided that an email forward would be a method they could edit themselves. Is there a better way to accomplish this?
I tested email forwards with 3 email addresses in an account and all worked well. the full list does not send.
In this scenario I agree with your solution. To correctly put the sieve_max_redirects in dovecot configuration, follow the link provided by Stephane above:
I am not able to edit either /etc/e-smith/templates-custom/dovecot.conf or /etc/e-smith/templates/dovecot.conf?
I Am SSH 'd in as root, I see that the file dovecot.conf exists and I enter the following command: vi /etc/e-smith/templates-custom/dovecot.conf my fonts go from white to blue, and says I am creating a new file?
Thank you so much for your help. I want to make sure I understand what is happening here. This first line creates a directory called dovecot.conf. in the appropriate place. then the second line creates a file called 50example. then I add the following as the text in the file 50example
{
sieve_max_redirects = 55
}
:wq to save 50example
then run the commands to add this custom file to the dovecot template and restart dovecot?
I copied the dovecot.conf file from etc/dovecot into the created directory under custom templates, added my one line into the plugins section, then ran the expand template command. this generated a ton of errors. I am assuming that the errors mean it will NOT apply the changes to the conf file?
In viewing the errors, it looks like I somehow managed to get 2 /'s before the etc and that may be the source of the problem?
Ok, now I think I comprehend. all of the files in /etc/e-smith/templates/etc/dovecot/dovecot.conf/ create what would normally be in the dovecot.conf.
After a few hours of testing adding the appropriate settings with no luck, I think that using aliases it the pragmatic best solution.