[vchkpw] Vpopmail + Courier-imap Login Failed.

2003-11-05 Thread Kuan Yik
Hi,

I am using Qmail + Vpopmail + Courier-imap for my mail server. I got no problem at all 
until I tried to use the ./vadddomain -u abc abc.com (This will create the mail 
directory into system user folder) then I encountered login failed to the imap server.

I got this error message

Nov  5 16:16:43 calypso imapd: Connection, ip=[:::127.0.0.1]
Nov  5 16:17:02 calypso imapd: LOGIN FAILED, ip=[:::127.0.0.1]
Nov  5 16:17:38 calypso imapd: LOGOUT, ip=[:::127.0.0.1]

But, there is no problem at all if I use the (./vadddomain abc.com ) and vpopmail will 
create the default mail directory into /home/vpopmail/domains/abc.com 



Anyone know what's wrong with this?

RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Hi all,

Here are the output of asked commands :

hope it will help you...Helping me   ;-))

Sun Microsystems Inc.   SunOS 5.9   Generic May 2002
# vmoddomlimits -S test.com
Domain: test.com
--
Max Pop Accounts: -1
Max Aliases: -1
Max Forwards: -1
Max Autoresponders: -1
Max Mailinglists: -1
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  alias:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  forward:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  autoresponder:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist users:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  default quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
Domain Quota: 0
Default User Quota: 0
Max Domain Messages: 0
Default Max Messages per User: 0


# vuserinfo [EMAIL PROTECTED]
name:   fgilain
passwd: $1Oyx5r9mdGZ2
clear passwd: password
uid:1
gid:0
gecos: Florent Gilain
all services available
dir:   /export/home/vpopmail/domains/test.com/fgilain
quota: NOQUOTA
usage: NOQUOTA
last auth: Mon Nov  3 20:03:32 2003
last auth ip: webmail

I remember that if a create a unix user instead of a user for a virtual
domain, then create for him a Maildir, all was ok (i was able to get his
mails from my outlook with pop3 protocol...). So according to me, my problem
is to link qmail daemons to vpopmail... isn't it ?

Florent


