Migrating a vpopmail Linux box to FreeBSD

2000-07-27 Thread Gabriel Ambuehl

Hello,
I've got a SuSE Linux 6.3 server which runs vpopmail 4.8.5 and needs
to be migrated to FreeBSD 4-Stable (or 4.1 if you want to call it that
way). So what do I have to copy over to the new machine beside
/home/vpopmail/domains
/var/qmail/control
in order to save all of the configuration information needed by
qmail and vpopmail (server is configured like suggested in Life with
Qmail with one minor change: qmail-popup runs under tcpserver but I
intend to take all the startup stuff from the existing FreeBSD
servers anyway ;-)?

Is it a good idea to create a /etc/qmail dir to save all
the configuration informations there and just make symlinks to /var/qmail?

  


Best regards,
 Gabriel





Re: Obtaining the e-mails using POP3

2000-07-27 Thread Juergen Hoffmann

Hi,

telnet host 110
user example%domain.com
pass password

kind regards

Juergen Hoffmann

Andrés [[EMAIL PROTECTED]] wrote:
- Hello.
- 
- I've configured vpopmail and I would like to know which username I have to
- enter to receive my e-mails using POP3. I suppose that I'll have to tell the
- server that I'm the user "example" from "domain.com", how do I do this?
- 
- And how do I read my e-mails using Sqwebmail?
- 
- Thanks.
- 

-- 
Mit freundlichen Gruessen
Juergen Hoffmann
---
LueneCom ISC  Juergen Hoffmann
   Rote Str. 9-10   System Administrator
  21335 Lueneburg
  +49-4131-731904  [EMAIL PROTECTED]
  +49-4131-731906  http://www.luenecom.de
---
my quote of the day:
  And that's the way it is...
-- Walter Cronkite



Re: Vpopmail authentication

2000-07-27 Thread Juergen Hoffmann

Hi,

you have to login via the following

telnet mail.server.com 110
user user%vdom.com
pass password

kind regards

Juergen Hoffmann

Andrés [[EMAIL PROTECTED]] wrote:
- Hi there,
- 
- I want to configure my client (Outlook Express under M$) to connect to a
- mailbox under a virtual domain. I have created the domain e.g. vdom.com and
- I have created a user (named info). But I can't make a connection at all, I
- always get a "-ERR authorization failed".
- 
- I added the line containing "/home/vpopmail/bin/vchkpw qmail-pop3d Maildir"
- to my /etc/rc.d/init.d/qmail-pop3d.init file but it doesn't work.
- 
- It seems that vchkpw dies too fast.
- 
- How can I solve this?
- 
- My virtual users can receive e-mails but can't download it using pop3 nor
- sqwebmail.
- 
- Thanks.
- 

-- 
Mit freundlichen Gruessen
Juergen Hoffmann
---
LueneCom ISC   Juergen Hoffmann
Rote Str. 9-10 System Administrator
21335 Lueneburg
+49-4131-731904  [EMAIL PROTECTED]
+49-4131-731906  http://www.luenecom.de
---
my quote of the day:
   If only you knew she loved you, you could face the uncertainty of
   whether you love her.



Re: Please help - something is strange

2000-07-27 Thread Juergen Hoffmann

Hi,

could it be that you have identd running?

kind regards 

Juergen Hoffmann

James Beam [[EMAIL PROTECTED]] wrote:
- I just finished installing vpopmail-4.8.6 on SUSE 6.4 Linux. I have everything 
working, but I am noticing a serious delay when trying to check mail via POP3 - it 
takes almost 20 seconds before the server will respond. It does this on both SMTP and 
POP3. Now this server is running a PIII600 with 256meg RAM - and no live domains are 
currently running on it.
- 
- You can see the delay by telneting to 206.20.158.62 ports 110 and 25 - it will take 
20 or so seconds before the server will even respond!
- 
- Qmail 1.03 w/DNS and Tarpit patch
- ucspi-tcp-0.88
- vpopmail-4.8.6
- daemontools-0.70
- 
- That is what I am running.
- 
- Here is my POP3 start string:
- 
- /usr/local/bin/tcpserver -uXXX -gXXX 0 pop3 /var/qmail/bin/qmail-popup 
biznizweb.com 
- /mail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
- 
- All one line (in case your client wraps it)
- 
- Please, if anyone can help or make a suggestion.
- 
- Thanks in advance,
- 
- James Beam
- BiznizWEB, Inc.

