Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: Marcus on February 20, 2011, 04:58:08 pm
-
Hello,
I faced a problem few weeks ago. I wasn't able to send out using an alias email with the Zarafa WebAccess.
I finally found out that it was a default spooler configuration that was blocking everything.
This is how I worked around my problem.
In a terminal as root user
Zentyal 2.0
# cd / && find . -name 'spooler.cf*' | xargs perl -pi -e 's/always_send_delegates = no/always_send_delegates = yes/g' && find . -name 'spooler.cf*' | xargs perl -pi -e 's/allow_redirect_spoofing = no/allow_redirect_spoofing = yes/g' && mkdir -p /etc/ebox/stubs/zarafa && cp /usr/share/ebox/stubs/zarafa/spooler.cfg.mas /etc/ebox/stubs/zarafa/spooler.cfg.mas && zarafa-spooler restart
Zentyal 2.2
# cd / && find . -name 'spooler.cf*' | xargs perl -pi -e 's/always_send_delegates = no/always_send_delegates = yes/g' && find . -name 'spooler.cf*' | xargs perl -pi -e 's/allow_redirect_spoofing = no/allow_redirect_spoofing = yes/g' && mkdir -p /etc/zentyal/stubs/zarafa && cp /usr/share/zentyal/stubs/zarafa/spooler.cfg.mas /etc/zentyal/stubs/zarafa/spooler.cfg.mas && zarafa-spooler restart
Zentyal 3.0
# sudo sed -i 's/zarafa_always_send_delegates = no/zarafa_always_send_delegates = yes/g' /etc/zentyal/zarafa.conf && sudo /etc/init.d/zentyal zarafa restart
Explaining this command (Zentyal 2.x series)
It will look for 2 files on the server:
1) /etc/zarafa/spooler.cfg
2) /usr/share/ebox|zentyal/stubs/zarafa/spooler.cfg.mas
Then, it will change the lines
always_send_delegates = no
allow_redirect_spoofing = no
for
always_send_delegates = yes
allow_redirect_spoofing = yes
And at last, it will restart the Zarafa spooler service.
We are not done yet. We now have to add our emails to the account.
Go to Webaccess >> Settings >> Compose mail >> From Email Addresses >> Add your alias
Having all that said, it would be great to have a simple checkbox under:
Zentyal >> Groupware >> General configuration settings
to enable/disable it.
Best,
Marcus
-
This feature can be set up now via a configuration file in /etc/ebox/*zarafa.conf and will be released soon.
-
Hi Marcus,
Thanks for the manual!
This almost does the trick for me, but not totally.
I want to send as the alias mail-address always(it is an external address), and I don't want to select the From field all the time.
Does anyone know how to do this?
ricvee
-
This feature can be set up now via a configuration file in /etc/ebox/*zarafa.conf and will be released soon.
Hello jsalamero,
this patch was released? Because the /etc/ebox/ not exist.
Or any other method?
Thank you,
-
This is from the Zentyal 2.0 period, before the namechange of several directories from ebox to zental
Try to look in /etc/zentyal/zarafa.conf
Then you will notice this has been fixed.
personally I CAN send with alias. You do have to add the aliasses you want to send with!
To do so log into zarafa webaccess
go to settings
select compose mail tab (second tab)
There you can add aliasses by clicking the + sign in the "from emailaddresses" section.
-
Hello ballapd,
**Edit**
The first post is now up to date
Assuming that you are using the latest Zentyal (Zentyal 2.2)
You may create the folder using this command line:
mkdir -p /etc/zentyal/stubs/zarafa
Then you'll have to copy the "mas" file to the newly created folder using this command line:
cp /usr/share/zentyal/stubs/zarafa/spooler.cfg.mas /etc/zentyal/stubs/zarafa/spooler.cfg.mas
Best,
Marcus
-
This works by default (without editing the .mas files) for me.
However, it would be nice if all aliases were added as 'sent as' automaticly instead of having to add every alias by hand.
-
Hello Robb,
I can't send as other alias user.
On the Zentyal web interface "Office/User/Create mail aliases" I've set up a mail alias, and on "Zarafa/Settings/Compose mail" set up the "From Email Addresses" the "info@..." but cannot send.
The error is: "You are not allowed to send as user or group info"
The receiving is OK.
Thank you,
-
Hello ballapd,
**Edit**
The first post is now up to date
Assuming that you are using the latest Zentyal (Zentyal 2.2)
You may create the folder using this command line:
mkdir -p /etc/zentyal/stubs/zarafa
Then you'll have to copy the "mas" file to the newly created folder using this command line:
cp /usr/share/zentyal/stubs/zarafa/spooler.cfg.mas /etc/zentyal/stubs/zarafa/spooler.cfg.mas
Best,
Marcus
Hello Marcus,
than you the description and your quick reply.
I'm willing to give the easisest way, if not possible then I'll go to the CLI.
Thank you,
-
Hello everyone,
The first post got updated for the Zentyal 3.0 version.
Best,
Marcus
-
Hi Marcus,
still I dont understand why you need to change the stub when you have on /etc/zentyal/zarafa.conf:
# allow users send mail from other address different than their: no | yes
zarafa_always_send_delegates = no
Regards,
-
Hello jsalamero,
> why you need to change the stub
This was true for previous version (2.x series).
> when you have on /etc/zentyal/zarafa.conf
You'll notice that the Zentyal v3.0 instruction is exactly what you just wrote...
Best,
Marcus
-
Hi
Have Zentyl community eddition 3.
Have changed the option zarafa_always_send_delegates to yes in /etc/zentyal.conf
Have created aliases under create mail aliases in the user config
Still f*kin zarafa won't let me send as an alias. No error at all. If I change the from address it just ignores it.
Any ideas.?
-
Just created a group for each email address and added the users into the group. This worked fine :)