Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: j_radue on December 08, 2017, 09:55:10 PM
-
I reinstalled my SME 9.2 on a new server and used my backup to restore. Everything seems to work fine except pseudonyms are no longer recognized by Zarafa. An email sent using the account name works fine, but pseudonyms are diverted to the admin email. Where do I look to find the cause? Also, when I try to modify an existing pseudonym, I get an error from the server panel.
(http://www.raduehome.net/error.jpg)
Any idea where I need to look to solve this? Also, I have received a similar error while trying to modify mail settings in the panel also.
-
I discovered on my SME 9.2 system that none of the old-style pseudonyms had been created -- but I don't use them, so I never knew.
Running this command re-created all of the expected pseudonyms:
/etc/e-smith/events/actions/update-user-pseudonyms
Creating new users in server-manager does create the expected pseudonyms, so this seems to be a backup/restore issue.
-
Thanks for the reply. I tried that command and it still does not work. I also get the error above when I try to modify the list. Do I need to reboot the system after that command?
-
Take a look in /var/log/messages, you'd find the error
-
Here's a segment that appears to deal with pseudos
Dec 9 07:29:07 athlon-server esmith::event[3170]: expanding /var/qmail/control/badrcptto
Dec 9 07:29:07 athlon-server esmith::event[3170]: expanding /var/qmail/control/virtualdomains
Dec 9 07:29:07 athlon-server esmith::event[3170]: generic_template_expand=action|Event|pseudonym-modify|Action|generic_template_expand|Start|1512826147 701447|End|1512826147 925779|Elapsed|0.224332
Dec 9 07:29:07 athlon-server esmith::event[3170]: Running event handler: /etc/e-smith/events/pseudonym-modify/S55email-assign
Dec 9 07:29:07 athlon-server esmith::event[3170]: qmail-newu: fatal: bad format in users/assign
Dec 9 07:29:07 athlon-server esmith::event[3170]: S55email-assign=action|Event|pseudonym-modify|Action|S55email-assign|Start|1512826147 925941|End|1512826147 934867|Elapsed|0.008926|Status|28416
Dec 9 07:29:07 athlon-server esmith::event[3170]: Running event handler: /etc/e-smith/events/actions/adjust-services
Dec 9 07:29:07 athlon-server esmith::event[3170]: adjusting supervised qmail (sighup)
Dec 9 07:29:07 athlon-server esmith::event[3170]: adjusting supervised qmail (up)
Dec 9 07:29:07 athlon-server esmith::event[3170]: adjust-services=action|Event|pseudonym-modify|Action|adjust-services|Start|1512826147 935093|End|1512826147 988335|Elapsed|0.053242
-
And here is what happens when I try to change mail settings and get the error above.
Dec 9 07:55:16 athlon-server esmith::event[4145]: generic_template_expand=action|Event|email-update|Action|generic_template_expand|Start|1512827714 444767|End|1512827716 718976|Elapsed|2.274209
Dec 9 07:55:16 athlon-server esmith::event[4145]: Running event handler: /etc/e-smith/events/email-update/S20qmail-update-user
Dec 9 07:55:16 athlon-server esmith::event[4145]: Can't call method "dir" on an undefined value at /etc/e-smith/events/email-update/S20qmail-update-user line 57.
Dec 9 07:55:16 athlon-server esmith::event[4145]: S20qmail-update-user=action|Event|email-update|Action|S20qmail-update-user|Start|1512827716 719124|End|1512827716 773609|Elapsed|0.054485|Status|65280
Dec 9 07:55:16 athlon-server esmith::event[4145]: Running event handler: /etc/e-smith/events/email-update/S30domains-update-dkim
Dec 9 07:55:16 athlon-server esmith::event[4145]: S30domains-update-dkim=action|Event|email-update|Action|S30domains-update-dkim|Start|1512827716 773734|End|1512827716 819249|Elapsed|0.045515
Dec 9 07:55:16 athlon-server esmith::event[4145]: Running event handler: /etc/e-smith/events/actions/adjust-services
-
I discovered on my SME 9.2 system that none of the old-style pseudonyms had been created -- but I don't use them, so I never knew.
Running this command re-created all of the expected pseudonyms:
/etc/e-smith/events/actions/update-user-pseudonyms
Creating new users in server-manager does create the expected pseudonyms, so this seems to be a backup/restore issue.
I tried creating a new user and received the following error:
(http://www.raduehome.net/USERERROR.jpg)
However, the new user appears in the list. There are pseudo's created for the new account, but when I try to modify them I get the following in the log file.
generic_template_expand=action|Event|pseudonym-create|Action|generic_template_expand|Start|1512834586 48013|End|1512834586 140295|Elapsed|0.092282
Dec 9 09:49:46 athlon-server esmith::event[8519]: Running event handler: /etc/e-smith/events/pseudonym-create/S55email-assign
Dec 9 09:49:46 athlon-server esmith::event[8519]: qmail-newu: fatal: bad format in users/assign
Dec 9 09:49:46 athlon-server esmith::event[8519]: S55email-assign=action|Event|pseudonym-create|Action|S55email-assign|Start|1512834586 140443|End|1512834586 141305|Elapsed|0.000862|Status|28416
Dec 9 09:49:46 athlon-server esmith::event[8519]: Running event handler: /etc/e-smith/events/actions/adjust-services
Dec 9 09:49:46 athlon-server esmith::event[8519]: adjusting supervised qmail (sighup)
Dec 9 09:49:46 athlon-server esmith::event[8519]: adjusting supervised qmail (up)
Dec 9 09:49:46 athlon-server esmith::event[8519]: adjust-services=action|Event|pseudonym-create|Action|adjust-services|Start|1512834586 141399|End|1512834586 182526|Elapsed|0.041127
-
Dec 9 07:55:16 athlon-server esmith::event[4145]: Can't call method "dir" on an undefined value at /etc/e-smith/events/email-update/S20qmail-update-user line 57.
This seems like where to look for your issue
How did you populate/restore the server?
-
I used restore from desktop from the server console. How can I fix this?????
-
Problem solved by brute force. I deleted the users having trouble and recreated them. A bit of a pain but it fixed the problem.
-
Problem solved by brute force. I deleted the users having trouble and recreated them. A bit of a pain but it fixed the problem.
my guess is that the users have not been recreated and were not in the unix files.
-
Thanks for your input in to this ...