Re: can I use APOP for /etc/passwd users with vpopmail 5.0 ?

2001-10-06 Thread Vladimir Kabanov

 Subject: can I use APOP for /etc/passwd users with vpopmail 5.0 ?

guess now,
but hope soon it become possible for virtual users.




Re[2]: Revised rbl patch

2001-10-06 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Einar,

Friday, October 05, 2001, 9:45:53 PM, you wrote:
 Thats simple, run ident on your machine, telnet qmailhost 25 and
 the regular smtp talk. You'll then see that (user@IP) occure.


No. I for sure won't mess with inetd.




Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO77YtcZa2WpymlDxAQGKfgf7BiFegE2aI60VY+H/HPPbFKgV43t0GRTS
5cBwCERhzOWXNXoTBFyvjvVwkHtMKZ6V/Q9zkCMHopx85avIzMkYo200vGdCmZzo
boGztbT+hB99IWHwW1GS+9bwcJHW62gxZb70P2WaWV1T7WgLY7DmQ5GLK4iW1CqI
3E++NLUnK4gWaG+XIxD/nnP44n7VLcsqbOFBHzaj6sT5tDuTYe+/PKVk5Sgsb9KH
uzbe7v2IWZ2Tom04XNArbHHR8tcUE0bXH8PDDn0Ih5SjjAN1byUOFiN3w6id4g/0
zYiGObKGLbAoqLQq4gSHtaurf83gxd7Wfghnvb34Obj6kU0nRfAjyg==
=0MVx
-END PGP SIGNATURE-




Moving the user database

2001-10-06 Thread Romain Griffiths

I'd like to move my user and domains database which runs vpopmail-4.9.10
to a new computer running vpopmail-5.0.

I use the default user/domain storing facility in vpopmail-4.9.10 (I do
not use any mysql or ldap database backend).

User/domain/mails/passwords seems to be in ~vpopmail/domains so I'd
like to know if moving the domain file hierarchie will be enough to move
all vpopmail data ?


This is the protocol I have planned :

1) stop qmail-smtpd
2) stop qmail-pop3d
3) stop qmailadmin et vqadmin (httpd stop)
4) wait for the qmail-queue to be empty 
5) copy ~qmail/control to the new mailserver
6) move ~vpopmail/domains to the new mailserver
7) shut down the old mailserver
8) change the ip address of the new mailserver to match the old address.
9) take a beer.

Does this protocol seems correct ?

What is ~vpopmail/users ?


Thank you.






Re: Moving the user database

2001-10-06 Thread Brandon Ramirez

You need to copy ~qmail/users also.

- Original Message - 
From: Romain Griffiths [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 06, 2001 12:56 PM
Subject: Moving the user database


 I'd like to move my user and domains database which runs vpopmail-4.9.10
 to a new computer running vpopmail-5.0.
 
 I use the default user/domain storing facility in vpopmail-4.9.10 (I do
 not use any mysql or ldap database backend).
 
 User/domain/mails/passwords seems to be in ~vpopmail/domains so I'd
 like to know if moving the domain file hierarchie will be enough to move
 all vpopmail data ?
 
 
 This is the protocol I have planned :
 
 1) stop qmail-smtpd
 2) stop qmail-pop3d
 3) stop qmailadmin et vqadmin (httpd stop)
 4) wait for the qmail-queue to be empty 
 5) copy ~qmail/control to the new mailserver
 6) move ~vpopmail/domains to the new mailserver
 7) shut down the old mailserver
 8) change the ip address of the new mailserver to match the old address.
 9) take a beer.
 
 Does this protocol seems correct ?
 
 What is ~vpopmail/users ?
 
 
 Thank you.
 
 
 
 




Re: Re[2]: Revised rbl patch

2001-10-06 Thread Einar Bordewich

