Re: [gentoo-user] courier-imapd: * BYE imaplogin expected exactly two arguments

2006-02-11 Thread Frederic Jaeckel
Hi Glen,
On Fri, Feb 10, 2006 at 03:19:46PM -0800, glen martin wrote:
 Hello Frederic,
 
 Your pam.d/imap setting is what was originally installed by emerge for 
 me. I'd tried different values here while testing to see if something 
 else would work (and it didn't), but to be certain I switched this 
 setting back, restarted courier services, and then got the same 
 non-working result as always.
 
 I don't fully understand your use of saslauthd. Is that instead of 
 authdaemond, and why? I should have thought that the authdaemond that 
 comes from courier would be a proper fit here.
 
Oups, I'd changed somethin .. saslauthd is only used by postfix to
authenticate. Courier-imap only use the authdaemond. I remembered the
problem and saw that the solution of mine was the following in
/etc/courtier-imap/imapd :

snip
IMAPDSTART=NO
PRERUN=
/snap

in /etc/courier-imap/pop3d :

snip
POP3DSTART=NO
PRERUN=
/snap

Without this i'm not able to authenticate. In my case this was the only
solution and problem.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier-imapd: * BYE imaplogin expected exactly two arguments

2006-02-09 Thread Frederic Jaeckel
Hi Glen Martin,

On Wed, Feb 08, 2006 at 04:58:15PM -0800, glen martin wrote:
 #insert obligatory_ive_looked_everywhere_i_can_think_of.h
 
 I'm provisioning a new mail server, and have installed courier-imap with 
 the related courier-authlib.  hardened profile, system pretty fully 
 up-to-date.
 
 I'm attempting (or intending) to use PAM authentication.
 
 The usual IMAP testing trick of telnet localhost 143 immediately (no 
 chance to enter a command) returns. pam didn't emit any debug output ... 
 I suspect it didn't get that far.
 
 # telnet localhost 143
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 * BYE imaplogin expected exactly two arguments.
 Connection closed by foreign host.

i'd done the same last week and experienced the same problem. Actually I
think it were cause of different configs. (I hacked many of them and
rebuild em... at least I worked a long time to get it working)

The main fact, why it won't work on my server was that the
/etc/pam.d/imap file didn't contained the right values. So i'd changed
it to:
snip
auth   required pam_nologin.so
auth   required pam_stack.so service=system-auth
accountrequired pam_stack.so service=system-auth
sessionrequired pam_stack.so service=system-auth
/snip

My system is working with that configuration. I use saslauthd as
authentication program wich refers to pam wich authenticate the user
over a mysql db with authdaemond.
At least try it with my pam configuration and if it wont work i can send
ya my whole configs.

Many greetings from Germany,

Frederic Jaeckel
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cleaned Cruft and Broke ivtv - How to Fix?

2006-02-09 Thread Frederic Jaeckel
Hi Drew Tomlinson,
On Thu, Feb 09, 2006 at 08:02:07AM -0800, Drew Tomlinson wrote:
 I seem to have resolved my problem.  When I reinstalled ivtv, it picked 
 up the newest version (0.4.2) since it was unmasked in my 
 package.keywords.  Reverting back to 0.4.0-r3 worked.  I'm running 
 2.6.13-r5 kernel and maybe the newer ivtv isn't compatible with this kernel.

yeah, i'd the same problems with the 0.4.2 drivers and its not
compatible with up to 2.6.14.4 (thats what i'd tested at this time). 

Wait until ivtv is marked as stable in Gentoo. ;-)

greetings

Frederic Jaeckel
-- 
gentoo-user@gentoo.org mailing list