-Message d'origine-
De : Justin Heesemann [mailto:[EMAIL PROTECTED]
Envoyé : mardi 4 novembre 2003 18:46
À : [EMAIL PROTECTED]
Objet : Re: [vchkpw] telnet authentification ?


On Tuesday 04 November 2003 18:03, Florent Gilain wrote:
 Hi all,

 Oup, email sent twice due to error from my keyboard   ;-(( sorry
 !

 Here is my configuration (qmail was installed using the Life With
 Qmail.pdf documentation):

 Sun SOlaris 2.9
 openssl-0.9.7c
 Qmail
 daemontools-0.76
 expect-5.39
 ezmlm-0.53
 vpopmail-5.3.29

vpopmail 5.3.29 has a bug which sometimes prevents pop3 login.
could you send the output of
vmoddomlimits -S test.com
and
vuserinfo [EMAIL PROTECTED]
(careful if you have clear passwords enabled and this is a valid
account... just scramble the clear password field in your answer)




--
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org





RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Hi again,

I think these configuration files could help you too...

Florent

-Message d'origine-
De : Florent Gilain [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 10:44
À : [EMAIL PROTECTED]
Objet : RE: [vchkpw] telnet authentification ?


Hi all,

Here are the output of asked commands :

hope it will help you...Helping me   ;-))

Sun Microsystems Inc.   SunOS 5.9   Generic May 2002
# vmoddomlimits -S test.com
Domain: test.com
--
Max Pop Accounts: -1
Max Aliases: -1
Max Forwards: -1
Max Autoresponders: -1
Max Mailinglists: -1
GID Flags:
Flags (for commandline):
Flags for non postmaster accounts:
  pop account:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  alias:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  forward:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  autoresponder:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist:ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist users:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
  default quota:  ALLOW_CREATE ALLOW_MODIFY ALLOW_DELETE
Domain Quota: 0
Default User Quota: 0
Max Domain Messages: 0
Default Max Messages per User: 0


# vuserinfo [EMAIL PROTECTED]
name:   fgilain
passwd: $1Oyx5r9mdGZ2
clear passwd: password
uid:1
gid:0
gecos: Florent Gilain
all services available
dir:   /export/home/vpopmail/domains/test.com/fgilain
quota: NOQUOTA
usage: NOQUOTA
last auth: Mon Nov  3 20:03:32 2003
last auth ip: webmail

I remember that if a create a unix user instead of a user for a virtual
domain, then create for him a Maildir, all was ok (i was able to get his
mails from my outlook with pop3 protocol...). So according to me, my problem
is to link qmail daemons to vpopmail... isn't it ?

Florent


-Message d'origine-
De : Justin Heesemann [mailto:[EMAIL PROTECTED]
Envoyé : mardi 4 novembre 2003 18:46
À : [EMAIL PROTECTED]
Objet : Re: [vchkpw] telnet authentification ?


On Tuesday 04 November 2003 18:03, Florent Gilain wrote:
 Hi all,

 Oup, email sent twice due to error from my keyboard   ;-(( sorry
 !

 Here is my configuration (qmail was installed using the Life With
 Qmail.pdf documentation):

 Sun SOlaris 2.9
 openssl-0.9.7c
 Qmail
 daemontools-0.76
 expect-5.39
 ezmlm-0.53
 vpopmail-5.3.29

vpopmail 5.3.29 has a bug which sometimes prevents pop3 login.
could you send the output of
vmoddomlimits -S test.com
and
vuserinfo [EMAIL PROTECTED]
(careful if you have clear passwords enabled and this is a valid
account... just scramble the clear password field in your answer)




--
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




qmailctl
Description: Binary data


run_imap
Description: Binary data


run_imaps
Description: Binary data


run_qmail-pop3d
Description: Binary data


run_qmail-smtpd
Description: Binary data


Re: [vchkpw] telnet authentification ?

2003-11-05 Thread Justin Heesemann
On Wednesday 05 November 2003 10:50, Florent Gilain wrote:
 Hi again,
 
 I think these configuration files could help you too...

yes..

from your run_qmail-pop3d file:
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup 
\
`hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir/
INBOX/ 21

/bin/checkpassword should be /var/vpopmail/bin/vchkpw
(or whereever your vpopmail is installed to)

-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Chris Pugh
**
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup \
`hostname` /bin/checkpassword
/var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21



Why are you using checkpassword instead of vchkpw, and
hostname instead of a mailserver FQDN?  Is
qmail-pop3d down or up ( with svscan or qmailctl stat
)?  I've had the above file format sometimes cause
trouble. Seems to work better as.. 

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup FQDN \
/~homeofvpopmail/bin/checkpassword
/var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21

Chris.

--- Florent Gilain [EMAIL PROTECTED] wrote:
 Hi again,
 
 I think these configuration files could help you
 too...
 
 À : [EMAIL PROTECTED]
 Objet : RE: [vchkpw] telnet authentification ?
 
 
 Hi all,
 
 Here are the output of asked commands :
 
 hope it will help you...Helping me   ;-))
 
 Sun Microsystems Inc.   SunOS 5.9   Generic May
 2002
 # vmoddomlimits -S test.com
 Domain: test.com
 --
 Max Pop Accounts: -1
 Max Aliases: -1
 Max Forwards: -1
 Max Autoresponders: -1
 Max Mailinglists: -1
 GID Flags:
 Flags (for commandline):
 Flags for non postmaster accounts:
   pop account:ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   alias:  ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   forward:ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   autoresponder:  ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   mailinglist:ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   mailinglist users:  ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   mailinglist moderators: ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   quota:  ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
   default quota:  ALLOW_CREATE ALLOW_MODIFY
 ALLOW_DELETE
 Domain Quota: 0
 Default User Quota: 0
 Max Domain Messages: 0
 Default Max Messages per User: 0
 
 
 # vuserinfo [EMAIL PROTECTED]
 name:   fgilain
 passwd: $1Oyx5r9mdGZ2
 clear passwd: password
 uid:1
 gid:0
 gecos: Florent Gilain
 all services available
 dir:  
 /export/home/vpopmail/domains/test.com/fgilain
 quota: NOQUOTA
 usage: NOQUOTA
 last auth: Mon Nov  3 20:03:32 2003
 last auth ip: webmail
 
 I remember that if a create a unix user instead of a
 user for a virtual
 domain, then create for him a Maildir, all was ok (i
 was able to get his
 mails from my outlook with pop3 protocol...). So
 according to me, my problem
 is to link qmail daemons to vpopmail... isn't it ?
 
 Florent
 
 
 -Message d'origine-
 De : Justin Heesemann [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 4 novembre 2003 18:46
 À : [EMAIL PROTECTED]
 Objet : Re: [vchkpw] telnet authentification ?
 
 
 On Tuesday 04 November 2003 18:03, Florent Gilain
 wrote:
  Hi all,
 
  Oup, email sent twice due to error from my
 keyboard   ;-(( sorry
  !
 
  Here is my configuration (qmail was installed
 using the Life With
  Qmail.pdf documentation):
 
  Sun SOlaris 2.9
  openssl-0.9.7c
  Qmail
  daemontools-0.76
  expect-5.39
  ezmlm-0.53
  vpopmail-5.3.29
 
 vpopmail 5.3.29 has a bug which sometimes prevents
 pop3 login.
 could you send the output of
 vmoddomlimits -S test.com
 and
 vuserinfo [EMAIL PROTECTED]
 (careful if you have clear passwords enabled and
 this is a valid
 account... just scramble the clear password field in
 your answer)
 
 
 
 
 --
 Mit internetten Grüßen / Best Regards

---
 Justin Heesemann   
 ionium Technologies
 [EMAIL PROTECTED]   
 www.ionium.org
 
 
 

 ATTACHMENT part 2 application/octet-stream
name=qmailctl


 ATTACHMENT part 3 application/octet-stream
name=run_imap


 ATTACHMENT part 4 application/octet-stream
name=run_imaps


 ATTACHMENT part 5 application/octet-stream
name=run_qmail-pop3d


 ATTACHMENT part 6 application/octet-stream
name=run_qmail-smtpd



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Chris Pugh
Florent.

Sorry !  I meant ... last line should have specified
vchkpw not checkpassword..

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 0 110
 /var/qmail/bin/qmail-popup FQDN \
 /~homeofvpopmail/bin/vchkpw
 /var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21

Chris.

 ---  Gilain [EMAIL PROTECTED] wrote:


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Justin,

Here is my actual qmail stat :

bash-2.05# qmailctl stat
/service/qmail-send: up (pid 9402) 154510 seconds
/service/qmail-send/log: up (pid 9408) 154510 seconds
/service/qmail-smtpd: up (pid 9404) 154510 seconds
/service/qmail-smtpd/log: up (pid 9400) 154510 seconds
/service/qmail-pop3d: up (pid 9412) 154510 seconds
/service/qmail-pop3d/log: up (pid 9401) 154510 seconds
/service/imap: up (pid 9406) 154510 seconds
/service/imap/log: up (pid 9411) 154510 seconds
/service/imaps: up (pid 9421) 154510 seconds
/service/imaps/log: up (pid 9417) 154510 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0


All is up, but am unable to login as a virtual domain user..i'll try to
modify my run file in order to use vchkpw

Will the login be [EMAIL PROTECTED] ? or something like user%domain.com ?


Florent

-Message d'origine-
De : Justin Heesemann [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 11:09
À : [EMAIL PROTECTED]
Objet : Re: [vchkpw] telnet authentification ?


On Wednesday 05 November 2003 10:50, Florent Gilain wrote:
 Hi again,

 I think these configuration files could help you too...

yes..

from your run_qmail-pop3d file:
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup
\
`hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir/
INBOX/ 21

/bin/checkpassword should be /var/vpopmail/bin/vchkpw
(or whereever your vpopmail is installed to)

--
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org





RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
I modifyed my run file for qmail-pop3d by using
/export/home/vpopmail/bin/vchkpw then restarted qmail.

Here is the output of a telnet pop3 session :

bash-2.05# telnet pop3.directmedica.com 110
Trying 192.168.1.13...
Connected to dmmail.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass fgilain
-ERR authorization failed
Connection to dmmail closed by foreign host.

Florent

-Message d'origine-
De : Florent Gilain [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 11:14
À : [EMAIL PROTECTED]
Objet : RE: [vchkpw] telnet authentification ?


Justin,

Here is my actual qmail stat :

bash-2.05# qmailctl stat
/service/qmail-send: up (pid 9402) 154510 seconds
/service/qmail-send/log: up (pid 9408) 154510 seconds
/service/qmail-smtpd: up (pid 9404) 154510 seconds
/service/qmail-smtpd/log: up (pid 9400) 154510 seconds
/service/qmail-pop3d: up (pid 9412) 154510 seconds
/service/qmail-pop3d/log: up (pid 9401) 154510 seconds
/service/imap: up (pid 9406) 154510 seconds
/service/imap/log: up (pid 9411) 154510 seconds
/service/imaps: up (pid 9421) 154510 seconds
/service/imaps/log: up (pid 9417) 154510 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0


All is up, but am unable to login as a virtual domain user..i'll try to
modify my run file in order to use vchkpw

Will the login be [EMAIL PROTECTED] ? or something like user%domain.com ?


Florent

-Message d'origine-
De : Justin Heesemann [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 5 novembre 2003 11:09
À : [EMAIL PROTECTED]
Objet : Re: [vchkpw] telnet authentification ?


On Wednesday 05 November 2003 10:50, Florent Gilain wrote:
 Hi again,

 I think these configuration files could help you too...

yes..

from your run_qmail-pop3d file:
#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup
\
`hostname` /bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir/
INBOX/ 21

/bin/checkpassword should be /var/vpopmail/bin/vchkpw
(or whereever your vpopmail is installed to)

--
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org






Re: [vchkpw] telnet authentification ?

2003-11-05 Thread X-Istence
Chris Pugh wrote:

Florent.

Sorry !  I meant ... last line should have specified
vchkpw not checkpassword..
 

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup FQDN \
/~homeofvpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21
   

Chris.

 

---  Gilain [EMAIL PROTECTED] wrote:
   



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


 

Breached# cat /var/qmail/service/pop3d//run
#!/bin/sh
exec 21 \
envdir ./env \
sh -c '
   case $REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac
   case $REMOTEINFO in r) R=;; [0-9]*) R=t$REMOTEINFO;; *) R=R;; esac
   exec \
   softlimit ${DATALIMIT+-d$DATALIMIT} \
   /usr/local/bin/tcpserver \
   -vD$H$R \
   ${LOCALNAME+-l$LOCALNAME} \
   ${BACKLOG+-b$BACKLOG} \
   ${CONCURRENCY+-c$CONCURRENCY} \
   -xtcp.cdb \
   -- ${IP-0} ${PORT-110} \
   /var/qmail/bin/qmail-popup ${POPUPHOST-`sed 1q 
/var/qmail/control/me`} \
   /usr/local/vpopmail/bin/vchkpw \
   /var/qmail/bin/qmail-pop3d ${MAILDIRNAME-Maildir}
'

is my run file. Note that i create all this with qmail-config.

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110
/var/qmail/bin/qmail-popup `sed 1q /var/qmail/control/me` \
# The ~ is the path to vpopmail
~/bin/vchkpw \
/var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21
Should work just fine.

X




Re: [vchkpw] telnet authentification ?

2003-11-05 Thread Chris Pugh

--- X-Istence [EMAIL PROTECTED] wrote:

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 0 110
 /var/qmail/bin/qmail-popup `sed 1q
 /var/qmail/control/me` \
 # The ~ is the path to vpopmail
 ~/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21
 
 Should work just fine.

.. assuming that 'me' comtains your mailserver ..
.. assuming that qmai-config does what you want it to
.. which in my case at least, it didn't! ;-)

C.



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Sorry X-Istence and Chris,

I'm really a neewbie et Unix...and qmail...

I'm unable to understand what you mean in the last mail about
qmail-config

Florent

-Message d'origine-
De : Chris Pugh [mailto:[EMAIL PROTECTED]
Envoye : mercredi 5 novembre 2003 12:40
A : [EMAIL PROTECTED]
Objet : Re: [vchkpw] telnet authentification ?



--- X-Istence [EMAIL PROTECTED] wrote:

 #!/bin/sh
 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 0 110
 /var/qmail/bin/qmail-popup `sed 1q
 /var/qmail/control/me` \
 # The ~ is the path to vpopmail
 ~/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d ./Maildir/INBOX/ 21

 Should work just fine.

.. assuming that 'me' comtains your mailserver ..
.. assuming that qmai-config does what you want it to
.. which in my case at least, it didn't! ;-)

C.



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Chris Pugh
Some o/s and compiled packages of qmail contain a
setup script for qmail Florent, I presume this is what
X was talking about?  I set up my current servers from
scratch without such a script, much as you have
probably done.  ( I also don't profess to be an
expert,
either, am learning something new everyday ..! )

Are you still unable to authorise?

Chris.
 
--- Florent Gilain [EMAIL PROTECTED] wrote:
 Sorry X-Istence and Chris,
 
 I'm really a neewbie et Unix...and qmail...
 
 I'm unable to understand what you mean in the last
 mail about qmail-config


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Chris,

I'm still unable to login by telnet...

I installed qmail from sources files by following the Life With Qmail.pdf
documentation...

Florent

-Message d'origine-
De : Chris Pugh [mailto:[EMAIL PROTECTED]
Envoye : mercredi 5 novembre 2003 14:11
A : [EMAIL PROTECTED]
Objet : RE: [vchkpw] telnet authentification ?


Some o/s and compiled packages of qmail contain a
setup script for qmail Florent, I presume this is what
X was talking about?  I set up my current servers from
scratch without such a script, much as you have
probably done.  ( I also don't profess to be an
expert,
either, am learning something new everyday ..! )

Are you still unable to authorise?

Chris.

--- Florent Gilain [EMAIL PROTECTED] wrote:
 Sorry X-Istence and Chris,

 I'm really a neewbie et Unix...and qmail...

 I'm unable to understand what you mean in the last
 mail about qmail-config


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Chris Pugh
If you have made all the necessary changes for
vpopmail's vchpwd, qmail-pop3d is running happily, it
all looks ok, and you are sure there are no errors in
your scripts, then ( and as all the others would tell
you ) .. what do the logs say?  Anything getting in
the way?

Are you able to access the mail boxes via qmailadmin
or webmail via imap ( if you have these installed)?

Last time a similar problem happened to me a server
reboot ( heresy!? ) removed the gremlins and old
processes ..


Chris.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



RE: [vchkpw] telnet authentification ?

2003-11-05 Thread Florent Gilain
Chris,

Here is the output of my pop3d log :

# pwd
/var/log/qmail/pop3d

# tail -f current
@40003fa9101a1f99bab4 tcpserver: status: 0/40
@40003fa9148a007c84f4 tcpserver: status: 1/40
@40003fa9148a0096b414 tcpserver: pid 8669 from 127.0.0.1
@40003fa9148a009bbd24 tcpserver: ok 8669 0:127.0.0.1:110
:127.0.0.1::33120
@40003fa914c92693e484 tcpserver: end 8669 status 256
@40003fa914c926940f7c tcpserver: status: 0/40

HERE IS WHAT I DID TO OBTAIN THIS OUTPUT :

Sun Microsystems Inc.   SunOS 5.9   Generic May 2002
# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass fgilain
-ERR authorization failed
Connection to localhost closed by foreign host.

Florent

-Message d'origine-
De : Chris Pugh [mailto:[EMAIL PROTECTED]
Envoye : mercredi 5 novembre 2003 14:48
A : [EMAIL PROTECTED]
Objet : RE: [vchkpw] telnet authentification ?


If you have made all the necessary changes for
vpopmail's vchpwd, qmail-pop3d is running happily, it
all looks ok, and you are sure there are no errors in
your scripts, then ( and as all the others would tell
you ) .. what do the logs say?  Anything getting in
the way?

Are you able to access the mail boxes via qmailadmin
or webmail via imap ( if you have these installed)?

Last time a similar problem happened to me a server
reboot ( heresy!? ) removed the gremlins and old
processes ..


Chris.

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




[vchkpw] PostOffice Passwords

2003-11-05 Thread Hugo Cisneiros
Hi,

Recently our ISP migrated from PostOffice running Windows 2000 to 
qmail-ldap on Linux. I asked them how they did the conversion of 
passwords, and luckly in the time they migrated, there was this great 
feature on the qmail-ldap patch:

- It also supports the password format used by Software.com's Post.Office

It will be great if we see something similar on the vpopmail. I was 
willing to migrate a company's e-mail from ISP to their internal 
network, but since I get very confused using qmail-ldap, there is no 
other way to do this.

I did think on building vpopmail with the --learn-passwords enabled, but 
there are too much (critical) e-mails, and if someone just set another 
person's password, well, you know... I don't want to this happen.

So is there a way to do this? Maybe we can modify vpopmail's code to 
include the support for PostOffice's Passwords based on qmail-ldap's 
patch? Any ideas?

Thanks in advance,
Hugo



[vchkpw] qmailadmin and apache suexec

2003-11-05 Thread Don Walters
I had qmailadmin installed and working great.  Today, I setup my apache 
server to use suexec.  I noticed my qmailadmin stopped working.  After 
looking through the archives, I found a post where someone mentioned that I 
needed to change the owner, group, and permissions on the qmailadmin file.  
I made them the same user and group as the suexec parameter I specified in 
apache.  Now it is working fine.  My question is... is that OK?  Will I mess 
anything up by running it as a user other than vpopmail.vchkpw?

Thanks in advance.

_
From Beethoven to the Rolling Stones, your favorite music is always playing 
on MSN Radio Plus. No ads, no talk. Trial month FREE!  
http://join.msn.com/?page=offers/premiumradio




[vchkpw] SQWebMail

2003-11-05 Thread Duane Stark
Does SQwebmail have a logfile?  If so, where is it at?

Accounts arent able to login (says bad username/password), and I want to see if it's 
possibly something behind the scenes causing the problem.

Thanks!
Duane




Re: [vchkpw] qmailadmin and apache suexec

2003-11-05 Thread Ken Jones
On Wednesday 05 November 2003 12:09 pm, Don Walters wrote:
 I had qmailadmin installed and working great.  Today, I setup my apache
 server to use suexec.  I noticed my qmailadmin stopped working.  After
 looking through the archives, I found a post where someone mentioned that I
 needed to change the owner, group, and permissions on the qmailadmin file.
 I made them the same user and group as the suexec parameter I specified in
 apache.  Now it is working fine.  My question is... is that OK?  Will I
 mess anything up by running it as a user other than vpopmail.vchkpw?

Basicly qmailadmin needs to be able to create files with
the right ownership. If all the domains are owned by vpopmail:vchkpw
then qmailadmin must either run as that user or be able to switch
the effective uid/gid (uses seteuid() and setegid()).
My guess is your setup won't work. You can easily check
by adding email accounts and forwards. If they work and
the permissions on the files are right, you are set.

Ken Jones




Re: [vchkpw] SQWebMail

2003-11-05 Thread Ken Jones
On Wednesday 05 November 2003 12:17 pm, Duane Stark wrote:
 Does SQwebmail have a logfile?  If so, where is it at?

 Accounts arent able to login (says bad username/password), and I want to
 see if it's possibly something behind the scenes causing the problem.

You can start by looking at your http logs. 
Sometimes when this happens to me it's because
the sqwebmail binary does not have setuid permissions.
That would cause all logins to fail.

Ken Jones





[vchkpw] Re: qmailadmin and apache suexec

2003-11-05 Thread Stephane Bouvard [ML]
Hi,

,- - [ Le mercredi 5 novembre 2003 vers 19:09 Don Walters écrivait: ] - -
|
 I had qmailadmin installed and working great.  Today, I setup my apache 
 server to use suexec.  I noticed my qmailadmin stopped working.  After 
 looking through the archives, I found a post where someone mentioned that I
 needed to change the owner, group, and permissions on the qmailadmin file.
 I made them the same user and group as the suexec parameter I specified in
 apache.  Now it is working fine.  My question is... is that OK?  Will I mess
 anything up by running it as a user other than vpopmail.vchkpw?
|
`- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

In my case, i use a specific virtualhost for qmailadmin, and i set suexec on
this virtualhost to vpopmail.vchkpw

Best regards...
 _
(_'
,_)téphane Bouvard [antarex AT freenet DOT be] http://www.antarex.be

-- 




[vchkpw] Has the format of vpasswd file changed?

2003-11-05 Thread Kleiner, Peter
Greetings folks,

if(you don't care about the explanation) goto QUESTION

:EXPLANATION
I am this close - '' to getting courier-imap to work (well) with vchkpw.
I have compiled courier --without-authdaemon and --with-authvchkpw.

I have been running vpopmail 5.2.1 for a while now, but on someone's
advice I also compiled 5.3.29 and copied libvpopmail.a to the
/home/vpopmail/lib directory, renaming the old one.  I did this, of
course, before I built courier-imap.

When I start courier using tcpserver, I believe that the authentication
process itself is successful, but it craps out, citing the following
failure:
chdir Pop User by CGI: No such file or directory
Looking in that domain's vpasswd file, the format is this:
username:password:1:0:Pop User by CGI:path-to-user's-dir:NOLOGIN
Sometimes the Pop User by CGI is replaced with the username, or
Pop User by CLI.

So my question is this:

:QUESTION
Has the format of the vpasswd file changed between 5.2.x and 5.3.x?
I looked in the docs, ChangeLog and FAQ and can't find anything that
explains the syntax.

I realize my whole setup is cracked, especially the fact that I did
not install vpopmail 5.3.29, that I'm just using the libvpopmail.a
from it.  I didn't want to screw up my vpopmail installation, since
it has been working fine for so long now.

Thanks in advance, and let me know if I need to supply any more info.

PK



Re: [vchkpw] Has the format of vpasswd file changed?

2003-11-05 Thread Michael Bowe
 :EXPLANATION
 I am this close - '' to getting courier-imap to work (well) with vchkpw.
 I have compiled courier --without-authdaemon and --with-authvchkpw.
 
 I have been running vpopmail 5.2.1 for a while now, but on someone's
 advice I also compiled 5.3.29 and copied libvpopmail.a to the
 /home/vpopmail/lib directory, renaming the old one.  I did this, of
 course, before I built courier-imap.

Why did you do this?

 I realize my whole setup is cracked, especially the fact that I did
 not install vpopmail 5.3.29, that I'm just using the libvpopmail.a
 from it.  I didn't want to screw up my vpopmail installation, since
 it has been working fine for so long now.

If you dont want to use the vpopmail 5.3.x devel versions, you should
instead use vpopmail-5.2.2, as this build includes many bugfixes over
the 5.2.1 version, including one very important bug fix that relates
to courier-imap

Michael.




Re: [vchkpw] Re: qmailadmin and apache suexec

2003-11-05 Thread Don Walters

In my case, i use a specific virtualhost for qmailadmin, and i set suexec 
on
this virtualhost to vpopmail.vchkpw
After setting up my vhosts as you described, I discovered that in order for 
apache to run suexec as the vpopmail user, it must run as uid and gid of 89. 
 My suexec is configured to run only uid's and gid's higher than 508.

As I understand it, most apache configs are setup by default to allow only 
uid and gid of 100 or higher to run suexec unless you change it using the 
--configure options for apache when you rebuild.

Can I run qmailadmin as uid and gid of something higher?  How about 600.600? 
 The instructions specifically say to setup vpopmail as 89.89, so there 
must be some special reason why this is chosen.

What worries me... and I'm not sure if I should be cautious here or not... 
the user nobody on my system is 99.99.  So if I lowerd my apache suexec to 
89.89 then the user nobody will be able to run suexec'd on the box.  
Yikes!

_
From Beethoven to the Rolling Stones, your favorite music is always playing 
on MSN Radio Plus. No ads, no talk. Trial month FREE!  
http://join.msn.com/?page=offers/premiumradio




Re: [vchkpw] Old Problem Re-visited

2003-11-05 Thread Tom Collins
On Tuesday, November 4, 2003, at 08:03  AM, Rick Macdougall wrote:
Well my apologies.  Mad props to Michael Bowe then, and a virtual beer 
:)
I'll be meeting Michael face-to-face in a few days.  It just so happens 
that he's less than 100km away from the Melbourne stop on my Australia 
vacation.

Send a few bucks to my PayPal account and I'll buy us both a real beer! 
 :-)

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/