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

2008-08-12 Thread assetburned

Hi

that is not exactly what I wanted to do.

My idea was to use a script which accepts the username and password as  
parameters and then tryes to connect to a web, pop3 or imap server,  
depending on what is easier.


e.g. lynx -auth=username:password http://some.foobar.org/protected

and only if the script is able to fetch the protected page, than the  
user is also accepted for the VPN connection.


CU AssetBurned

On 12.08.2008, at 06:29, Odhiambo Washington wrote:

On Sun, Aug 10, 2008 at 6:20 PM, assetburned  
[EMAIL PROTECTED] wrote:
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?


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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-08-11 Thread Odhiambo Washington
On Sun, Aug 10, 2008 at 6:20 PM, assetburned [EMAIL PROTECTED] 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,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Oh My God! They killed init! You Bastards!
 --from a /. post
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2008-08-10 Thread assetburned

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


POP3 IMAP

2004-12-28 Thread Adam
Which IMAP and POP3 ports are stable and good?  Any reccomendations?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: POP3 IMAP

2004-12-28 Thread DanGer
Hi Adam,

Tuesday, December 28, 2004, 8:39:52 PM, you has on mind:

 Which IMAP and POP3 ports are stable and good?  Any reccomendations?

try courier-imap or dovecot

-- 
Best Regards,

+--==/\/\==--+   (__)  FreeBSD
| DanGer [EMAIL PROTECTED] |\\\'',)  The
| [EMAIL PROTECTED] ICQ261701668 |  \/  \ ^Power
| http://danger.homeunix.org |  .\._/_)To
+--==\/\/==--+ Serve

[ Your twisted and sick, I like that in a person. ]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: POP3 IMAP

2004-12-28 Thread Danny MacMillan
On Tue, Dec 28, 2004 at 01:39:52PM -0600, Adam wrote:
 Which IMAP and POP3 ports are stable and good?  Any reccomendations?

I haven't used any POP servers, but I've used both Courier-IMAP and
dovecot to good effect.  I have found dovecot to be much, much faster
than Courier-IMAP so it's what I use on my server.  My requirements are
simple so I can't evaluate the more 'fancy' stuff, like authentication
against LDAP c.

-- 
Danny
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: POP3 IMAP

2004-12-28 Thread Frank Staals
Adam wrote:
Which IMAP and POP3 ports are stable and good?  Any reccomendations?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

You want to run a IMAP and pop3 server ? for pop3 you could/should use 
qpopper ( net/qpopper ), for Imap I can't recomend you anything because 
I haven't ran it.

As a client you should use Mozilla Thunderbird ( mail/thunderbird )
Frank Staals
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: POP3 IMAP

2004-12-28 Thread Peter Schuller
 Which IMAP and POP3 ports are stable and good?  Any reccomendations?

I recommend dovecot. Like somebody else mentioned it's faster than
courier-imap. And it supports POP3 and IMAP (only one daemon to configure
rather than two).

Currently administering a postfix+dovecot+postgresql setup that works
well.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cleartext auth. in POP3 IMAP

2004-03-11 Thread Philip Plant
Hi folks,

I'm using Eudora's qpopper POP3 daemon to receive mail at the moment,
but the client software I use doesn't support anything other than
cleartext password authentication.  I don't like the idea of sending my
login password unencrypted, and I was wondering if anyone could advise
how to setup qpopper (or any other POP3 or IMAP daemon) to authenticate
against a non-login password?

Thanks!

Philip.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]