-- 
Mit freundlichen Gruessen
Juergen Hoffmann
---
Juergen Hoffmann   LueneCom ISC
System Administrator Rote Str. 9-10
21335 Lueneburg
[EMAIL PROTECTED]  +49-4131-731904
http://www.luenecom.de  +49-4131-731906
---
my quote of the day:
Of all the words of witch's doom
There's none so bad as which and whom.
The man who kills both which and whom
Will be enshrined in our Who's Whom.
-- Fletcher Knebel



Re: Please help - something is strange

2000-07-27 Thread asantos

From: Juergen Hoffmann [EMAIL PROTECTED]

could it be that you have identd running?


Allow me to correct:

"could it be that you *don't* have identd running?"

Armando







Re: Vpopmail authentication

2000-07-27 Thread Andrés



  I want to configure my client (Outlook Express under M$) to connect to a
  mailbox under a virtual domain. I have created the domain e.g. vdom.com
and
  I have created a user (named info). But I can't make a connection at
all, I
  always get a "-ERR authorization failed".

 You are using "username%domain.com" as the login POP name in Outlook?

Yes, I've tried that but I think that the problem must be in vchkpw because
it doesn't appears to be running. If I execute it it doesn't stays running,
it closes :-?

Is there any way to see a debug of what's happening?




Re: Please help - something is strange

2000-07-27 Thread asantos

From: James Beam [EMAIL PROTECTED]
/usr/local/bin/tcpserver -uXXX -gXXX 0 pop3 /var/qmail/bin/qmail-popup
biznizweb.com
/mail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

All one line (in case your client wraps it)


Please rewind identd and dns answers back. :)

The delay can be caused by you not having identd running *on the machine you
telnet from*. Is can also be caused by the machine you telnet from not
having a correct reverse IP entry.

To disable identd checking, use -R on tcpserver line above.

To disable reverse host lookup, use -H.

By exploring these two flags and its combinations, you can deduce whats
wrong.

Something similar must be done to the smtp line, of course.

Armando





Re: Please help - something is strange

2000-07-27 Thread Juergen Hoffmann

Hi,

exactly.

kind regards

Juergen Hoffmann


asantos [[EMAIL PROTECTED]] wrote:
- From: James Beam [EMAIL PROTECTED]
- 
- Nope - identd is up and running fine.
- 
- In that case I'd suspect that reverse IP lookups are not working. Try -H in
- tcpserver. If it speeds things up, then there's your problem.
- 
- Armando
- 
- 

-- 
Mit freundlichen Gruessen
Juergen Hoffmann
---
Juergen Hoffmann   LueneCom ISC
System Administrator Rote Str. 9-10
21335 Lueneburg
[EMAIL PROTECTED]  +49-4131-731904
http://www.luenecom.de  +49-4131-731906
---
my quote of the day:
Unless you love someone, nothing else makes any sense.
-- e.e. cummings



I have a problem...

2000-07-27 Thread James Beam



I just finished installing vpopmail-4.8.6 on SUSE 
6.4 Linux. I have everything working, but I am noticing a serious delay when 
trying to check mail via POP3 - it takes almost 20 seconds before the server 
will respond. It does this on both SMTP and POP3. Now this server is running a 
PIII600 with 256meg RAM - and no live domains are currently running on 
it.

You can see the delay by telneting to 206.20.158.62 
ports 110 and 25 - it will take 20 or so seconds before the server will even 
respond!

Qmail 1.03 w/DNS and Tarpit patch
ucspi-tcp-0.88
vpopmail-4.8.6
daemontools-0.70

That is what I am running.

Here is my POP3 start string:

/usr/local/bin/tcpserver -uXXX -gXXX 0 pop3 
/var/qmail/bin/qmail-popup biznizweb.com/mail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir 

