Changing the spam email accounts after domain change
Changing the spam email accounts after domain change
I have a zimbra 8.6.0 server which needed to be changed domains.
I went through the process and changed the domain/hostname and changed the Servers from the previous domain name to the new one I created.
The problem is that the spam email addresses all have the previous domain name. Should I just change those to be of the new domain or do they have to be re-created?
There are four accounts.
galsync.xxxx@domain.com
ham.xxxx@domain.com
spam.xxx@domain.com
virus-quarantine.xxx@domain.com
However, all are in the previous domain.
I went through the process and changed the domain/hostname and changed the Servers from the previous domain name to the new one I created.
The problem is that the spam email addresses all have the previous domain name. Should I just change those to be of the new domain or do they have to be re-created?
There are four accounts.
galsync.xxxx@domain.com
ham.xxxx@domain.com
spam.xxx@domain.com
virus-quarantine.xxx@domain.com
However, all are in the previous domain.
Re: Changing the spam email accounts after domain change
You can rename them or just recreate them in the new domain, details are in the wiki on how to do that.
Re: Changing the spam email accounts after domain change
Yes, I've been searching for hours but am finding countless unrelated things as I am not sure what specific key words to look for.
However, you mention that simply changing their domain name would do the trick and I've done that now.
Thanks.
However, you mention that simply changing their domain name would do the trick and I've done that now.
Thanks.
Re: Changing the spam email accounts after domain change
Sorry, I forgot to add that you'll need to set them as the ham/spam accounts with the following commands:
Details for the quarantine account are here: https://wiki.zimbra.com/wiki/How_to_re- ... ne_Account
.... and the galsync details are here: https://wiki.zimbra.com/wiki/GAL_Sync_Account
Hopefully that's a more complete answer than my last one, I blame it on the fact it's too early in the morning.
Code: Select all
zmprov mcf zimbraSpamIsSpamAccount spam@domain.com
zmprov mcf zimbraSpamIsNotSpamAccount ham@domain.com
zmcontrol restart
.... and the galsync details are here: https://wiki.zimbra.com/wiki/GAL_Sync_Account
Hopefully that's a more complete answer than my last one, I blame it on the fact it's too early in the morning.
Re: Changing the spam email accounts after domain change
I very much appreciate the help. Sometimes, it's hard to find the right search terms. The words 'spam', 'ham', 'accounts' and others are very generic which is why I kept finding countless things unrelated. I'll make a note of the links you've given.
Thank you.
Thank you.
Re: Changing the spam email accounts after domain change
You're welcome, I hope I haven't missed anything and it all goes well for you.
Re: Changing the spam email accounts after domain change
phoenix wrote:Sorry, I forgot to add that you'll need to set them as the ham/spam accounts with the following commands:
Details for the quarantine account are here: https://wiki.zimbra.com/wiki/How_to_re- ... ne_AccountCode: Select all
zmprov mcf zimbraSpamIsSpamAccount spam@domain.com zmprov mcf zimbraSpamIsNotSpamAccount ham@domain.com zmcontrol restart
.... and the galsync details are here: https://wiki.zimbra.com/wiki/GAL_Sync_Account
Hopefully that's a more complete answer than my last one, I blame it on the fact it's too early in the morning.
I followed the steps in the first url. Everything works until one point.
zmlocalconfig av_notify_user=<admin@YOUR_DOMAIN>
$ zmlocalconfig av_notify_user=<admin@domain.com
bash: admin@domain.com: No such file or directory
This is not clear either.
zmlocalconfig av_notify_domain<Domain_name>
$ zmlocalconfig av_notify_domain domain.com
Warning: null valued key 'domain.com'
av_notify_domain = old-domain.com < the old domain name is still stuck in there somewhere.
- tonster
- Zimbra Employee
- Posts: 313
- Joined: Fri Feb 21, 2014 10:14 am
- Location: Ypsilanti, MI
- ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016
Re: Changing the spam email accounts after domain change
You need to use the -e switch.
i.e. zmlocalconfig -e ...
Sent from my SM-G925T using Tapatalk
i.e. zmlocalconfig -e ...
Sent from my SM-G925T using Tapatalk
Re: Changing the spam email accounts after domain change
Strange, now I get 'Permission denied' even as the zimbra user trying to run the
zmlocalconfig -e av_notify_user=<admin@domain.com
Then, moments later, I get
bash: admin@domain.com: No such file or directory
zmlocalconfig -e av_notify_user=<admin@domain.com
Then, moments later, I get
bash: admin@domain.com: No such file or directory
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Changing the spam email accounts after domain change
you misspelled the command :
zmlocalconfig -e av_notify_user=<admin@domain.com
the right one :
zmlocalconfig -e av_notify_user=admin@domain.com
zmlocalconfig -e av_notify_user=<admin@domain.com
the right one :
zmlocalconfig -e av_notify_user=admin@domain.com