how to let MPD check the password against POP3, IMAP or WWW?

Odhiambo Washington odhiambo at
Tue Aug 12 05:29:57 UTC 2008

On Sun, Aug 10, 2008 at 6:20 PM, assetburned <freebsd at> wrote:
> Hi
> I have a MPD VPN server and another machine which runs WWW, IMAP and POP3
> services.
> I know that I could check if a password is valid e.g. by writing a script
> which calls a Lynx command.
> But how can I forward the password from MPD to that script? And I also think
> that the password has to be unencrypted for the lynx command, so how can I
> manage that?
> CU AssetBurned

I run dovecot with MySQL database on one of my servers. Dovecot
provides POP3/IMAP.
I also have mpd5 on this box and I use credentials from the DB (which
contains cleartext passwords) for mpd5 to authenticate, but I do it
using a script which extracts the username and cleartext password and
writes those to mpd.secret, and also sets the correct permissions on
the file. It's a simplistic shell script, called from cron once a day.

Best regards,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
 --from a /. post

More information about the freebsd-questions mailing list