• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Qmail users are not recognized after qmail migration.

ahimsauzi

New Pleskian
I recently had to reset my server to its default LAMP and in the process of migrating everything back I used rsnyc to move /old/qmail to /var/. This was done after email accounts were set in plesk. The good new was that all emails and folders migrated successfully however now email clients can only receive but can not send emails.

Here is the error I get.

Jan 10 13:48:13 domainame smtp_auth: SMTP connect from xx-xx-xxx-x.dhcp.gldl.ca.isp.com [xx-xx-xxx-x]
Jan 10 13:48:13 domainname smtp_auth: FAILED: me@example.com - password incorrect from x-xx-xxx-x.dhcp.gldl.ca.isp.com [xx-xx-xxx-x]

Any way to fix this?

Running /usr/local/psa/admin/sbin/mchk and any of it options does not solve the issue.

Thanks
 
Look at the output of command:

/usr/local/psa/admin/sbin/mail_auth_view |grep example.com
| user@example.com | D |

Flags
A - account disabled
D - domain disabled
E - password encrypted

If you have D status for mailbox, try to re-enable mailservice for domain.
 
Thank IgorG,

I ended up resetting the server to default and bringing everything back. Works great now.

For anyone with similar problem on a newly configured server I brought back the massages from each user's /old//var/qmail/mailnames/<domain_name>/<mail>/Maildir/cur/ directory, reset permission and ownership for the folder and messages and finally fixed permissions issues:

/usr/local/psa/admin/sbin/mchk --with-spam

/usr/local/psa/admin/bin/mailmng -o ; /usr/local/psa/admin/bin/mailmng -p ; /etc/init.d/xinetd restart ; /etc/init.d/qmail restart

This process can probably be automated via rsync with some variable for the <domain_name>/<mail> but I have no idea how to do that.
 
Last edited:
Back
Top