Re: Error: Domain does not exist

2001-11-15 Thread Paul Kremer

hello

I finally found a solution, together with a friend.
The mistake was that vpopmail had an old config.h from a previous
qmail-installation.
In the config.h, the paths to the qmail-binaries are defined, and
these were different in the previous setup.
On adding a domain, the vadddomain could not execute the qmail-newu
tool and therefore quitted...

The fact that there was no serious error-message was quite the
problem, because we spent an hour with gdb for finding out that there
a simple path-problem...
well.
I am not C-hacker, so I have no patch for this.

I hope this information can help out some of you who have the same
error-message...

regards,
paul kremer

p.s.: I would never have had this trouble if I didn't start out with
installing the unofficial debian-qmail packages...
debian is OK, but in this case it took me hours, because of
path-definitions !!!

On Wed, Nov 14, 2001 at 05:47:50PM +0100, Paul Kremer yelled:
> hello everybody
> 
> this question has already be posted several times during the last
> weeks/months and there has never been any reply...
> so I guess nobody knows the answer ?
> 
> I get the error "Error: Domain does not exist" when using
> vadddomain...
> 
> here is the situation:
> 
> - linux 2.2.20
> - qmail 1.03 (patched with
>   http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
> - tcpserver 0.88 (patched with
>   http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
> - vpopmail 5.0
> 
> I want all authentication to go through mysql, the tables are all OK,
> I am 100% strict : the SQL-server is working OK, connect info
> is in /var/qmail/control/sql.
> 
> files under /var/qmail/users/ are syntactically OK, since I finally
> copied "assign, cdb" from a different working server.
> Empty files (including a one-dotted line) did not work too.
> 
> the entries in rcpthosts and virtualdomains is being made, all OK.
> the directory in /home/vpopmail/domains is also created, containing a
> .qmail-default file, but nothing for postmaster.
> the assign file also does not contain any info regarding the
> postmaster.
> the sql-tabel vpopmail seems to be left untouched after the
> vadddomain.
> 
> I would really be glad if somebody could have a closer look at the
> strace below...
> 
> here is the output of strace vadddomain:
> 
> execve("./vadddomain", ["./vadddomain", "problems.com"], [/* 23 vars */]) = 0
> uname({sys="Linux", node="newmail", ...}) = 0
> brk(0)  = 0x8055fa8
> open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY)  = 3
> fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not implemented)
> fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
> old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> close(3)= 0
> open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0"..., 1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
> old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
> mprotect(0x4003c000, 100960, PROT_NONE) = 0
> old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
>0x22000) = 0x4003c000
> close(3)= 0
> open("/usr/lib/libz.so.1", O_RDONLY)= 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"..., 1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
> old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40055000
> mprotect(0x40061000, 8500, PROT_NONE)   = 0
> old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb000) 
>= 0x40061000
> close(3)= 0
> open("/lib/libnsl.so.1", O_RDONLY)  = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000"..., 1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
> old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40064000
> mprotect(0x40075000, 13084, PROT_NONE)  = 0
> old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) 
>= 0x40075000
> old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE, 
>MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
> close(3)= 0
> open("/lib/libcrypt.so.1", O_RDONLY)= 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\20"..., 1024) = 1024
> fstat(3, {st_mode=S_IFREG|0644, st_size=20900, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
>0x40079000
> old_mmap(NULL, 183740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4007a000
> mprotect(0x4007f000, 163260, PROT_NONE) = 0
> old_mmap(0x4007f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 
>0x4007f000
> old_mmap(0x4008, 159164, PROT_READ|PROT_WRITE, 
>MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x

queues not fully utilized

2001-11-15 Thread Divyank Turakhia

Hi,

I have set /var/qmail/control/concurrencyremote to 250. My queuelifetime is
set to 0. Qmail is now running 250 remote delivery processes. The log file
shows that there are 250 remote delivery processes:
@40003bf3964c124f10ac status: local 1/10 remote 19/250

The weird part is mails are continuously being added to my queue. There are
more than 12000 mails in my remote queue. Why is it that most of these
connections are going unutilized? How do I unsure that all of it is send
immediately instead of adding it to the queue.

regards,
Divyank




vqtolist

2001-11-15 Thread Divyank Turakhia

is it possible to send html mails using vqtolist. If yes, then how?

Divyank



Re: Error: Domain does not exist

2001-11-15 Thread Alec Grynspan

BINGO!!

I *REMOVED* the path definitions from the configure and let them
default.

That did it!


===

- Original Message -
From: "Paul Kremer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 4:20 AM
Subject: Re: Error: Domain does not exist


> hello
>
> I finally found a solution, together with a friend.
> The mistake was that vpopmail had an old config.h from a previous
> qmail-installation.
> In the config.h, the paths to the qmail-binaries are defined, and
> these were different in the previous setup.
> On adding a domain, the vadddomain could not execute the qmail-newu
> tool and therefore quitted...
>
> The fact that there was no serious error-message was quite the
> problem, because we spent an hour with gdb for finding out that there
> a simple path-problem...
> well.
> I am not C-hacker, so I have no patch for this.
>
> I hope this information can help out some of you who have the same
> error-message...
>
> regards,
> paul kremer
>
> p.s.: I would never have had this trouble if I didn't start out with
> installing the unofficial debian-qmail packages...
> debian is OK, but in this case it took me hours, because of
> path-definitions !!!
>
> On Wed, Nov 14, 2001 at 05:47:50PM +0100, Paul Kremer yelled:
> > hello everybody
> >
> > this question has already be posted several times during the last
> > weeks/months and there has never been any reply...
> > so I guess nobody knows the answer ?
> >
> > I get the error "Error: Domain does not exist" when using
> > vadddomain...
> >
> > here is the situation:
> >
> > - linux 2.2.20
> > - qmail 1.03 (patched with
> >
http://matt.simerson.net/computing/qmail/qmail-1.03-matt-toaster.patch)
> > - tcpserver 0.88 (patched with
> >
http://matt.simerson.net/computing/qmail/ucspi-tcp-0.88-mysql.patch)
> > - vpopmail 5.0
> >
> > I want all authentication to go through mysql, the tables are all
OK,
> > I am 100% strict : the SQL-server is working OK, connect info
> > is in /var/qmail/control/sql.
> >
> > files under /var/qmail/users/ are syntactically OK, since I finally
> > copied "assign, cdb" from a different working server.
> > Empty files (including a one-dotted line) did not work too.
> >
> > the entries in rcpthosts and virtualdomains is being made, all OK.
> > the directory in /home/vpopmail/domains is also created, containing
a
> > .qmail-default file, but nothing for postmaster.
> > the assign file also does not contain any info regarding the
> > postmaster.
> > the sql-tabel vpopmail seems to be left untouched after the
> > vadddomain.
> >
> > I would really be glad if somebody could have a closer look at the
> > strace below...
> >
> > here is the output of strace vadddomain:
> > 
> > execve("./vadddomain", ["./vadddomain", "problems.com"], [/* 23 vars
*/]) = 0
> > uname({sys="Linux", node="newmail", ...}) = 0
> > brk(0)  = 0x8055fa8
> > open("/etc/ld.so.preload", O_RDONLY)= -1 ENOENT (No such file or
directory)
> > open("/etc/ld.so.cache", O_RDONLY)  = 3
> > fstat64(0x3, 0xbfffee64)= -1 ENOSYS (Function not
implemented)
> > fstat(3, {st_mode=S_IFREG|0644, st_size=11213, ...}) = 0
> > old_mmap(NULL, 11213, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
> > close(3)= 0
> > open("/usr/lib/libmysqlclient.so.10", O_RDONLY) = 3
> > read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\203\0"..., 1024) =
1024
> > fstat(3, {st_mode=S_IFREG|0644, st_size=240712, ...}) = 0
> > old_mmap(NULL, 244320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40019000
> > mprotect(0x4003c000, 100960, PROT_NONE) = 0
> > old_mmap(0x4003c000, 102400, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x4003c000
> > close(3)= 0
> > open("/usr/lib/libz.so.1", O_RDONLY)= 3
> > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"...,
1024) = 1024
> > fstat(3, {st_mode=S_IFREG|0644, st_size=54644, ...}) = 0
> > old_mmap(NULL, 57652, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40055000
> > mprotect(0x40061000, 8500, PROT_NONE)   = 0
> > old_mmap(0x40061000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 0x40061000
> > close(3)= 0
> > open("/lib/libnsl.so.1", O_RDONLY)  = 3
> > read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0B\0\000"..., 1024) =
1024
> > fstat(3, {st_mode=S_IFREG|0644, st_size=71268, ...}) = 0
> > old_mmap(NULL, 82716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40064000
> > mprotect(0x40075000, 13084, PROT_NONE)  = 0
> > old_mmap(0x40075000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40075000
> > old_mmap(0x40077000, 4892, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40077000
> > close(3)= 0
> > open("/lib/libcrypt.so.1", O_RDONLY)= 3
> > read(3, "\177ELF\1\1\1\0\0\0\0\0\0

Re: queues not fully utilized

2001-11-15 Thread Jason Lim

Hi...

I had the same problem quite a while ago.

What you are experiencing is the fact that your hard disk is unable to
process all the queue fast enough, and is therefore just getting clogged
up. It could also be that your box doesn't have enough bandwidth to send
out all the emails (and hence clear the queue).

Take a look at these two issues... perhaps also search the Debian ISP
mailing list archives. Russell Coker and I had a long and technical
discussion on speeding up qmail and such.

Sincerely,
Jason Lim
http://www.zentek-international.com

- Original Message -
From: "Divyank Turakhia" <[EMAIL PROTECTED]>
To: "vpopmail" <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 9:28 PM
Subject: queues not fully utilized


> Hi,
>
> I have set /var/qmail/control/concurrencyremote to 250. My queuelifetime
is
> set to 0. Qmail is now running 250 remote delivery processes. The log
file
> shows that there are 250 remote delivery processes:
> @40003bf3964c124f10ac status: local 1/10 remote 19/250
>
> The weird part is mails are continuously being added to my queue. There
are
> more than 12000 mails in my remote queue. Why is it that most of these
> connections are going unutilized? How do I unsure that all of it is send
> immediately instead of adding it to the queue.
>
> regards,
> Divyank
>
>




Re: maildirquota patch update (2)

2001-11-15 Thread Bill Shupp


On Thursday, November 15, 2001, at 01:58 AM, Kenneth wrote:

> Hello Bill,
>
> My patch problem is solved by download the latest vpopmail stable.
> My next problem is that it doesn't show the quota message on the
> sqwebmail screen. I've checked the folders.html and it contains the
> [#QUOTA#] tag.
>
> Any idea ?

First verify that Maildir/maildirsize exists for that user.  If it 
doesn't, send an email to that user, then check for the file again.  If 
it's not there, you don't have the patch installed correctly, or 
vpopmail compiled correctly.  Check your vpopmail.config.sh file to 
verify that you used the right options.  Also look for #define 
MAILDIRQUOTA 1 in config.h

If maildirsize *is* there, see if sqwebmail displays quota usage.  If it 
doesn't, make sure the [#QUOTA#] tag is not inside a comment (I made 
this mistake once).

Regards,

Bill




autorespond 2.0.0

2001-11-15 Thread Jürgen Hoffmann








Hi all,

 

I have the following problem
running vpopmail 5.0 qmailadmin
1.0 and autorespond 2.0.0

 

Can anyone help?

 

mail:~/autorespond-2.0.0# gcc -Wall -o autorespond autorespond.c

mail:~/autorespond-2.0.0#
./autorespond 1 5 /var/qmail/vpopmail/domains/xxx.xx/HELP2/message
/var/qmail/vpopmail/domains/xxx.xx/HELP2

Segmentation fault

mail:~/autorespond-2.0.0#

 

Mit freundlichen Grüssen

 

Jürgen Hoffmann

ByteACTION GmbH

 

cert. Perl Programmer

cert. Linux System Administrator

 








Re: autorespond 2.0.0

2001-11-15 Thread Bill Shupp


On Thursday, November 15, 2001, at 08:47 AM, Jürgen Hoffmann wrote:

> mail:~/autorespond-2.0.0# gcc -Wall -o autorespond autorespond.c
>
> mail:~/autorespond-2.0.0# ./autorespond1 5 
> /var/qmail/vpopmail/domains/xxx.xx/HELP2/message 
> /var/qmail/vpopmail/domains/xxx.xx/HELP2
>
> Segmentationfault
>
> mail:~/autorespond-2.0.0#

Why are you trying to run it on command line without a message being 
piped to it?

-Bill




Re: autorespond 2.0.0

2001-11-15 Thread Yuri A. Kabaenkov

Hello Jürgen,

Thursday, November 15, 2001, 5:47:38 PM, you wrote:

JH> Hi all,
 
JH> I have the following problem running vpopmail 5.0 qmailadmin 1.0 and
JH> autorespond 2.0.0
 
JH> Can anyone help?

may be you need to read docs carefully?

Also, you need to insert autorespond line in .qmail-alias files as
"|autorespond options"


 
JH> mail:~/autorespond-2.0.0# gcc -Wall -o autorespond autorespond.c
JH> mail:~/autorespond-2.0.0# ./autorespond 1 5
JH> /var/qmail/vpopmail/domains/xxx.xx/HELP2/message
JH> /var/qmail/vpopmail/domains/xxx.xx/HELP2
JH> Segmentation fault
JH> mail:~/autorespond-2.0.0#
 
JH> Mit freundlichen Grüssen
 
JH> Jürgen Hoffmann
JH> ByteACTION GmbH
 
JH> cert. Perl Programmer
JH> cert. Linux System Administrator
 




With respect,
Yuri A. Kabaenkov
[EMAIL PROTECTED]






Sqwebmail compile issue.

2001-11-15 Thread Kevin - System Administrator



Everything goes fine untill i reach:
make[1]: Entering directory 
`/usr/local/src/qmail/sqwebmail-3.2.0/authlib'gcc -DHAVE_CONFIG_H -I. -I. 
-I. -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c 
authvchkpw.cauthvchkpw.c: In function 
`auth_vchkpw_changepass':authvchkpw.c:142: warning: assignment from 
incompatible pointer typeauthvchkpw.c:151: dereferencing pointer to 
incomplete typeauthvchkpw.c:151: dereferencing pointer to incomplete 
typemake[1]: *** [authvchkpw.o] Error 1make[1]: Leaving directory 
`/usr/local/src/qmail/sqwebmail-3.2.0/authlib'make: *** [all-recursive] 
Error 1
 
 
what could be wrong?
 


RE: autorespond 2.0.0

2001-11-15 Thread Jürgen Hoffmann

Hi,

Because in the logs it says:

Nov 15 14:20:08 mail qmail: 1005830408.541523 starting delivery 10977:
msg 1270777 to local [EMAIL PROTECTED]
Nov 15 14:20:08 mail qmail: 1005830408.541568 status: local 1/10 remote
0/20
Nov 15 14:20:08 mail qmail: 1005830408.53 delivery 10977: deferral:
Aack,_child_crashed._(#4.3.0)/
Nov 15 14:20:08 mail qmail: 1005830408.555677 status: local 0/10 remote
0/20


.qmail-help2 looks like this:
mail:~# cat /var/qmail/vpopmail/domains/mrc.de//.qmail-help2
|/usr/bin/autorespond 1 5
/var/qmail/vpopmail/domains/mrc.de/HELP2/message
/var/qmail/vpopmail/domains/mrc.de/HELP2 1
&[EMAIL PROTECTED]
mail:~#

That is why I tried to run it from the command line

Kind regards

Juergen Hoffmann

-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 15. November 2001 15:55
To: [EMAIL PROTECTED]
Subject: Re: autorespond 2.0.0



On Thursday, November 15, 2001, at 08:47 AM, Jürgen Hoffmann wrote:

> mail:~/autorespond-2.0.0# gcc -Wall -o autorespond autorespond.c
>
> mail:~/autorespond-2.0.0# ./autorespond1 5
> /var/qmail/vpopmail/domains/xxx.xx/HELP2/message 
> /var/qmail/vpopmail/domains/xxx.xx/HELP2
>
> Segmentationfault
>
> mail:~/autorespond-2.0.0#

Why are you trying to run it on command line without a message being 
piped to it?

-Bill





RE: autorespond 2.0.0

2001-11-15 Thread Bill Shupp

> Hi,
>
> Because in the logs it says:
>
> Nov 15 14:20:08 mail qmail: 1005830408.541523 starting delivery
10977:
> msg 1270777 to local [EMAIL PROTECTED]
> Nov 15 14:20:08 mail qmail: 1005830408.541568 status: local 1/10
remote
> 0/20
> Nov 15 14:20:08 mail qmail: 1005830408.53 delivery 10977:
deferral:
> Aack,_child_crashed._(#4.3.0)/
> Nov 15 14:20:08 mail qmail: 1005830408.555677 status: local 0/10
remote
> 0/20
>
>
> .qmail-help2 looks like this:
> mail:~# cat /var/qmail/vpopmail/domains/mrc.de//.qmail-help2
> |/usr/bin/autorespond 1 5
> /var/qmail/vpopmail/domains/mrc.de/HELP2/message
> /var/qmail/vpopmail/domains/mrc.de/HELP2 1
> &[EMAIL PROTECTED]
> mail:~#
>
> That is why I tried to run it from the command line


I see.  And that's a good reason.  ; )

I don't know why it's crashing, though.  Might want to run 1.0 instead.

Regards,

Bill Shupp





RE: Sqwebmail compile issue.

2001-11-15 Thread Tren Blackburn

Install vpopmail 5.  As stated on the inter7 website.  Also, please don't
send html email to this list if at all possible.

Thanks,

Tren

-Original Message-
From: Kevin - System Administrator [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 11:16 AM
To: [EMAIL PROTECTED]
Subject: Sqwebmail compile issue.


Everything goes fine untill i reach:
make[1]: Entering directory `/usr/local/src/qmail/sqwebmail-3.2.0/authlib'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2 -Wall -I
.. -I./.. -c authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: assignment from incompatible pointer type
authvchkpw.c:151: dereferencing pointer to incomplete type
authvchkpw.c:151: dereferencing pointer to incomplete type
make[1]: *** [authvchkpw.o] Error 1
make[1]: Leaving directory `/usr/local/src/qmail/sqwebmail-3.2.0/authlib'
make: *** [all-recursive] Error 1


what could be wrong?




RE: autorespond 2.0.0

2001-11-15 Thread Jürgen Hoffmann

So to all,

Does qmailadmin 1.0 work with autorespond 1.0.0?

Kind regards

Juergen Hoffmann

Mit freundlichen Grüssen
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
 


-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
Sent: Donnerstag, 15. November 2001 16:20
To: [EMAIL PROTECTED]
Subject: RE: autorespond 2.0.0


> Hi,
>
> Because in the logs it says:
>
> Nov 15 14:20:08 mail qmail: 1005830408.541523 starting delivery
10977:
> msg 1270777 to local [EMAIL PROTECTED]
> Nov 15 14:20:08 mail qmail: 1005830408.541568 status: local 1/10
remote
> 0/20
> Nov 15 14:20:08 mail qmail: 1005830408.53 delivery 10977:
deferral:
> Aack,_child_crashed._(#4.3.0)/
> Nov 15 14:20:08 mail qmail: 1005830408.555677 status: local 0/10
remote
> 0/20
>
>
> .qmail-help2 looks like this:
> mail:~# cat /var/qmail/vpopmail/domains/mrc.de//.qmail-help2
> |/usr/bin/autorespond 1 5
> /var/qmail/vpopmail/domains/mrc.de/HELP2/message
> /var/qmail/vpopmail/domains/mrc.de/HELP2 1
> &[EMAIL PROTECTED]
> mail:~#
>
> That is why I tried to run it from the command line


I see.  And that's a good reason.  ; )

I don't know why it's crashing, though.  Might want to run 1.0 instead.

Regards,

Bill Shupp






vchkpw, log question.

2001-11-15 Thread Kevin - System Administrator

Nov 15 10:30:21 linuxpow vpopmail[3763]: vchkpw: No virt found
jerry@thedomainhere:209.xxx.xxx.xxx

what does this mean. this user always get thats in my log the others are
fine.
im just curious.





Re: custom reply

2001-11-15 Thread Donal Diamond

> > 
> > Bill Shupp sent a mail on 13 Nov about the over-quota.msg.
> > 
> > Will this feature return?
> 
> Not sure what discussion you are referencing? As far as I know, there
> have been no changes to the over quota message processing.

http://bluedot.net/mail/archive/read.php?f=2&i=2027&t=2027

The .over-quota.msg and .no-user.msg feature seems to be removed.  

Was there a problem with this feature?

> 
> > 
> > I work for a company that comprise of two merged ISP's (A & B) and I would like to 
>be able to personalise the bounce msg. 
> > 
> > 
> > This feature was also useful for internationalisation.
> 
> That's why it's open source :) so you can modify it.
> 

Sure - I was just wondering why it was removed - it is still mentioned in the install 
guide.  

I was nice to be able to personalise bounce messages per domain.


Thanks

Donal



Re: custom reply

2001-11-15 Thread Bill Shupp

> The .over-quota.msg and .no-user.msg feature seems to be
removed.
>
> Was there a problem with this feature?
>


My guess is that it was an oversight when they rewrote vdelivermail.c.
My maildirquota patch puts this back in, along with the maildirquota
support.


Regards,

Bill Shupp





lseek errors with procmail, vdeliver and pipes

2001-11-15 Thread Lisa Applegate

Hello,


I'm having a weird problem with procmail and vdeliver.  When I have
procmail deliver a message directly to the Maildir, everything works
fine.  When I have procmail hand the message off to vdeliver, the
message bounces with "lseek error 29 / lseek errno-29".

I searched the vchkpw archives at  --> 
http://www.mail-archive.com/vchkpw@inter7.com/  

I searched on "lseek" and didn't find anything directly matching my
problem, although I did see other posts that seem to indicate this is
possible and that people are doing it.  And then I saw the following
post (Re: Bad code in vdelivermail) and I'm wondering if this is
what's causing my problems.

http://www.mail-archive.com/vchkpw@inter7.com/msg07117.html

I'm testing on a single account but I do want to deploy this on a
domain wide basis, and really don't want to create >500 individual
.qmail files.  Also, delivering directly to Maildirs seems to bypass
some of the more desired features of vdelivermail, like quotas.

I'm not a programmer; I dabble in perl and shell scripts but I'm way
over my head when it comes to rummaging around in the intestines of
something like vdeliver.c.:)

Does anyone have any suggestions?  Patches?  Tips?  Advice?


In the off chance that I've screwed up something in my setup, here's
what I've done.  I'd be grateful for any advice here, too.  :)



Software versions --> 

Qmail 1.03 with the QMAILQUEUE patch
Vpopmail 5.0
Procmail 3.15.2
RH Linux 6.2



The account I'm testing with is [EMAIL PROTECTED]; it has a .qmail
file with the procmail/vdeliver calls.  Here are the .qmail and
procmailrc files I'm using.

.qmail-lisatest -->

 |/var/qmail/bin/preline /usr/bin/procmail -m
 /home/vpopmail/domains/pekin.net/procmail/lisatest/procmailrc 
 | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

(All of the above is on one line)


procmailrc  -->

#DEFAULT = "/home/vpopmail/domains/pekin.net/6/lisatest/Maildir/"
LOGFILE = "/home/vpopmail/domains/pekin.net/procmail/lisatest/procmail.log"
LOGABSTRACT = "all"
VERBOSE = "on"
 
:0
|


This is a pretty simple recipe; it doesn't do anything to the message
(yet) and it's only supposed to write to STDOUT, where presumably
vdeliver takes over.

When I have procmail deliver directly to the Maildir, everything works
fine.  When I have procmail hand off to vdelivermail, the message
bounces with the following error -->

   Hi. This is the qmail-send program at caswyn.pekin.net.  I'm afraid
   I wasn't able to deliver your message to the following addresses.
   This is a permanent error; I've given up. Sorry it didn't work out.

   <[EMAIL PROTECTED]>:
   lseek error 29
   lseek errno=29


The procmail log for that session seems perfectly normal --> 

   procmail: [19455] Thu Nov 15 13:13:04 2001
   procmail: Assigning "LASTFOLDER=|"
   From [EMAIL PROTECTED] Thu Nov 15 19:13:04 2001
   Subject: Testing 
   Folder: |


Qmail smptd logs show  -->

2001-11-15 12:46:02.968959500 info msg 217: bytes 1116 from <[EMAIL PROTECTED]> qp 
14438 uid 505
2001-11-15 12:46:02.971122500 starting delivery 110227: msg 217 to local 
[EMAIL PROTECTED]
2001-11-15 12:46:02.971131500 status: local 1/10 remote 0/20
2001-11-15 12:46:03.135685500 delivery 110227: failure: lseek_error_29/lseek_errno=29/
2001-11-15 12:46:03.135696500 status: local 0/10 remote 0/20
2001-11-15 12:46:03.139929500 bounce msg 217 qp 14448
2001-11-15 12:46:03.140146500 end msg 217





Any assistance in solving this rather annoying problem is greatly
appreciated.  :)



Lisa
[EMAIL PROTECTED]
-- 
You only need two items in your toolbox; WD-40 to make things go
and duct tape to make them stop.



Re[2]: maildirquota patch update (2)

2001-11-15 Thread Kenneth

Thanks Bill,

It works now.

Regards.
Kenneth

Friday, November 16, 2001, 1:28:24 AM, you wrote:

BS> First verify that Maildir/maildirsize exists for that user.  If it
BS> doesn't, send an email to that user, then check for the file again.  If 
BS> it's not there, you don't have the patch installed correctly, or 
BS> vpopmail compiled correctly.  Check your vpopmail.config.sh file to 
BS> verify that you used the right options.  Also look for #define 
BS> MAILDIRQUOTA 1 in config.h

BS> If maildirsize *is* there, see if sqwebmail displays quota usage.  If it 
BS> doesn't, make sure the [#QUOTA#] tag is not inside a comment (I made 
BS> this mistake once).

BS> Regards,

BS> Bill





Re: maildirquota patch update

2001-11-15 Thread Kenneth

Hello Bill,

If I move some messages from inbox to another new created folder, the
usage displayed will be doubled. Any idea ?

-- 
Best regards,
 Kennethmailto:[EMAIL PROTECTED]





vipmap and env apache

2001-11-15 Thread Remo Mattei

Hi guys I just would like some suggestions from you. I have vipmap and I 
map an ip to a domain but it's still not working. I notice that the 
sqwebmail is still calling the main sqwebmail exe from my main server 
/usr/local/apache/cgi-bin instead of calling the one from the 
/home/httpd/vhost/domain.com/cgi-bin so even though I did map the ip it 
still says from the main ip. I have read through the doc for setup the 
virtual here is what Ihave put in the apache file:

SetEnv SQWEBMAIL_TEMPLATEDIR  /home/httpd/vhost/mastroraphael.com/webmail

but this line does not do anything with the cgi-bin script any 
suggestions? I have many domains setup with there own cgi-bin dir. so 
the question is

what do  I need to do to make vipmap working?
what suggestions do you have for the env in apache for the cgi-bin 
script so each of the server is running their own sqwebmail script.  I 
want to say that it does work it just called the main sqwebmail script.
THANKS,

REMO




Re: vipmap and env apache

2001-11-15 Thread Tim Hunter

Remo Mattei writes: 

> Hi guys I just would like some suggestions from you. I have vipmap and I 
> map an ip to a domain but it's still not working. I notice that the 
> sqwebmail is still calling the main sqwebmail exe from my main server 
> /usr/local/apache/cgi-bin instead of calling the one from the 
> /home/httpd/vhost/domain.com/cgi-bin so even though I did map the ip it 
> still says from the main ip. I have read through the doc for setup the 
> virtual here is what Ihave put in the apache file: 
> 
sqwebmail will always use the same cgi-bin unless you specify a different 
variable in your vhost 

> SetEnv SQWEBMAIL_TEMPLATEDIR  /home/httpd/vhost/mastroraphael.com/webmail 
> 
> but this line does not do anything with the cgi-bin script any 
> suggestions? I have many domains setup with there own cgi-bin dir. so the 
> question is 
> 
its not supposed to, this changes where the HTML templates are found, hence 
the variable name. 

> what do  I need to do to make vipmap working?
as far as I know vipmap is just for pop, sqwebmail does its own with tricks 
in the vhosts configs. 

> what suggestions do you have for the env in apache for the cgi-bin script 
> so each of the server is running their own sqwebmail script.  I want to 
> say that it does work it just called the main sqwebmail script.
> THANKS, 
> 
> REMO 
> 
 



Re: vipmap and env apache

2001-11-15 Thread Bill Shupp

> its not supposed to, this changes where the HTML templates are
found,
> hence  the variable name.

vchkpw looks for the TCPLOCALIP environment variable to know what
IP the request is coming in on.  I don't know that apache can/will
supply this correctly to sqwebmail/authvchkpw.  It would be cool if you
could get it to work, though.

Regards,

Bill