- Original Message -
From: Gabriel Ambuehl [EMAIL PROTECTED]
To: Einar Bordewich [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, October 06, 2001 1:10 PM
Subject: Re[2]: Revised rbl patch


 -BEGIN PGP SIGNED MESSAGE-

 Hello Einar,

 Friday, October 05, 2001, 9:45:53 PM, you wrote:
  Thats simple, run ident on your machine, telnet qmailhost 25 and
  the regular smtp talk. You'll then see that (user@IP) occure.


 No. I for sure won't mess with inetd.

Who's talking about inetd here? And yes, how wants to mess around with inetd
;-) I talk about identd, authentication service known as both ident and auth
tcp/udp 113. A good mailserver has a PTR and answeres on ident requests.
--

IDG New MediaEinar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:  eibo(at)newmedia.no
Lat: 59.91144 N  Lon: 10.76097 E






Re: vpopmail or qmail problem

2001-10-06 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello jquest,

Friday, October 05, 2001, 7:08:24 PM, you wrote:
 # ./vadduser [EMAIL PROTECTED]
 Please enter password for [EMAIL PROTECTED]:
 enter password again:
 Error: Domain does not exist
 # ./vadddomain test.com
 Please enter password for postmaster:
 enter password again:
 Error: Domain already exists
 # ./vadduser [EMAIL PROTECTED]
 Please enter password for [EMAIL PROTECTED]:
 enter password again:
 Error: Domain does not exist


 Where is the problem?

Did you compile vpopmail from sources?
If so, could you do
grep vaddaliasdomain
in the directory you compiled vpopmail and send us the results?




Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO782+cZa2WpymlDxAQELBQf/WH7lV3ffUjnHou6Kp47MNgW8G7yWkbya
LglZAqCEQMSkxiQDPzuAr90Pe0t+htOQQdzx5BfivM6y2ZumZ2BzSqWCPJ7rtPrR
8wiBcio6oV+f9CKCOTbz01rZ0OFw0Ym+r/RCucJG0RuIXT08MPqTYvsGWf+7RvCD
wjKl5BRRfQiEqIvtNF9POlOpldcbBIf0X4+pmXHxkH5FqbfG3qG4TPuPAai+y8jw
CFQYKlab0broq91DzYwRbAX8fWyD3RJezG92rMgewCtvi+dzCt+3gwJXGund4QTi
nUQUoZlf+lZUVrhj7t7A1ZdzoeDY9Rs2zfOA52gB2h5SE8lfChSF6w==
=BBZJ
-END PGP SIGNATURE-




vpopmail + maildrop + sqwebmail + qmail :)

2001-10-06 Thread Ricardo Manuel Oliveira

 Hi everyone.

 I've been a silent reader of this list some months from
now, and a regular vpopmail user almost 2 years from now.

 So far I haven't had a single problem with my setups, which
are composed by qmail+vpopmail+sqwebmail.

 Now, I'm building a system which, appart from every feature
the old one had, would give also the ability to create
filters via WWW (sqwebmail).

 The short story:

 qmail-1.03
 vpopmail-4.9.10
 sqwebmail (support for vpopmail auth)
 maildrop-1.3.4

 To give my users the ability to filter their own email, I
created the following structure:

 (in this case, this user's virtual home is in
...domain.com/0/user, but to some of them their home is
...domain.com/user).

~vpopmail/domains/test.com/0/user/.qmail contains:

| maildrop 
/svcs/vpopmail/domains/test.com/0/test/Maildir/.maildirfilter


And
/svcs/vpopmail/domains/test.com/0/test/Maildir/maildirfilterconfig
contains:

MAILDIRFILTER=/svcs/vpopmail/domains/test.com/0/test/Maildir/.maildirfilter
MAILDIR=/svcs/vpopmail/domains/test.com/0/test/Maildir


 As per sqwebmail's instructions, I login via sqwebmail and
click on the Save Rules option, which creates a file named
.maildirfilter in
/svcs/vpopmail/domains/test.com/0/test/Maildir/ .

 Its content is as follows:

#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE.  This is an automatically generated
filter.

FROM=''

to /svcs/vpopmail/domains/test.com/0/test/Maildir/.



 This is what the logs show after sending a message to
[EMAIL PROTECTED]:


