[vchkpw] Re: New user with problems!

2002-10-07 Thread Peter Palmreuther

Hello Christian,

On Monday, October 7, 2002 at 6:58:29 PM you wrote:

> Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed

What user your POP3 daemon is running as? ('-u' switch in tcpserver
clause if you make use of tcpserver)
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




[vchkpw] Re: Forwarding problem 5.3.8

2002-10-07 Thread Peter Palmreuther

Hello Medgyesi,

On Monday, October 7, 2002 at 11:46:51 PM you wrote:

> Nooo I screamed, after installing vpopmail 5.3.8, because the
> problem remained the same..

Make absolutely sure you're using the 'new' vdelivermail binary.

Move the old vpopmail bin directory out of the way

mv ~vpopmail/bin ~vpopmail/bin.old

and do a 'make install-strip'

If it still fails: please provide your complete (and exact) configure
settings for vpopmail, so we might be able to check if there is a
special condition nobody else has met yet.
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]




[vchkpw] RE: [qmailadmin] RE: [vchkpw] Major autorespond problems.

2002-10-07 Thread Brad Dameron


This looks to be another vpopmail bug. There are a few still out there that
have not been corrected even after being reported many times. Not sure how
often it is being worked on anymore. As I don't see many status reports or
even responses to bugs being posted. I for one have posted a bug and how to
reproduce it several times and have yet to get a response back.


---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



> -Original Message-
> From: Tom Collins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 12:02 PM
> To: [EMAIL PROTECTED]
> Cc: vpopmail list; [EMAIL PROTECTED]
> Subject: Re: [qmailadmin] RE: [vchkpw] Major autorespond problems.
>
>
> But I think the intended/preferred behavior should be to not send the
> autoresponse, yet still receive the original message into the mailbox.
> At least that's how I understood the original message, and how I
> understood the behavior of autorespond.
>
> Autorespond shouldn't do anything to affect the delivery of the
> original message.  It should only decide whether to respond or not.
>
> On Monday, October 7, 2002, at 11:21 AM, Brad Dameron wrote:
> > Of course it is going to block the messages. It thinks that she is
> > spamming
> > it with a whole lot of messages. It is doing exactly what it was
> > designed to
> > do. I have never heard of anyone that CC's themselves to make sure the
> > message is delivered. Why not put a request on the message so the
> > client
> > sends the recieved and read message back to her like most people do.
>
> --
> Tom Collins
> [EMAIL PROTECTED]
>
>




[vchkpw] RE: [qmailadmin] RE: [vchkpw] Major autorespond problems.

2002-10-07 Thread Brad Dameron


This is correct. It should still deliver the message just not respond to it.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



