• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Where are the passwords for the mailaccounts stored? (Postfix)

Thomas Becker

Basic Pleskian
Plesk and mail filtering using Horde (ingo)

Hello,
im trying to run an auth-script for pureftp. Thats necessary to make Horde (ingo) able to write an file (procmailrc) to the mailusers homedirectory (/var/qmail/mailnames/domain/user/).

On Plesk-Systems with Qmail the passwords supposed to be stored in an MySQL Table called "mail".
I can't find the place were the password is stored on my Plesk-System with Postfix.

Where are the passwords for the mailaccounts stored?

My System:
CentOS 5
Plesk 9.2.2
Postfix

Thanks for any help.
 
Last edited:
Hello,

The passwords are stored at the accounts table and can be found at the following way:

> select mail_name,password from mail inner join accounts on accounts.id=mail.account_id where mail_name='nat';

+-----------+----------+
| mail_name | password |
+-----------+----------+
| nat | 123qwe |
+-----------+----------+
2 rows in set (0.00 sec)

Thank you
 
Plesk and mail filtering using Horde (ingo)

Just seen that I never posted my solution. Shame on me. Long time ago but maybe it is useful for someone.

1. Edit .qmail in user's mail dir as follows.
.qmail is located here /var/qmail/mailnames/domain.tld/user/
# use procmail
| /usr/bin/procmail -m -t ./.procmailrc

# this line is here by default
| true

# comment this out because mails will be delivered twice if not
#| /usr/bin/deliverquota ./Maildir

2. Create file named .procmailrc in user’s mail dir
/var/qmail/mailnames/domain.tld/user/

3. Then follow this article:
http://www.natecarlson.com/2009/01/07/using-procmail-with-plesk-rules-via-ingo/
Also have a look at the comments.

Its working with CentOS 5 and Postfix (Plesk 9). The only problem is, when you update Postfix the .qmail will be overwritten.

To automatically bring this feature to newly created mail accounts see also:
http://www.natecarlson.com/2009/01/06/using-procmail-with-plesk/
To make this script work the correct way see the comment on this site with "<OLDQMAILCFG>". There was a problem with the CMS (Wordpress) which cuts of a part of the posted script code. I'm not sure if the author has fixed it in the posted code.
 
Last edited:
For those who still use it, Password Revealer now will work with encrypted passwords - PLESK 11+ (Power Toys)
 
Back
Top