• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem with domain alias

clinton4

Regular Pleskian
Hi,

I got Plesk 9.5.4 running on a Centos 5.5 box.

When i try to delete a domain alias, i get this error message:

ERROR: PleskUtilException

mailmng failed: mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-yIOqOo/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-sLIFgx/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-rydbIi/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-rpxZGQ/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-Lkra1X/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-Lfb8zn/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-LclFwE/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-LTllCx/

System error 21: Is a directory
mailmng: Unable to read line from file: /usr/local/psa/handlers/info/20-drweb-L2DKcM/

System error 21: Is a directory

--------------------------------------------------------------------------------

0: class.MailManager.php:242
MailManager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: class.MailManager.php:274
MailManager->callMailManager(string 'del-domain-alias', array)
2: class.MailManager.php:393
MailManager->delDomainAlias(string 'domain.no', string 'domain.com')
3: DAliasManager.php:380
DAliasManager::delDAlias(object of type DAlias)
4: domain_aliases.php:43

I did try to do # /usr/local/psa/admin/sbin/mchk --with-spam

But that did not solve the problem.

Also the domain alias is not showing the content of it's main domain, it shows the default plesk welcome page. How can i fix this?
 
Hi IgorG,

That was the first thing i did try, but it did not solve the problem.

When i did:
# /usr/local/psa/admin/sbin/mailmng --stop-service
# find /usr/local/psa/handlers/before-* -type f | while read h ; do [ ! -d /usr/local/psa/handlers/info/$(basename $h) ] && echo $h ; done

I got this:
/usr/local/psa/handlers/before-remote/sender/[email protected]/20-drweb-yIOqOo

And then i did:
# rm -f /usr/local/psa/handlers/before-remote/sender/[email protected]/20-drweb-yIOqOo
# /usr/local/psa/admin/sbin/mailmng --start-service

I still got the same error message.
 
Additional information:
I did migrate some domains from a Plesk 9.2.3 server and i cannot delete the email accounts on these domains. I get the same error message.
 
Hi again,

After i did this, i can't send or receive email anymore. I can't find any error messages or logs, any idea?
 
Main mail log can be found in /usr/local/psa/var/log/maillog file. Try to analyse it.
 
Hi IgorG,

Here is my /usr/local/psa/var/log/maillog file:

Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: Handlers Filter before-queue for qmail started ...
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: [email protected]
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: [email protected]
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: hook_dir = '/usr/local/psa/handlers/before-queue'
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-spf-nGa0xn/executable'
Apr 4 21:56:49 server1 spf filter[9334]: Starting spf filter...
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: handlers_stderr: SKIP
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: call_handlers: SKIP during call '/usr/local/psa/handlers/info/10-spf-nGa0xn/executable' handler
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: recipient[3] = '[email protected]'
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/[email protected]'
Apr 4 21:56:49 server1 qmail: 1301947009.291648 new msg 1917160
Apr 4 21:56:49 server1 qmail: 1301947009.291713 info msg 1917160: bytes 1191 from <[email protected]> qp 9335 uid 48
Apr 4 21:56:49 server1 qmail-queue-handlers[9333]: starter: submitter[9335] exited normally
Apr 4 21:56:49 server1 qmail: 1301947009.294262 starting delivery 15: msg 1917160 to remote [email protected]
Apr 4 21:56:49 server1 qmail: 1301947009.294304 status: local 0/10 remote 1/20
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: Handlers Filter before-remote for qmail started ...
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: [email protected]
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: [email protected]
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: hook_dir = '/usr/local/psa/handlers/before-remote'
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: recipient[3] = '[email protected]'
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: handlers dir = '/usr/local/psa/handlers/before-remote/recipient/[email protected]'
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-dd51-domainkeys-cW50JI/executable'
Apr 4 21:56:49 server1 dk_sign[9337]: Auth_ID: [xxxxxxxx.no] Signed: [Yes] Header List: [Yes]
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: handlers_stderr: PASS
Apr 4 21:56:49 server1 qmail-remote-handlers[9336]: call_handlers: PASS during call '/usr/local/psa/handlers/info/10-dd51-domainkeys-cW50JI/executable' handler
Apr 4 21:56:49 server1 qmail: 1301947009.921760 delivery 15: success: 77.238.184.241_accepted_message./Remote_host_said:_250_ok_dirdel/
Apr 4 21:56:49 server1 qmail: 1301947009.922024 status: local 0/10 remote 0/20
Apr 4 21:56:49 server1 qmail: 1301947009.922093 end msg 1917160

I cant se any errors in it, can you? I can recieve mail, but i cannot send any. Any ideas?
 
Did you try send test email with telnet? What sort of errors you have in that case?
 
Hi IgorG,

I have never done that, is there any guide on how to do that?

Also, as i mentioned, i migrated som domains to this server. And the problem seems to be with these email accounts.

- If i try to send a email from a account that was migrated, the email is not deliverd.
- If i delete the migrated email account and try to create it again, the email is not deliverd.
- If i try to send a email from a account that was created on the current server, the email is deliverd.
 
Okay, here is my telnet result:

[root@server1 ~]# telnet server1.net 25
Trying 46.38.XXX.XXX...
Connected to server1.net.
Escape character is '^]'.
220 server1.net ESMTP
HELO smtp.mail.yahoo.com
250 server1.net
MAIL FROM: [email protected]
250 ok
RCPT TO: [email protected]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
 
Back
Top