All one line (in case your client wraps 
it)

Please, if anyone can help or make a 
suggestion.

Thanks in advance,

James Beam
BiznizWEB, Inc.


aliases?

2000-07-27 Thread fricke

Very strange...
I´ve added some user to a virtual domain. Then I made some .qmail-username 
files for aliases.
everything works fine. Today I want to sent a mesage to some of the users 
and qmail tells me :
Sorry no mailbox etc.

It works for 4 weeks and suddenly...?
qmail want´s to deliver the mail local!
what´s wrong
--
Mit freundlichen Grüßen

Cord-H. Fricke 
Fon: 0 52 1 / 52 51-133 
Fax: 0 52 1 / 52 51-115

http://team.owl-online.de/

...keep on headbangin´ , that rocks!!!



Re: know this?

2000-07-27 Thread Ken Jones

Sumith Ail wrote:
 
 hi all
 
 Has anybody been successful in setting hard quota for
 a virtual domain instead of a user.

No. We've talked alot about how to implement virtual domain
quotas. Looks like the best idea is to use the file systems
quota limits per user. And store each domain under a single
users home directory. Which would require vpopmail to 
support multiple UID/GID's. This can be done, the code
just needs to be written and tested. The code to support
placing the domain under an arbitrary directory is already
in place. Basicly it reads the /var/qmail/users/cdb file
to extract uid/gid/dir information.

Ken Jones



Re: problem with .qmail processing

2000-07-27 Thread Ken Jones


The .qmail files under a users directory only support forwarding
email. It doesn't support the | /program commands.

You could put a .qmail-sms file in the base domain directory
~vpopmail/domains/domain.com/.qmail-sms

Ken Jones

Flavio Curti wrote:
 
 hi
 
 i have a little problem with the processing of a user specific .qmail.
 i have the user sms
 now i want all mail for sms-$bla delivered to it. this works fine.
 now i add a .qmail file in /domain/sms with the line
 | /usr/local/bin/qmail-pager.pl
 in it. now the delivery loops forever:
 
 2000-07-26 16:28:23.218238500 starting delivery 7790: msg 655266 to local
 domain-sms-123456@domain
 2000-07-26 16:28:23.218247500 status: local 2/10 remote 0/20
 2000-07-26 16:28:23.218250500 delivery 7789: success: did_0+0+1/
 2000-07-26 16:28:23.218253500 status: local 1/10 remote 0/20
 2000-07-26 16:28:23.218257500 end msg 655267
 2000-07-26 16:28:23.322424500 new msg 655267
 2000-07-26 16:28:23.322431500 info msg 655267: bytes 60274 from root@domain qp 
29002
 uid 1008
 2000-07-26 16:28:23.359191500 starting delivery 7791: msg 655267 to local
 domain-sms-123456@domain
 2000-07-26 16:28:23.359200500 status: local 2/10 remote 0/20
 2000-07-26 16:28:23.359203500 delivery 7790: success: did_0+0+1/
 2000-07-26 16:28:23.359206500 status: local 1/10 remote 0/20
 2000-07-26 16:28:23.359210500 end msg 655266
 2000-07-26 16:28:23.470336500 new msg 655266
 2000-07-26 16:28:23.470342500 info msg 655266: bytes 60387 from root@domain qp 
29009
 uid 1008
 2000-07-26 16:28:23.505828500 starting delivery 7792: msg 655266 to local
 domain-sms-123456@domain
 2000-07-26 16:28:23.505837500 status: local 2/10 remote 0/20
 2000-07-26 16:28:23.505841500 delivery 7791: success: did_0+0+1/
 2000-07-26 16:28:23.505844500 status: local 1/10 remote 0/20
 2000-07-26 16:28:23.505847500 end msg 655267
 2000-07-26 16:28:23.610022500 new msg 655267
 2000-07-26 16:28:23.610028500 info msg 655267: bytes 60500 from root@domain qp 