Oct  6 18:29:10 zbr qmail: 1002389350.013670 new msg 1102032
Oct  6 18:29:10 zbr qmail: 1002389350.013774 info msg
1102032: bytes 3150 from [EMAIL PROTECTED] qp 5949 uid 513
Oct  6 18:29:10 zbr qmail: 1002389350.088228 starting
delivery 706: msg 1102032 to local [EMAIL PROTECTED]
Oct  6 18:29:10 zbr qmail: 1002389350.088326 status: local
2/10 remote 0/20
Oct  6 18:29:10 zbr qmail: 1002389350.088355 delivery 705:
success: did_0+0+1/
Oct  6 18:29:10 zbr qmail: 1002389350.088384 status: local
1/10 remote 0/20
Oct  6 18:29:10 zbr qmail: 1002389350.088410 end msg 1102031
Oct  6 18:29:10 zbr qmail: 1002389350.198989 new msg 1102031
Oct  6 18:29:10 zbr qmail: 1002389350.199090 info msg
1102031: bytes 3248 from [EMAIL PROTECTED] qp 5955 uid 513
Oct  6 18:29:10 zbr qmail: 1002389350.267236 starting
delivery 707: msg 1102031 to local [EMAIL PROTECTED]
Oct  6 18:29:10 zbr qmail: 1002389350.267334 status: local
2/10 remote 0/20
Oct  6 18:29:10 zbr qmail: 1002389350.267364 delivery 706:
success: did_0+0+1/
Oct  6 18:29:10 zbr qmail: 1002389350.267392 status: local
1/10 remote 0/20


This goes on and on, forming a loop. Just after I delete the
corresponding .qmail file (the one in /user/), the
message gets delivered. In the message headers, I see a LONG
list of:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9369 invoked by uid 513); 6 Oct 2001
23:10:28 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9362 invoked by uid 513); 6 Oct 2001
23:10:28 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9354 invoked by uid 513); 6 Oct 2001
23:10:27 -
Delivered-To: [EMAIL PROTECTED]


 Note that this isn't really a filter, although it is one by
definition - it just tries to deliver the email to this
user's Maildir. One other piece of information: I am NOT
running maildrop as the default MDA - I'm just running it in
every user's .qmail file (YES, it's a pain but this way I
control whose users are able to filter email).


 Any help is greatly appreciated. 


Ricardo Manuel Oliveira



lastauth table in Vpop5

2001-10-06 Thread cbunnell

Anyone else notice that the lastauth table in 5.0 (maybe anything after
4.9.10 too...) doesn't use a nice timestamp anymore?  It used to be human
readable format, now it's ticks...  or have I screwed something up during
install?

No big deal, just wondering why it changed - or more importantly - if I
screwed up.

Chris Bunnell

Senior Engineer - Network Implementation
Sonic Internet Services
9719 Lincoln Village Dr. #505
Sacramento, CA. 95827
(916) 854-5940
www.sonicisp.net
Powered by Sun.
My other OS is
your Linux box.




Writing a new vauth.c

2001-10-06 Thread Troy Settle


I was going to use vsybase, but it's not up to date.  That's ok, because
it's not exactly what I need anyways.  I'm looking to create a read-only
interface to MSSQL (running against the Platypus database).  The new module
will be vplatypus.c

For delivery and POP/IMAP/Sqwebmail authentication, do I need to implement
anything other than vauth_getpw()?  All other functions would just return 0.

If I fail to connect to the database, what do I need to return in order to
trigger a deferral?  From what I've been able to see in the vmysql.c code,
I'm thinking that I should set verrori to VA_NO_AUTH_CONNECTION and
return(NULL).  Is this correct?

Last, because of the database schema, there is no crypted password.  Is this
ok, or do I need to go ahead and create one from the clear text password?
If so, will this work?

  pwent.pw_passwd = crypt(pwent.pw_clear_passwd,'xx');

Many thanks,

--
  Troy Settle
  Pulaski Networks
  540.994.4254 - 866.477.5638
  http://www.psknet.com