• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Email problems after 8.4.0 update

I can help you with this issue

!!! for all that have CentOS !!!!!!!!!!!
step 1: check installed rpm after plesk update
rpm -qa | grep psa | grep qmail

psa-qmail-rblsmtpd-0.70-cos4.build84080425.21
psa-qmail-1.03-cos4.build84080425.21

if you have other output than myne download new rpms from official site

STEPT 2:
you have to install this psa-qmail-1.03-cos4.build84080425.21.i586.rpm
and this psa-qmail-rblsmtpd-0.70-cos4.build84080425.21.i586.rpm

rpm -U psa-qmail-rblsmtpd-0.70-cos4.build84080425.21.i586.rpm #update
rpm -U psa-qmail-rblsmtpd-0.70-cos4.build84080425.21.i586.rpm #update rbl

if you het message that you have the latest version but it's not true uninstall previous version

rpm -e --nodeps your_previous_version
also with rbl
and install the new one
rpm -i psa-qmail-rblsmtpd-0.70-cos4.build84080425.21.i586.rpm
also with rbl RPM

STEP 3:
after that edit /etc/xinetd.dsmtp_psa

service smtp
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = root
instances = UNLIMITED
env = SMTPAUTH=1 SHORTNAMES=1
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
}

STEP 4:
restart qmail, restart courier-imap
and have fun :)

I dont have CentOS so this can't help me... i have Ubuntu... :|
 
Sergius and Dash

Just wanted to say thanks for all the help. The email authentication has been restored.

For those who are curious as to the problem it is this (at least on Ubuntu):

Mail_auth_dump utility from Plesk 8.4.0 does not work with latest libdb4.4 package from gutsy-updates

As a result mail-auth database /var/lib/plesk/auth/passwd.db was empty and authentication was failed.

I rebuilt mail_auth_dump with latest libdb4, uploaded it on your server. Looks like mail auth works fine now.

<snip>

As I wrote on forum, /var/lib/plesk/auth/passwd.db is the only significant data-file.

And it does work fine. The problem is likely to appear only for those who have the latest updats to Ubuntu 7.10. If you haven't applied the most recent updates your email may still be working fine.

I imagine a hotfix is on it's way.
 
Does this fix address the mail redirect bug others are reporting?

(if you don't know what I'm talking about: create a new email account, no mailbox, and redirect it to a yahoo/gmail/hotmail account - now try sending a message to that account)
 
After i run the script and do a "top" i see sometimes apear the 'mchk' command, but now that i believe its finished my problem with the mail remains... :|

Still the problem after to have executed the fix.
 
Does this fix address the mail redirect bug others are reporting?

(if you don't know what I'm talking about: create a new email account, no mailbox, and redirect it to a yahoo/gmail/hotmail account - now try sending a message to that account)

Well I don't know if it fixes it or not. I created new email account, no password, no mailbox with a redirect. It would not redirect to my gmail account but it would to my Yahoo! account.
 
This hotfix still did not solve my POP/IMAP authentication issues.

Edit: For the record, I'm NOT using shortnames... I have this problem using longnames.
 
Two Issues

@jstapels, @tavhane

There are apparently two authentication issues. One involving short names and one involving the mail_auth_dump utility.

The hotfix does not solve the mail_auth_dump authentication issue on Ubuntu 7.10 with the latest Ubuntu patches.

The mail_auth_dump utility from Plesk 8.4.0 does not work with latest libdb4.4 package from gutsy-updates (Ubuntu 7.10.) This leaves the /var/lib/plesk/auth/passwd.db empty and authentication will fail. I think if you have not applied the latest updates to Ubuntu you may not be encountering authentication issues.

You can run mail_auth_view (/opt/psa/admin/sbin/mail_auth_view on Debian based dsitros.) If the results do not include any email address/password combinations this is most likely the problem you are having.

You will need a rebuilt mail_auth_dump with latest libdb4 package on your server for email authentication to function correctly. I believe it was stated somewhere in this thread that Plesk uses new mail authentication routines in 8.4.0.

I don't know what Parallels process is for releasing patches but I do know they are aware of the problem and I imagine will issue a patch or hotfix shortly but considering how many Linux distros are supported for Plesk it may take some time.
 
Hi all, got some problems, the IMAP works fine, but when i try to send by SMTP always is requesting for user/pass in outlook, I tried all, all! the fixes and advices in this forum and nothing works, I look in the outlook log, and I find this:

2008.05.13 23:57:57 SMTP : Connected to host
2008.05.13 23:57:57 SMTP : <rx> 220 domain.com ESMTP
2008.05.13 23:57:57 SMTP : [tx] EHLO CCPC
2008.05.13 23:57:57 SMTP : <rx> 250-domain.com
2008.05.13 23:57:57 SMTP : <rx> 250-AUTH=LOGIN CRAM-MD5 PLAIN
2008.05.13 23:57:57 SMTP : <rx> 250-AUTH LOGIN CRAM-MD5 PLAIN
2008.05.13 23:57:57 SMTP : <rx> 250-STARTTLS
2008.05.13 23:57:57 SMTP : <rx> 250-PIPELINING
2008.05.13 23:57:57 SMTP : <rx> 250 8BITMIME
2008.05.13 23:57:57 SMTP : Authorizing to server
2008.05.13 23:57:57 SMTP : [tx] AUTH LOGIN
2008.05.13 23:57:57 SMTP : <rx> 334 (encrypted user)
2008.05.13 23:57:57 SMTP : [tx] (pass)
2008.05.13 23:57:57 SMTP : <rx> 334 (pass)
2008.05.13 23:57:57 SMTP : [tx] *****
2008.05.13 23:57:57 SMTP : <rx> unable to open mail authentication database: Permission denied