29016
 uid 1008
 
 and so on. the source of the perl script (for now, it's just a test):
 
 #!/usr/bin/perl
 
 while (STDIN){
 print $_;
 }
 
 exit(0);
 
 hope anyone can help me, thanks
 
 Flavio
 
 --
 -=: http://frame-eleven.com :=-.



Re: Qmailadmin Forward-Address Sorting?

2000-07-27 Thread Ken Jones

"Hubbard, David" wrote:
 
 Hi all,
 does anyone know how qmailadmin sorts it's list
 of forward accounts?  On my system it doesn't seem to be
 by Forward or Pop Account.
 
 Thanks,
 
 Dave

It doesn't do any sorting. It displays them by reading
the directory. So the order is how the OS hands the
files to qmailadmin.

Ken



Re: How do I make vmkpasswd ?

2000-07-27 Thread Ken Jones

YAMAMOTO Taku wrote:
 
 Hello,
 
 I'd like to change authentication specific popuser to apop,so need to modify
 vpasswd file by hand.However I can't find vmkpasswd program both
 /home/vpopmail/bin and /usr/local/src/vpopmail-x.x.x/.
 
 How do I configure vpopmail to compile vmkpasswd ?

Try make vmkpasswd

If that doesn't work. Try copying the compile and link lines
that make displays as it's making the other programs, like
vadddomain and vadduser.

 
 Thanks in advance.
 
 ---
 Taku Yamamoto
 [EMAIL PROTECTED]



Re: Vpopmail authentication

2000-07-27 Thread Ken Jones

Andrés wrote:
 
 Hi there,
 
 I want to configure my client (Outlook Express under M$) to connect to a
 mailbox under a virtual domain. I have created the domain e.g. vdom.com and
 I have created a user (named info). But I can't make a connection at all, I
 always get a "-ERR authorization failed".
 
 I added the line containing "/home/vpopmail/bin/vchkpw qmail-pop3d Maildir"
 to my /etc/rc.d/init.d/qmail-pop3d.init file but it doesn't work.
 
 It seems that vchkpw dies too fast.
 
 How can I solve this?
 
 My virtual users can receive e-mails but can't download it using pop3 nor
 sqwebmail.
 
 Thanks.

Read the FAQ and INSTALL files.

you need to set your pop user name to be user@domain
If that doesn't work, then you have some other 
configuration problem.

Ken



Re: Please help - something is strange

2000-07-27 Thread Ken Jones

 James Beam wrote:
 
 I just finished installing vpopmail-4.8.6 on SUSE 6.4 Linux. I have
 everything working, but I am noticing a serious delay when trying to
 check mail via POP3 - it takes almost 20 seconds before the server
 will respond. It does this on both SMTP and POP3. Now this server is
 running a PIII600 with 256meg RAM - and no live domains are currently
 running on it.
 
 You can see the delay by telneting to 206.20.158.62 ports 110 and 25 -
 it will take 20 or so seconds before the server will even respond!
 
 Qmail 1.03 w/DNS and Tarpit patch
 ucspi-tcp-0.88
 vpopmail-4.8.6
 daemontools-0.70
 
 That is what I am running.
 
 Here is my POP3 start string:
 
 /usr/local/bin/tcpserver -uXXX -gXXX 0 pop3 /var/qmail/bin/qmail-popup
 biznizweb.com
 /mail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
 
 All one line (in case your client wraps it)
 
 Please, if anyone can help or make a suggestion.
 
 Thanks in advance,
 
 James Beam
 BiznizWEB, Inc.

Change your startup line to be:

/usr/local/bin/tcpserver -H -R -lhostname \
-uXXX -gXXX 0 pop3 /var/qmail/bin/qmail-popup \
biznizweb.com \
/mail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

where hostname is the full name of the machine.

What you are seeing are tcpserver connection startup delays
as it attempts to do reverse IP lookups and ident queries.

Ken



Re: qmailadmin - mail forwarding

2000-07-27 Thread Ken Jones

 Abdul Naseer wrote:
 
 How can I give the right to add / delete/ modify mail forwarding to
 the individual users using qmailadmin? right now only the postmaster
 is able to do this.
 
 TIA
 
 Naseer

Break out your favorite C code editor and make changes ;]

it doesn't support it.

Ken



Re: Migrating a vpopmail Linux box to FreeBSD