> -Original Message-
> From: Tom Collins [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 07, 2002 12:02 PM
> To: [EMAIL PROTECTED]
> Cc: vpopmail list; [EMAIL PROTECTED]
> Subject: Re: [qmailadmin] RE: [vchkpw] Major autorespond problems.
>
>
> But I think the intended/preferred behavior should be to not send the
> autoresponse, yet still receive the original message into the mailbox.
> At least that's how I understood the original message, and how I
> understood the behavior of autorespond.
>
> Autorespond shouldn't do anything to affect the delivery of the
> original message.  It should only decide whether to respond or not.
>
> On Monday, October 7, 2002, at 11:21 AM, Brad Dameron wrote:
> > Of course it is going to block the messages. It thinks that she is
> > spamming
> > it with a whole lot of messages. It is doing exactly what it was
> > designed to
> > do. I have never heard of anyone that CC's themselves to make sure the
> > message is delivered. Why not put a request on the message so the
> > client
> > sends the recieved and read message back to her like most people do.
>
> --
> Tom Collins
> [EMAIL PROTECTED]
>
>




RE: [vchkpw] Forwarding problem 5.3.8

2002-10-07 Thread Medgyesi Gergely


Hi !

Nooo I screamed, after installing vpopmail 5.3.8, because the
problem remained the same..


Any idea?


Bye,

Gergo


-Original Message-
From: Peter Palmreuther [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 07, 2002 9:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Forwarding problem

On Mon, 07 Oct 2002 21:11:54 +0200
Medgyesi Gergely <[EMAIL PROTECTED]> wrote:

> Here's the answers for your questions:
> 
> 1. vpopmail 5.2.1 (Should I upgrade ??)
> 2. qmailadmin 1.0.6
> 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: (
> is the test user name...)
> 
> &[EMAIL PROTECTED]
> /var/vpopmail/domains/nyke.hu//Maildir/
> 
> I completely can't understand this, because if I copy these lines to:
> 
> vpopmail/domains/$domain/.qmail-any_user_name_here
> 
> file, than the forwarding works fine, and the form field remains the
> same as in the original mail.

So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with '&'
styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files.

For testing purposes could you change

&[EMAIL PROTECTED]

to

|forward [EMAIL PROTECTED]

manually?

Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which
I'd personally call 'stable' to get this working, as even if '|forward'
syntax works you'd have to modify qmailadmin. Therefore it might be an
idea to give 5.3.8 a try, as as I said it work here, using exactly this
version, flawless.
-- 
Pit






Re: [vchkpw] Forwarding problem

2002-10-07 Thread Peter Palmreuther

On Mon, 07 Oct 2002 21:11:54 +0200
Medgyesi Gergely <[EMAIL PROTECTED]> wrote:

> Here's the answers for your questions:
> 
> 1. vpopmail 5.2.1 (Should I upgrade ??)
> 2. qmailadmin 1.0.6
> 3. Here's what vpopmail/domains/$domain/$user/.qmail contains: (
> is the test user name...)
> 
> &[EMAIL PROTECTED]
> /var/vpopmail/domains/nyke.hu//Maildir/
> 
> I completely can't understand this, because if I copy these lines to:
> 
> vpopmail/domains/$domain/.qmail-any_user_name_here
> 
> file, than the forwarding works fine, and the form field remains the
> same as in the original mail.

So it seems 'vdelivermail' in vpopmail-5.2.1 has problems with '&'
styled forwards in '~vpopmail/domains/$domain/$user/.qmail' files.

For testing purposes could you change

&[EMAIL PROTECTED]

to

|forward [EMAIL PROTECTED]

manually?

Nevertheless, all in all, I guess you'll need to upgrade to 5.3.8 which
I'd personally call 'stable' to get this working, as even if '|forward'
syntax works you'd have to modify qmailadmin. Therefore it might be an
idea to give 5.3.8 a try, as as I said it work here, using exactly this
version, flawless.
-- 
Pit



[vchkpw] New user with problems!

2002-10-07 Thread Christian [Kanzie] Nilsson

Not quite, I was a bit sloppy writing my mail, ofcoarse I provide the
correct domain according to your recommendation. This does not solve my
problem unfortunally!

Any more ideas?

// Kanzie //

> Hello, My name is Kanzie and I am glad to be a new member to this list
> supporting a excellent tool.
>
> However I have run into problems getting it correctly configured and I do
> have spent my hours in all manuals and howtos I can find, not very many.
The
> problem is still there and no matter what I try to think of or do it just
> wont go away. I am very new to Linux as a operative system which only
> contributes to the problem I guess ;-)
>
> To the facts, when I make a connection to port 110 the vchkpw-daemon
greets
> me and everything seems fine, I enter USER $username
> get the OK, then enter
> $password
> and get Authentification failed as response.
>
> At first I thought it was something fishy with the crypt()-library but
> looking into the logs showed something else. The syslog says:
> Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed errno 1
> [EMAIL PROTECTED]:127.0.0.1
>
> The origin of the problem could be that I already had the GID 89 taken by
> some weird symba mailinglistmanager that I never installed. I did groupdel
> and userdel and then followed the instructions, but still...
>
> Thank in advance for any help I might get!
>
> BTW: The accounts is accurate
>
> Mandrake 8.2, paranoid-mode
> latest qmail with ezmlm and checkpasswd, though checkpasswd has been
> disabled for the use of vchkpw
>
> // Kanzie
>
>





RE: [vchkpw] Major autorespond problems.

2002-10-07 Thread Brad Dameron


A HUP doesn't have Qmail re-send the QUEUE. You need to send it a -ALRM.
---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