So I guess the problem is a chmod or permision problem in some file for auth... could somebody give me an advise?

Thanks in advance!
 
One more IMPORTANT note for Ubuntu 7.10 i386 users only:
mail_auth_dump utility does not work correctly with package libdb4.4 = 4.4.20-8.1ubuntu3.1 from gutsy-updates repository.
As a result main mail-auth data file /var/lib/plesk/mail/auth/passwd.db is not created/updated

To solve the issue:
1) check what exactly libdb4.4 version do you have installed:
# apt-cache policy libdb4.4
libdb4.4:
Installed: 4.4.20-8.1ubuntu3.1 <<<<<<<<
Candidate: 4.4.20-8.1ubuntu3.1

2) If you have exactly 4.4.20-8.1ubuntu3.1 installed -> downgrade libdb4.4 package to 4.4.20-8.1ubuntu3 release from gutsy/main repository:

#apt-get install libdb4.4=4.4.20-8.1ubuntu3

3) regenerate mail-auth data file /var/lib/plesk/mail/auth/passwd.db:
# /usr/local/psa/admin/sbin/mail_auth_dump

4) check that auth data is up2date:
# /usr/local/psa/admin/sbin/mail_auth_view

Official update is comming soon.
 
thank you very much dash :( thank you! thank you! thank you! god bless youuuuu!
 
Well I have checked with mozilla thunderbird and it can send SMTP messages! but I see and it uses the HELO command and not the EHLO, any advise?? I need working the EHLO command because all my clients use Outlook or Entourage... please help!



Hi all, got some problems, the IMAP works fine, but when i try to send by SMTP always is requesting for user/pass in outlook, I tried all, all! the fixes and advices in this forum and nothing works, I look in the outlook log, and I find this:

2008.05.13 23:57:57 SMTP : Connected to host
2008.05.13 23:57:57 SMTP : <rx> 220 domain.com ESMTP
2008.05.13 23:57:57 SMTP : [tx] EHLO CCPC
2008.05.13 23:57:57 SMTP : <rx> 250-domain.com
2008.05.13 23:57:57 SMTP : <rx> 250-AUTH=LOGIN CRAM-MD5 PLAIN
2008.05.13 23:57:57 SMTP : <rx> 250-AUTH LOGIN CRAM-MD5 PLAIN
2008.05.13 23:57:57 SMTP : <rx> 250-STARTTLS
2008.05.13 23:57:57 SMTP : <rx> 250-PIPELINING
2008.05.13 23:57:57 SMTP : <rx> 250 8BITMIME
2008.05.13 23:57:57 SMTP : Authorizing to server
2008.05.13 23:57:57 SMTP : [tx] AUTH LOGIN
2008.05.13 23:57:57 SMTP : <rx> 334 (encrypted user)
2008.05.13 23:57:57 SMTP : [tx] (pass)
2008.05.13 23:57:57 SMTP : <rx> 334 (pass)
2008.05.13 23:57:57 SMTP : [tx] *****
2008.05.13 23:57:57 SMTP : <rx> unable to open mail authentication database: Permission denied

So I guess the problem is a chmod or permision problem in some file for auth... could somebody give me an advise?

Thanks in advance!
 
Well, for anyone interested we reinstalled the qmail-psa RPM and the SMTP_AUTH now works =)
 
Well, for anyone interested we reinstalled the qmail-psa RPM and the SMTP_AUTH now works =)

This worked well for me also. Outgoing mail would not be delivered except locally because of authentication issues.

On Centos 4 in /root/psa/PSA_8.4.0/dist-rpm-CentOS-4.2-i386/base

rpm -ivh --force psa-qmail-1.03-cos4.build84080425.21.i586.rpm

fixed the authentication problem. Outgoing email to "foreign" servers began working correctly.

I had run the mail_fix.sh script with no apparent positive results. I don't know if it contributed to the solution.
 
I've reinstalled psa-qmail on Fedora Core 4, but I can only send mails.. Not receiving. When I try to send email from gmail, I get "Not accepting emails anymore" message.

Any help please? :/
 
Hello fdoibz,

Thank you for the report.
Please try to run mchk tool w/ option v

mchk -v

1.

[root@srv1 etc]# /usr/local/psa/admin/sbin/mchk -v
mail_auth_dump: Unable to clear mail authentication database: DB_RUNRECOVERY: Fatal error, run database recovery

System error 2: No such file or directory
mchk: /usr/local/psa/admin/bin/mail_auth_dump execution failed:
mail_auth_dump: Unable to clear mail authentication database: DB_RUNRECOVERY: Fatal error, run database recovery

System error 2: No such file or directory
mchk: /usr/local/psa/admin/bin/mail_auth_dump execution failed:
mail_auth_dump: Unable to clear mail authentication database: DB_RUNRECOVERY: Fatal error, run database recovery

System error 2: No such file or directory
mchk: unable to open mail authentication database: DB_RUNRECOVERY: Fatal error, run database recovery

System error 2: No such file or directory
mchk: unable to open mail authentication database: DB_RUNRECOVERY: Fatal error, run database recovery

System error 2: No such file or directory
mchk: unable to set password
System error 2: No such file or directory
mchk: unable to set password
System error 2: No such file or directory
[root@srv1 etc]#

2. Same error occured with mail_auth_dump

3. I still cant see any updates in "Updater"

any help guys? :/ (I've reinstalled psa-qmail, but its still rejecting mails..)
 
c'mon guys, your online support form is NOT WORKING, and nobody's answering here..

we need that mail issue fixed asap, thousands of our users are pissed already!
 
Back
Top