2000-07-27 Thread Ken Jones

Gabriel Ambuehl wrote:
 
 Hello,
 I've got a SuSE Linux 6.3 server which runs vpopmail 4.8.5 and needs
 to be migrated to FreeBSD 4-Stable (or 4.1 if you want to call it that
 way). So what do I have to copy over to the new machine beside
 /home/vpopmail/domains
 /var/qmail/control
 in order to save all of the configuration information needed by
 qmail and vpopmail (server is configured like suggested in Life with
 Qmail with one minor change: qmail-popup runs under tcpserver but I
 intend to take all the startup stuff from the existing FreeBSD
 servers anyway ;-)?
 
 Is it a good idea to create a /etc/qmail dir to save all
 the configuration informations there and just make symlinks to /var/qmail?

Symlinks are pretty darn handy when moving installation
to a different machine. ;]

Becareful about uid's and gid's. Try to make them the same
from one machine to the next. Check /var/qmail/users/assign

Ken



Re: aliases?

2000-07-27 Thread Ken Jones

[EMAIL PROTECTED] wrote:
 
 Very strange...
 I´ve added some user to a virtual domain. Then I made some .qmail-username
 files for aliases.
 everything works fine. Today I want to sent a mesage to some of the users
 and qmail tells me :
 Sorry no mailbox etc.
 
 It works for 4 weeks and suddenly...?
 qmail want´s to deliver the mail local!
 what´s wrong

More information is needed to diagnose this problem

Ken



Re: qmailadmin - mail forwarding

2000-07-27 Thread Matthias Henze

At 09:36 27.07.00 -0500, Ken Jones wrote:
  Abdul Naseer wrote:
 
  How can I give the right to add / delete/ modify mail forwarding to
  the individual users using qmailadmin? right now only the postmaster
  is able to do this.
 
  TIA
 
  Naseer

Break out your favorite C code editor and make changes ;]

it doesn't support it.

qmail admin hacking is my verry next porject - first i'm going to fix on 
bug in the vdeliver filter code and add 2 new features - and then to some 
thing completely different ...


Matthias Henze

MH458-RIPE


MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
-
-  http://www.mhcsoftware.de  ---




more ocmplete autorespond

2000-07-27 Thread Matthias Henze

hi,

actual version of the autoresponder can be found at:

http://www.mhcsoftware.de/qmail/autorespond/

CHANGELOG:

MH 07/2000 1.1.0  added message handling
MH 07/2000 1.1.0  added from adrees commandline option
MH 07/2000 1.1.0a changed back to 1.0.0 compatibility - the new commandline
   options are optional by now

Matthias Henze

MH458-RIPE


MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
-
-  http://www.mhcsoftware.de  ---




RE: know this?

2000-07-27 Thread Abdul Rehman Gani

 Basicly it reads the /var/qmail/users/cdb file
 to extract uid/gid/dir information.

Won't this break the current setup where account type info is stored in the
gid field?

Abdul

 Ken Jones





[paranoia] security

2000-07-27 Thread Sean P. Scanlon


[ Apologies if this has been previously covered ]

Maybe I'm a bit paranoid..
I know most people don't run shell/mail services on the same machine,
But if you did it is possible for non-admin accounts to change the password
of pop accounts.

The simple fix is to chmod 0700 ~vpopmail/lib, which will prevent linking
with the libvpopmail.a library.

--vpop_sec_test.c--
#include stdio.h
#include sys/time.h
#include vpopmail.h
#include vauth.h

extern int vpasswd( char *, char *, char *, int);

int main(void) {

  if ( (vpasswd("user", "domain.net", "mynewpasswd", NULL) ) == 0 ){
printf("changed passwd\n");
  }
}
--vpop_sec_test.c--

$gcc -o test vpop_sec_test.o /home/vpopmail/lib/libvpopmail.a -L/usr/local/mysql/lib 
-lmysqlclient -lsocket -lnsl -lm

$./test
changed passwd
$


-- 

--
-
Sean P. Scanlon
[EMAIL PROTECTED]
-