> -Original Message-
> From: Steve Fulton [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 05, 2002 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Major autorespond problems.
>
>
> At 19:37 05/10/2002 +0200, Peter Palmreuther wrote:
>
> > From 'autorespond' README: [...]
> >
> >,-= [  ] =-
> >| Notes
> >| =
> >| - If the maximum count has been reached, then the message is not
> >| forwarded on to you.  If you wish to change this behavior, change
> >| _exit(99);   on line 455 for mysql, 440 for the normal one
> >| to:
> >| _exit(0);
> >|
> >`-=
> >
> >Maybe this solves your problem???
> >
> >the line should be, in opposite to what README states, #627 + #698 in
> >2.0.2 & 2.0.3 (the former would not store mails from a 'mailer-daemon'
> >in users mailbox, which I don't understand why it shouldn't).
>
>
> I don't believe that's what is causing the problem.  The message that
> should be delivered is not being delivered.  If I remove the
> autoresponder
> from the end-users .qmail file, the messages are delivered fine.  If the
> autoresponder stays, the messages continue to queue.
>
> I've actually just discovered that while raising the limits of the
> autoresponder help, it is not perfect.  There are still messages
> waiting to
> be delivered, and are not even when I -HUP qmail-send.  I must remove the
> autoresponder from the .qmail file.
>
> -- Steve
>
>




Re: [vchkpw] Getting POP3 mail from shell accounts?

2002-10-07 Thread Peter Palmreuther

On Mon, 7 Oct 2002 18:23:50 +0200
"Sigmund Lundgren" <[EMAIL PROTECTED]> wrote:

> Is it possible to get emails for a local user
> using pop3? It seems like vpopmail only looks
> for virtual users..
> 
> I created a .qmail file for the virtual user 
> set up with the same name redirecting mail to
> the local user. They end up ok in the users
> maildir- but how do I get them from there?

Compiling vpopmail with 'passwd' support should do exactly this.
I haven't tested so far, but vchkpw authenticating against
'/etc/passwd' (system user == local user) should set the correct home
directory for qmail-pop3d to fetch the e-mail from.

'Downside' is you'll have to let POP3-daemon run as root to be able to
chuid() to system user, while using only vpopmail-virtual users running
as vpopmail-uid should be enough (assuming all vpopmail-domains running
as vpopmail-user).
-- 
Pit



Re: [vchkpw] Forwarding problem

2002-10-07 Thread Peter Palmreuther

On Mon, 07 Oct 2002 18:15:46 +0200
Medgyesi Gergely <[EMAIL PROTECTED]> wrote:

> When I modify an account and set "KEEP & FORWARD"
> Then the mail forwards to the desination BUT the
> Header of the message changes so to FROM FIELD will be
> The following: [EMAIL PROTECTED]

1.) Which vpopmail version
2.) Which qmailadmin version
3.) What's the result of

cat ~vpopmail/domains/$domain/$user/.qmail

with '$domain' replaced with your domain name and '$user' replaced with
correct user name whom the 'keep & forward' is setup for???

I've tested your scenario and can't confirm your problem with vpopmail
v5.3.8 & qmailadmin v1.0.6.
-- 
Pit



RE: [vchkpw] Major autorespond problems.

2002-10-07 Thread Brad Dameron

Of course it is going to block the messages. It thinks that she is spamming
it with a whole lot of messages. It is doing exactly what it was designed to
do. I have never heard of anyone that CC's themselves to make sure the
message is delivered. Why not put a request on the message so the client
sends the recieved and read message back to her like most people do.

The thing is, there is no problem with vpopmail or the autoresponder. It is
how they or you are trying to use it. There are reason's it is setup like it
is. To prevent autoresponder loops. What if her autoresponder responds to
another autoresponder, then that one responds back, and yes another
autoresponder get's in the loop because someone else has one, then it
responds back. Before you know it you have hundreds of duplicate messages
because of looping issues.  The reason it is stopping at 3 messages is
because it see's the message as coming from HER. Which infact it is coming
from her. So it hits the 3 message limit from one individual. EXACTLY how it
is designed and configured.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



> -Original Message-
> From: Steve Fulton [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 05, 2002 1:01 AM
> To: vpopmail list
> Cc: [EMAIL PROTECTED]
> Subject: [vchkpw] Major autorespond problems.
>
>
> Hi all,
>
> Some of you may recall my recent troubles/complaints with autorespond
> (which is required for the QmailAdmin package), and how I went
> about trying
> to solve it.  For what its worth, my efforts appear to have
> failed.  Let me
> explain.
>
> I have had a number of complaints from a very large corporate client
> regarding delayed e-mails.  These complaints are getting steadily
> worse.  Some can be attributed to issues not related to the
> function of the
> mail server in question, but unfortunately most can.  To best
> explain what
> is happening, I am going to demonstrate how this situation comes about,
> step by step.
>
> 1.  High-powered corporate executive sends out many e-mails to many
> employees each day.  This executive follows company policy and
> CC's herself
> on every message she sends.  She also, like many in her company,
> makes use
> of the vacation/autoresponder function within QmailAdmin daily.
>
> 2.  Executive sends 5 e-mails one morning.  She notices that she receives
> only 3 of her CC'ed copies, and receives the others later (ranging from 1
> to 5 days, usually during the weekend [clue!]).  She receives complaints
> from others, who also use vacation/autoresponder [clue!].
>
> 3.  Diligent sysadmin checks logs .. delivering okay.  Sysadmin checks
> queue .. hmm, missing messages in queue.  Sysadmin -HUP's qmail-send and
> see's some messages delivered, sometimes, and sometimes none.  Sysadmin
> checks logs, and see's messages from autorespond saying too many messages
> received from user, delaying.
>
> I hope you're still with me.
>
> This is what I believe is happening:  The messages are being
> delivered, and
> auto-responses are being sent until the hard-coded limit of 3 messages in
> 86400 minutes (1 day) from a single user are received.  Then autorespond
> does not send an response to the sender, and for some reason, the
> original
> message is NOT delivered and is re-queued for later.
>
> That is not acceptable.
>
> This problem occurred using an unmodified autorespond (2.03) and using my
> modified version of that program (which was supposed to pass the proper
> error codes to vdelivermail).  Has anyone else experienced this?
>
> There are three ways I can approach solving this:
>
> 1.  Remove the vacation/autorespond option from my
> customers.  Unfortunately this is not an option.
>
> 2.  Modify QmailAdmin to increase the autorespond limits it
> creates within
> the users .qmail file.  I'm tempted to increase them 100 fold
> just to save
> some hassle, but this doesn't solve the overall issue.
>
> 3.  Work to fix this, even if it means modifying autorespond again.  And
> there is also the possibility that autoresponder isn't the entire
> problem,
> but vdelivermail as well (which explains why I'm posting this on the
> Vpopmail list).
>
> So, without further ado, a little help?
>
> -- Steve
>
>




Re: [vchkpw] New user with problems!

2002-10-07 Thread Alfredo Perez

  Hi Kanzie ,


 In order to authenticate on a virtual domain basis, you muse provide
the username including the domain, as:

USER [EMAIL PROTECTED]
PASS *


 This is, because since you can have multiple domains using only one IP
address the user must specify which domain does he belong.


 That should solve your problem.



 Have a nice Day !



El lun, 07-10-2002 a las 10:58, Christian [Kanzie] Nilsson escribió:
> Hello, My name is Kanzie and I am glad to be a new member to this list
> supporting a excellent tool.
> 
> However I have run into problems getting it correctly configured and I do
> have spent my hours in all manuals and howtos I can find, not very many. The
> problem is still there and no matter what I try to think of or do it just
> wont go away. I am very new to Linux as a operative system which only
> contributes to the problem I guess ;-)
> 
> To the facts, when I make a connection to port 110 the vchkpw-daemon greets
> me and everything seems fine, I enter USER $username
> get the OK, then enter
> $password
> and get Authentification failed as response.
> 
> At first I thought it was something fishy with the crypt()-library but
> looking into the logs showed something else. The syslog says:
> Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed errno 1
> [EMAIL PROTECTED]:127.0.0.1
> 
> The origin of the problem could be that I already had the GID 89 taken by
> some weird symba mailinglistmanager that I never installed. I did groupdel
> and userdel and then followed the instructions, but still...
> 
> Thank in advance for any help I might get!
> 
> BTW: The accounts is accurate
> 
> Mandrake 8.2, paranoid-mode
> latest qmail with ezmlm and checkpasswd, though checkpasswd has been
> disabled for the use of vchkpw
> 
> // Kanzie
> 
> 





[vchkpw] New user with problems!

2002-10-07 Thread Christian [Kanzie] Nilsson

Hello, My name is Kanzie and I am glad to be a new member to this list
supporting a excellent tool.

However I have run into problems getting it correctly configured and I do
have spent my hours in all manuals and howtos I can find, not very many. The
problem is still there and no matter what I try to think of or do it just
wont go away. I am very new to Linux as a operative system which only
contributes to the problem I guess ;-)

To the facts, when I make a connection to port 110 the vchkpw-daemon greets
me and everything seems fine, I enter USER $username
get the OK, then enter
$password
and get Authentification failed as response.

At first I thought it was something fishy with the crypt()-library but
looking into the logs showed something else. The syslog says:
Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed errno 1
[EMAIL PROTECTED]:127.0.0.1

The origin of the problem could be that I already had the GID 89 taken by
some weird symba mailinglistmanager that I never installed. I did groupdel
and userdel and then followed the instructions, but still...

Thank in advance for any help I might get!

BTW: The accounts is accurate

Mandrake 8.2, paranoid-mode
latest qmail with ezmlm and checkpasswd, though checkpasswd has been
disabled for the use of vchkpw

// Kanzie





[vchkpw] Forwarding problem

2002-10-07 Thread Medgyesi Gergely

Hi all !

I'm using qmail with vpopmail and qmailadmin.

My poblem is, when I create an alias or a
forward for an address. Everything goes just right,
The mail arrives at its' destination and the "From field"
Remains the same as in the original message.

BUT 


When I modify an account and set "KEEP & FORWARD"
Then the mail forwards to the desination BUT the
Header of the message changes so to FROM FIELD will be
The following: [EMAIL PROTECTED]

Can anyone help me how to make vpopmail and
Qmailadmin to set such forwards, that doesn't
Change the FROM field in a message?

Thanks in advance.

PS. Sorry for my bad english...


Bye,


Gergő





[vchkpw] Getting POP3 mail from shell accounts?

2002-10-07 Thread Sigmund Lundgren

Is it possible to get emails for a local user
using pop3? It seems like vpopmail only looks
for virtual users..

I created a .qmail file for the virtual user 
set up with the same name redirecting mail to
the local user. They end up ok in the users
maildir- but how do I get them from there?

/S





Re: [vchkpw] vpopmail and OpenLDAP with kerberos ?

2002-10-07 Thread David Wilson



Hi Guys,Thanks for all the help - greatly appreciated.With all 
of your help I eventually got it right.Keep well.
Many thanks and kind regards.
 
David WilsonDcData+27 83 787 7424http://www.dcdata.co.za
 
LinuxBox S.A - Africa's largest online Linux communityhttp://www.linuxbox.co.zaPowered by 
Linux, driven by passion !


Re: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?

2002-10-07 Thread Vladimir Kabanov

If I understand you ok, you used an exported ldif file from netscape to
setup all your existing mail accounts to qmail/vpopmail, right?
-- absolutely

Using  ldap as auth engine on vpopmail's ldap module, or local userdb files?
-- no, just mysql as storage

You imported your cyphered SHA-1 strings from netscape database, ok.
Then, once inserted in vpopmail users database, vchkpw and authdaemon
recognize such SHA-1 strings to validate users' passwords?

-- yes, some vpopmail code was modified to support this format.
so you can have sha-1 passwords & md-5 passwords at the same time.






Re: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?

2002-10-07 Thread "Gonzalo G. Agulló"

Vladimir, thank you for your mail,

If I understand you ok, you used an exported ldif file from netscape to 
setup all your existing mail accounts to qmail/vpopmail, right? Using 
ldap as auth engine on vpopmail's ldap module, or local userdb files?

My testing setup is using vpopmail's local cdb files. I should add ldap 
support to really migrate my current setup maintaining the current 
structure, but docs and comments from vpopmail people discourage me from 
ldap usage, so I'm worried on this. Why yes, why not?

You imported your cyphered SHA-1 strings from netscape database, ok. 
Then, once inserted in vpopmail users database, vchkpw and authdaemon 
recognize such SHA-1 strings to validate users' passwords?

Rick Romero <[EMAIL PROTECTED]> pointed to --enable-learning-passwords 
as an alternate feature for some migrating projects. It's a good option, 
just in case. But direct support for SHA-1 password would be 100% 
straight to the problem.

And about mailboxes, I found out that their contents can be copied to 
each user's Maildir/new directory (after parsing them with any dos2unix 
tool, to remove extra trailing CR/LF). Good point is that it's an easy 
way to restore messages from the older server. Bad point is that all 
those old messages appear as new stuff in INBOX, not preserving previous 
folders estructure.

If you can send that work, it'd be great, thank you
Will keep in contact to discuss some migration questions, on list or 
privately if it becomes too specific for the list...



Vladimir Kabanov wrote:
> more than 1 year ago i've got almost the same questions, when had to migrate
> from netscape messaging server.
> as i found no answers, so decide to do work by myself.
> first of all, i wrote a small program on C to parse LDIF from netscape'
> exported user database.
> things got exported: mailboxes, quotas, aliases, forwarders, passwords in
> (yeah) SHA-1 standard.
> next thing: i found a way to create password hashes in SHA-1.
> as we have only one mail domain serviced by netscape there no support for
> domains parsing,
> but it shouldnt be too hard to add such support.
> 
> mailboxes created leaved empty, all their contents leaved on old server, so
> users had to download their emails manually.
> if you are interested i can send you that my old work
> 
> - Original Message -
> From: "Gonzalo G. Agulló" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 1:13 AM
> Subject: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?
> 
> 
> 
>>Hi,
>>
>>I'm trying to migrate from Netscape Mail to Qmail. I got qmail, vpopmail
>>and courier-imap installed, but I have some doubts about the migrating
>>path to get as many features as posible without users intervention.
>>
>>I'd like to preserve the NS Mail ldap scheme for the users database
>>using Openldap, but I read some comments about advising not to use
>>vpopmail's ldap module but vpasswd.cdb local db or mysql db.
>>
>>Currently it's running without ldap, just local cdb, and it's working
>>fine with Courier imapd, but courier-popd fails to authenticate (same
>>username and password is accepted ok via imapd). I configured popd to
>>use the same authdaemon configuration as imapd but it refuses all
>>logins. I traced logs, tested authtest tool and everything seems ok. If
>>I get back to qmail-pop3d with vchkpw enabled, it does work. Dunno why!
>>
>>I also need to preserve users' current ciphered passwords (SHA-1) as
>>stored in ldap directory, but cannot find sha support in vpopmail
>>(despite courier's authdaemon understands SHA passwords). How can I keep
>>users passwords, if possible?
>>
>>My users currently use a "username.domain.com" scheme as pop usernames
>>to login to their mailboxes at Netscape server. I'm trying to use the
>>dot as domain separator when they login to vpopmail/courier, but I
>>didn't find info about that subject. Is that supported?
>>
>>My target is qmail+vpopmail+ldap+courier+imp to get the same services as
>>of netscape, with mailboxes contents and users database transparently
>>moved to qmail, but I don't have a clear migrating path yet to get the
>>same features with no user impact. :(
>>
>>Advice would be very welcome, specially on users directoy, sha-1 and
>>domain separator stuff.
>>
>>Thanks
>>
>>
> 
> 





Re: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?

2002-10-07 Thread Vladimir Kabanov

more than 1 year ago i've got almost the same questions, when had to migrate
from netscape messaging server.
as i found no answers, so decide to do work by myself.
first of all, i wrote a small program on C to parse LDIF from netscape'
exported user database.
things got exported: mailboxes, quotas, aliases, forwarders, passwords in
(yeah) SHA-1 standard.
next thing: i found a way to create password hashes in SHA-1.
as we have only one mail domain serviced by netscape there no support for
domains parsing,
but it shouldnt be too hard to add such support.

mailboxes created leaved empty, all their contents leaved on old server, so
users had to download their emails manually.
if you are interested i can send you that my old work

- Original Message -
From: "Gonzalo G. Agulló" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 1:13 AM
Subject: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?


> Hi,
>
> I'm trying to migrate from Netscape Mail to Qmail. I got qmail, vpopmail
> and courier-imap installed, but I have some doubts about the migrating
> path to get as many features as posible without users intervention.
>
> I'd like to preserve the NS Mail ldap scheme for the users database
> using Openldap, but I read some comments about advising not to use
> vpopmail's ldap module but vpasswd.cdb local db or mysql db.
>
> Currently it's running without ldap, just local cdb, and it's working
> fine with Courier imapd, but courier-popd fails to authenticate (same
> username and password is accepted ok via imapd). I configured popd to
> use the same authdaemon configuration as imapd but it refuses all
> logins. I traced logs, tested authtest tool and everything seems ok. If
> I get back to qmail-pop3d with vchkpw enabled, it does work. Dunno why!
>
> I also need to preserve users' current ciphered passwords (SHA-1) as
> stored in ldap directory, but cannot find sha support in vpopmail
> (despite courier's authdaemon understands SHA passwords). How can I keep
> users passwords, if possible?
>
> My users currently use a "username.domain.com" scheme as pop usernames
> to login to their mailboxes at Netscape server. I'm trying to use the
> dot as domain separator when they login to vpopmail/courier, but I
> didn't find info about that subject. Is that supported?
>
> My target is qmail+vpopmail+ldap+courier+imp to get the same services as
> of netscape, with mailboxes contents and users database transparently
> moved to qmail, but I don't have a clear migrating path yet to get the
> same features with no user impact. :(
>
> Advice would be very welcome, specially on users directoy, sha-1 and
> domain separator stuff.
>
> Thanks
>
>




Re: [vchkpw] dot character as domain separator (ATCHARS)?

2002-10-07 Thread Peter Palmreuther

On Mon, 07 Oct 2002 11:47:36 +0200
"Gonzalo G. Agulló"<[EMAIL PROTECTED]> wrote:

> As required by a migration I'm involved with, pop/imap login names
> have to be formatted as 'username(dot)domain(dot).com', using dot as a
> 
> separator instead of common @% characters.
> 
> I took a look at source code and found ATCHARS defined in vpopmail.h.
> Is it safe to add the dot sign? Might break code? I did the test and
> it seems to work ok, but unsure if might find problems elsewhere

Might lead to problems with e-mail-addresses like

a.gullo@
-- 
Pit



[vchkpw] dot character as domain separator (ATCHARS)?

2002-10-07 Thread "Gonzalo G. Agulló"

Hi,

As required by a migration I'm involved with, pop/imap login names have 
to be formatted as 'username(dot)domain(dot).com', using dot as a 
separator instead of common @% characters.

I took a look at source code and found ATCHARS defined in vpopmail.h. Is 
it safe to add the dot sign? Might break code? I did the test and it 
seems to work ok, but unsure if might find problems elsewhere

Thanx




Re: [vchkpw] Moving from Netscape Mail server to Qmail+Vpopmail?

2002-10-07 Thread "Gonzalo G. Agulló"

Rick Romero wrote:
> On Thu, 2002-10-03 at 09:13, "Gonzalo G. Agulló" wrote:
> 
>>Hi,
> 
> -snip-
> 
>>I also need to preserve users' current ciphered passwords (SHA-1) as 
>>stored in ldap directory, but cannot find sha support in vpopmail 
>>(despite courier's authdaemon understands SHA passwords). How can I keep 
>>users passwords, if possible?
>>
> 
> I belive :
>  --enable-learn-passwords=y|n   Turn on (y) or off (n, default) if
> password is blank, learn password when they pop auth.
> 
> would work for that at least.  (5.3.8)
> 
> Rick
> 


Thank you!

It's a very valuable workaround I will consider, but question about SHA
support is still on the air.