"Personally, I think hashes are gods greatest gift to the programmer. I
love them. If I could turn my wife into one, I would. "
-seen in 'comp.lang.perl.misc'



Re: know this?

2000-07-27 Thread Ken Jones

Abdul Rehman Gani wrote:
 
  Basicly it reads the /var/qmail/users/cdb file
  to extract uid/gid/dir information.
 
 Won't this break the current setup where account type info is stored in the
 gid field?
 
 Abdul
 
  Ken Jones
 

The account info is stored in the vpopmail passwd file.
The uid/gid I'm talking abuot is in the /var/qmail/users/assign
file. Which only holds the uid/gid of the user to deliver
the mail as.

Ken



Re: [paranoia] security

2000-07-27 Thread Ken Jones


Oh man. Good idea you looked at this.

The solution isn't changing the access to the libraries.
It should be in the vauth modules to check for the uid
in the vauth_setpw and vauth_vpasswd functions.

I've fixed and tested it in 4.8.7

http://www.vpopmail.cx/vpopmail-4.8.7.tar.gz

You wouldn't see the problem using the cdb authentication
module. Since the cdb module requires access to files
that are protected by vpopmail permissions.

However it does show up in the other auth modules:
vmysql.c vsybase.c voracle.c

I put in checks for uid using getuid call. 
The user has to be either vpopmail or root.

Ken Jones

"Sean P. Scanlon" wrote:
 
 [ Apologies if this has been previously covered ]
 
 Maybe I'm a bit paranoid..
 I know most people don't run shell/mail services on the same machine,
 But if you did it is possible for non-admin accounts to change the password
 of pop accounts.
 
 The simple fix is to chmod 0700 ~vpopmail/lib, which will prevent linking
 with the libvpopmail.a library.
 
 --vpop_sec_test.c--
 #include stdio.h
 #include sys/time.h
 #include vpopmail.h
 #include vauth.h
 
 extern int vpasswd( char *, char *, char *, int);
 
 int main(void) {
 
   if ( (vpasswd("user", "domain.net", "mynewpasswd", NULL) ) == 0 ){
 printf("changed passwd\n");
   }
 }
 --vpop_sec_test.c--
 
 $gcc -o test vpop_sec_test.o /home/vpopmail/lib/libvpopmail.a -L/usr/local/mysql/lib 
-lmysqlclient -lsocket -lnsl -lm
 
 $./test
 changed passwd
 $
 
 --
 
 --
 -
 Sean P. Scanlon
 [EMAIL PROTECTED]
 -
 
 "Personally, I think hashes are gods greatest gift to the programmer. I
 love them. If I could turn my wife into one, I would. "
 -seen in 'comp.lang.perl.misc'



how to start up? rc or tcpserver?

2000-07-27 Thread Val Luck


I used to start up qmail with rc file 

  /var/qmail/rc

and then later I changed over to tcpserver that starts it up in init.d
directory
 
   $ cat smtpd-qmail-start 

   /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 502 -g 501 0 smtp
   /var/qmail/bin/qmail-smtpd 

(that is all one line)

Do I still run /var/qmail/rc in addition to the /var/qmail/rc?  It doesn't
seem to work with running just the tcpserver line ...

help...thanks!

val
[EMAIL PROTECTED]






Re: how to start up? rc or tcpserver?

2000-07-27 Thread Ben Beuchler

On Thu, Jul 27, 2000 at 10:40:44AM -0700, Val Luck wrote:

 I used to start up qmail with rc file 
 
   /var/qmail/rc
 
 and then later I changed over to tcpserver that starts it up in init.d
 directory
  
$ cat smtpd-qmail-start 
 
/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 502 -g 501 0 smtp
/var/qmail/bin/qmail-smtpd 
 
 (that is all one line)
 
 Do I still run /var/qmail/rc in addition to the /var/qmail/rc?  It doesn't
 seem to work with running just the tcpserver line ...

You still need both.  All tcpserver will do is sit there waiting for
someone to send you mail.  Then it will launch qmail-smtpd.  You will
need to run /var/qmail/rc in order to launch qmail-send, qmail-lspawn,
etc...

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: know this?

2000-07-27 Thread Sumith Ail

Hi ken..

Is the code you are talking about still under test.. I
mean can use it with my current setup of
qmail+mysql+vpopmail. If yes then how??
It'd be a great idea if the filesystem user quota can
be implemented and the domain mail are stored in their
own home dir rather than /home/vpopmail/domains


Thanx a Lot.

Best Regards
Sumith

--- Ken Jones [EMAIL PROTECTED] wrote:
 Abdul Rehman Gani wrote:
  
   Basicly it reads the /var/qmail/users/cdb file
   to extract uid/gid/dir information.
  
  Won't this break the current setup where account
 type info is stored in the
  gid field?
  
  Abdul
  
   Ken Jones
  
 
 The account info is stored in the vpopmail passwd
 file.
 The uid/gid I'm talking abuot is in the
 /var/qmail/users/assign
 file. Which only holds the uid/gid of the user to
 deliver
 the mail as.
 
 Ken


__
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/



Re: MRTG QMail

2000-07-27 Thread Bill Shupp


I'm not sure what scripts you've already seen.  But there's link to these
from the qmail.org:

http://x42.com/qmail/mrtg/

There's a mini howto with it as well.

Cheers,

Bill Shupp



James Beam writes:

 Can anyone direct me to a source for getting MRTG to graph traffic on a 
QMail/Vpopmail Server?
 
 I found one set of perl scripts to do this, but they are not very clear on what kind 
of logging I should be doing or how to set it up.
 
 Thanks in advance for any help you folks can offer on this one.
 
 James Beam
 BiznizWEB, Inc.






Re: MRTG QMail

2000-07-27 Thread Peter Green

also sprach insyte:
 On Thu, Jul 27, 2000 at 03:39:31PM -0500, Ken Jones wrote:
 
  If you use the qmail-mrtg scripts and cyclog, it will work 
  really nicely. cyclog is in daemon-tools-0.53. I've not
  been able to get daemontools-0.70 with multilog to work
  with qmail-mrtg. shrug

(In response to your earlier message, I've attached the qmail-mrtg package
that support multilog log files. It may require a little tweaking for your
environment... :)

 This is from a message I just asked a couple of days ago on the qmail
 list:

That's odd, coming from Russell, since there is no indication that:

a) The package has changed in the past eight months, nor
b) The source supports multilog log files.

(I'm assuming Russell meant that, with a filter to do tai64-tai64n
conversion, it's supported.) In any case, I've attached a tar.gz file of
what we use to generate MRTG graphs for our server using multilog log files.
YMMV.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Instead of a trap door, what about a trap window? The guy looks out it, and if 
he leans too far, he falls out. Wait. I guess that's like a regular window.
 (Jack Handey)




POP authentication problem

2000-07-27 Thread Warren Brundage



Hello,

I have installed qmail/vpopmail/sqwebmail/qmailadmin to my 
system. I can add and delete users with qmailadmin and I can check and 
send mail with sqwebmail but I have had no luck in getting mail remotely via 
POP3. When I try a test by telneting in to port 110 I get the 
following:

# telnet mydomain.com 110
Trying 1.2.3.4 ...
Connected to server.mydomain.com
Escape character is '^]'.
+OK 
1002.694735678@/home/vpopmail/bin/vchkpw
user [EMAIL PROTECTED]
+OK
pass password
--ERR this user has no $HOME /Maildir
Connection closed by foreign host.
#

I notice that "home/vpopmail/bin/vchkpw" is showing up where 
the server name should appear. I also see that the line 
"CHKPASS="checkpassword"" is in myqmail-pop3d.init file.
Anyone have any advice?

Warren




can not change password

2000-07-27 Thread Jia Rong

Hi:
 why i can not change password in sqwebmail.
 i install vpopomail with mysql and sqwebmail.

  
Best Regards
Jia Rong
[EMAIL PROTECTED]




Re: vpopmail warning

2000-07-27 Thread Michael Boman

Said Madrus wrote:
 
 Dear all,
 i have installed vpopmail-3.4.11-2, but when installing some message appear
 like this:
 opensmtp.o: In function `tcprules_open':
 /source/vpopmail/vpopmail-3.4.11-2.released/opensmtp.c(.text+0x5d): warning:
 mktemp() possibly used unsafely; consider using mkstemp()
 anybody know what does it mean ??
 thanks.
 
 ~said madrus

FreeBSD I assume?

Basicly, the C compiler on FreeBSD is a bit more sensitive then Linux
dito.. If you want to remove it you could change all the mktemp() to
mkstemp() as they work the same way (from a programming point-of-view),
or you can just ignore the warning.

Is there any reasons why this is not in the main distro? AFAIK mkstemp()
should be safer then mktemp().

Best regards
 Michael Boman

-- 
W I Z O F F I C E . C O M   L I M I T E D  -  Your Online Office Wizard
16 Tannery Lane, Crystal Time Building, #04-00, Singapore 347778
Voice : (+65) 844 3228 [extension 118]  Fax : (+65) 842 7228
Pager : (+65) 92 93 29 49   ICQ : 5566009
Mobile: (+65) 98 55 17 34
eMail : mailto:[EMAIL PROTECTED]URL : http://www.wizoffice.com
 S/MIME Cryptographic Signature


Reflections of what needs to be done..

2000-07-27 Thread Michael Boman

EZMLM ISSUES:
=
The last few weeks the main questions has been the mailinglist, and as I
wrote the original patch I feel somewhat responsible for it - even if it
is AS-IS / worksformeware.

First, I think the ezmlm package the qmailAdmin's homepage is pointing
as should be patched with the idx patch (I belive ezmlm and idx is both
released under GPL and therefor it's not a legal matter, but I can't
find any copyright information about ezmlm).

Second I think it's time to hack the ./configure script to have
--enable-idx (or something simmular) that can either make the
mailinglists produce the current (0.3x), or the old 0.26 behavor (ie:
with or without IDX support. This should include copy the correct
template file during "make install" process).

I'll make these changes to my globaladmin right away.


AUTORESPONDER ISSUES:
=
Another thing has been the auto-responder issue. I belive that updating
the auto-responder to the one Matthias Henze [EMAIL PROTECTED]
have done is apropiate, and modify qmailAdmin to make use of the options
you can supply to it.


GLOBALADMIN:

GlobalAdmin is not really a fork of qmailAdmin yet, and not intedent to
be. Im currently fixing those pices of code Ken put in there a long time
ago and now have forgotten and don't want to use at the moment.

The reson for the new name is that the CGI that globaladmin produces
need's to be SUID root, and therefor is not suitible to use for
user-administration, nor shouldn't be required to be installed to
produce a normal qmailAdmin binary.

All I need to know now is how do I upload files with CVS? =)

Also as I am already inside the code and hacking I am fixing any kind of
error I see.

Ken: Would you like to have what I got now? It's not that much, but I'd
say it's an improvment from what was there from the beginning =)

I still have issues with adding/deleting/enter domains, and the edit
code is not even there (hehe.. so much of an improvement). I've added
the default WWW and cgi-bin locations for Debian as well so a
./configure can find the directories.


QMAIL/VPOPMAIL AND MRTG:

It's not that hard to get it produces nice graphs over how busy your
SMTP/mail server is, but something I would like to see is MRTG friendly
statitics on how busy your POP3 server is, and possible also if the
output could be split out on a per-domain basis as well.. This is
off-topic, I know, but it sure would impress the upper managment in any
orginazation as well as give statitics so you can better plan for the
future (maybe a separate POP3 box is needed in the next 3 months [for an
example]).



That's all I had to say for now

Best regards
 Michael Boman

--
W I Z O F F I C E . C O M   L I M I T E D  -  Your Online Office Wizard
16 Tannery Lane, Crystal Time Building, #04-00, Singapore 347778
Voice : (+65) 844 3228 [extension 118]  Fax : (+65) 842 7228
Pager : (+65) 92 93 29 49   ICQ : 5566009
Mobile: (+65) 98 55 17 34
eMail : mailto:[EMAIL PROTECTED]URL : http://www.wizoffice.com
 S/MIME Cryptographic Signature