Re: [vchkpw] starttls crashes on vpopmail with mysql

2006-09-22 Thread Ed McLain
I'm having this exact same problem.  Anyone found a rhyme or reason to
it yet?


On Mon, 2006-07-03 at 15:45 -0400, Ingo Claro wrote:
> here goes the same, but for the RHEL4U3 machine:
> 
> select(1, [0], NULL, NULL, {1167, 816000}) = 1 (in [0], left {1163,
> 91})
> read(0, "starttls\r\n", 1024)   = 10
> brk(0)  = 0x984f000
> brk(0x987)  = 0x984f000
> mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7e88000
> open("control/clientca.pem", O_RDONLY)  = -1 ENOENT (No such file or
> directory)
> open("/dev/urandom", O_RDONLY)  = 3
> read(3, "\361\250\352\276\200\244\265\tV\225f\35\0257\27\213d\370"...,
> 32) = 32
> open("control/servercert.pem", O_RDONLY) = 4
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> 
> 
> 
> regards,
> 
> 
> 
> 
> Ingo Claro F.
> Gerente de
> Operaciones
> [EMAIL PROTECTED]
> (+56-2) 43 00 155
> 
> 
>NetRed S.A.
>  Certificado ISO
> 9001:2000
> 
> 
> Jeremy Kitchen escribió: 
> > On Friday 30 June 2006 12:57, Ingo Claro wrote:
> >   
> > > Jeremy:
> > > 
> > > I don't know how to make that, if you provide some basic instructions I
> > > can do it. I must do that before or after the crash?
> > > 
> > > Note that i am also installing a RHEL 4 U3 and have the same problems..
> > > Anything else I can test I'll be happy to provide.
> > > I have another instalation in RHEL U1, with mysql but in the same
> > > machine, so it uses socket instead of tcp. And is operates without
> > > problems.
> > > 
> > 
> > then you'll want to use strace, which should be installed.  if it isn't, 
> > install the strace package from your distribution.
> > 
> > after that.. telnet to your smtp server, then in another terminal find the 
> > pid 
> > of the qmail-smtpd instance you're connected to...
> > 
> > strace -o /tmp/strace.out -p 
> > 
> > make it crash
> > gzip and post on the web
> > send url to here.
> > 
> > -Jeremy
> > 
> >   
-- 
Thanks,
Ed McLain
Sr. Colocation Engineer
TekLinks / High Speed Solutions
[EMAIL PROTECTED]
205.314.6600

!DSPAM:45138e1b171239973842769!



[vchkpw] Re: List to send email for everybody for domain.

2006-09-22 Thread Robin Bowes
Krzysiek Włodarczak wrote:
> Juliano Souza - Tecnologia napisał(a):
>> How I can build an list [EMAIL PROTECTED] to send emails for everyone for
>> domain?
> 
> Try ezalm: http://www.ezmlm.org/

I've had the same issue. A client (ISP) wants to send mail to all users
in all domains hosted on a particular server.

Creating an ezmlm list for all users would be feasible, but would be
impossible to maintain as users are added/removed.

vpopbull will apparently do this (if you leave off the domain parameter
it apparently sends to all domains) *but* it doesn't recognise any
forwarding settings, i.e. it just drops the mail in the Maildir on the
filesystem without checking .qmail files.

Would it be possible to modify vpopbull so it uses std qmail delivery?

Thanks,

R.


!DSPAM:4513c4ae289661973912509!



Re: [vchkpw] Re: List to send email for everybody for domain.

2006-09-22 Thread Bert JW Regeer


On Sep 22, 2006, at 04:08:42  MST, Robin Bowes wrote:


Krzysiek Włodarczak wrote:

Juliano Souza - Tecnologia napisał(a):
How I can build an list [EMAIL PROTECTED] to send emails for  
everyone for

domain?


Try ezalm: http://www.ezmlm.org/


I've had the same issue. A client (ISP) wants to send mail to all  
users

in all domains hosted on a particular server.

Creating an ezmlm list for all users would be feasible, but would be
impossible to maintain as users are added/removed.

vpopbull will apparently do this (if you leave off the domain  
parameter

it apparently sends to all domains) *but* it doesn't recognise any
forwarding settings, i.e. it just drops the mail in the Maildir on the
filesystem without checking .qmail files.

Would it be possible to modify vpopbull so it uses std qmail delivery?

Thanks,

R.


!DSPAM:4513c4ae289661973912509!



But vpopbull will spit out an entire list of users on the system, you  
can then lazy add them to an ezmlm list every so often (run it  
through cron) and then you'd be set. This solution was suggested on  
this mailing list before.


Bert JW Regeer

smime.p7s
Description: S/MIME cryptographic signature
!DSPAM:4513df1623461090830083!

[vchkpw] over quota in emtpy maildirs

2006-09-22 Thread Reed L. O'Brien
It appears that any quota I set under 5gb is over quota, even if the  
mailbox is empty.

Is this a known issue?
Did I do something I don't know about?
Am I missing something?
oh, and either way qmailadmin shows the correct usage...

vpopmail 5.4.13
FedoraCore3

example:
create new user:
[EMAIL PROTECTED] vpopmail]# ./bin/vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:

look at info
[EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED]
name:   foo
passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1
clear passwd: foo
uid:1
gid:0
flags:  0
gecos: foo
limits: No user limits set.
dir:   /home/vpopmail/domains/obscured_domain.com/foo
quota: NOQUOTA
usage: NOQUOTA
account created: Fri Sep 22 12:08:46 2006
last auth: Never logged in

set 4 GB quota  
		[EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED]  
4294967296

[EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED]

Wha? 100% usage in an empty maildiir??  
name:   foo
passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1
clear passwd: foo
uid:1
gid:0
flags:  0
gecos: foo
limits: No user limits set.
dir:   /home/vpopmail/domains/obscured_domain.com/foo
quota: 4294967296S
usage: 100%
account created: Fri Sep 22 12:08:46 2006
last auth: Never logged in

set 5gb quotat  
		[EMAIL PROTECTED] vpopmail]# ./bin/vsetuserquota [EMAIL PROTECTED]  
5368709120


And 0% percent usage, that's bettter but I want 2gb...
[EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED]
name:   foo
passwd: $1$s4RsoZAt$FN5VL0rFBIvB/PwVSbArN1
clear passwd: foo
uid:1
gid:0
flags:  0
gecos: foo
limits: No user limits set.
dir:   /home/vpopmail/domains/obscured_domain.com/foo
quota: 5368709120S
usage: 0%
account created: Fri Sep 22 12:08:46 2006
last auth: Never logged in

delete user 
[EMAIL PROTECTED] vpopmail]# ./bin/vdeluser [EMAIL PROTECTED]
[EMAIL PROTECTED] vpopmail]# ./bin/vuserinfo [EMAIL PROTECTED]
no such user [EMAIL PROTECTED]


!DSPAM:45140db7127981804284693!



[vchkpw] vpopmail forward

2006-09-22 Thread Elton Ramos Carvalho

Hello,
  
   Is it possible to store forward address (.qmail-) in vpopmail`s 
database?


Thank you


!DSPAM:451425c8153112094610977!



Re: [vchkpw] vpopmail forward

2006-09-22 Thread Shane Chrisp
On Fri, 2006-09-22 at 15:04 -0300, Elton Ramos Carvalho wrote:
> Hello,
>
> Is it possible to store forward address (.qmail-) in vpopmail`s 
> database?
> 
> Thank you

Yes.

in the .qmail file add

/directory/to/Maildir
&[EMAIL PROTECTED]


Shane


!DSPAM:451426c3164781804284693!



Re: [vchkpw] vpopmail forward

2006-09-22 Thread Elton Ramos Carvalho

Shane Chrisp wrote:

On Fri, 2006-09-22 at 15:04 -0300, Elton Ramos Carvalho wrote:
  

Hello,
   
Is it possible to store forward address (.qmail-) in vpopmail`s 
database?


Thank you



Yes.

in the .qmail file add

/directory/to/Maildir
&[EMAIL PROTECTED]


Shane






  

Thank you for reply Shane, but isn`t that I need.
I need that the forward entry be stored in my mysql database like 
virtual valias.



!DSPAM:45142809177081272427340!



Re: [vchkpw] vpopmail forward

2006-09-22 Thread Shane Chrisp
On Fri, 2006-09-22 at 15:13 -0300, Elton Ramos Carvalho wrote:


> Thank you for reply Shane, but isn`t that I need.
> I need that the forward entry be stored in my mysql database like 
> virtual valias.

You can add them to the valias table as well. Slightly different format,
but it works, or it used to. I havnt tried it for a while, but i used to
have a mail account storing locally and also forwarding to a gmail
account. You just add two rows to the table with the same alias name and
a different valias_line. The local store gets the Maildir and the remote
one gets the email address.

INSERT INTO valis VALUES('user','domain.com','/dir/to/Maildir');
INSERT INTO valis VALUES('user','domain.com','[EMAIL PROTECTED]');


Shane


!DSPAM:45142947188944799555752!



Re: [vchkpw] vpopmail forward

2006-09-22 Thread Elton Ramos Carvalho

Shane Chrisp wrote:

On Fri, 2006-09-22 at 15:13 -0300, Elton Ramos Carvalho wrote:


  

Thank you for reply Shane, but isn`t that I need.
I need that the forward entry be stored in my mysql database like 
virtual valias.



You can add them to the valias table as well. Slightly different format,
but it works, or it used to. I havnt tried it for a while, but i used to
have a mail account storing locally and also forwarding to a gmail
account. You just add two rows to the table with the same alias name and
a different valias_line. The local store gets the Maildir and the remote
one gets the email address.

INSERT INTO valis VALUES('user','domain.com','/dir/to/Maildir');
INSERT INTO valis VALUES('user','domain.com','[EMAIL PROTECTED]');


Shane






  

ok, it worked.
Thank you Shane


!DSPAM:4514306f213941796013223!



Re: [vchkpw] starttls crashes on vpopmail with mysql

2006-09-22 Thread Ed McLain
For anyone having this same problem, here is the fix, or at least it was
on my box.

Modify the file Makefile in the netqmail directory and look for the
line:
VPOPMAIL_LIBS=`head -1 $(VPOPMAIL_HOME)/etc/lib_deps`

Change this to read (this is all on 1 line):
VPOPMAIL_LIBS=-lz -lm -lcrypt -L$(VPOPMAIL_HOME)/lib -lvpopmail
-lmysqlclient

Save and run 'make clean; make' and you should be good to go.

For some reason, and I can't seem to figure out why, when you use the
vpopmail lib_deps it forces the mysql lib directory to /usr/lib/mysql
which on my system is the 5.0.20 libs.  Letting the system decide on
it's own by using the compat libs out of /usr/lib works.  I'm not sure
where the problem is coming into play, but running a gdb traces the
segfault to the SSL_use_RSAPrivateKey_file func in libssl.  Doesn't
matter what version of libssl it is either, I tried both 0.9.7a, 0.9.7k,
and 0.9.8c.  Just thought I would throw that in as a fix in case
somebody else experiences this problem.

Ed.


On Fri, 2006-09-22 at 02:17 -0500, Ed McLain wrote:
> I'm having this exact same problem.  Anyone found a rhyme or reason to
> it yet?
> 
> 
> On Mon, 2006-07-03 at 15:45 -0400, Ingo Claro wrote:
> > here goes the same, but for the RHEL4U3 machine:
> > 
> > select(1, [0], NULL, NULL, {1167, 816000}) = 1 (in [0], left {1163,
> > 91})
> > read(0, "starttls\r\n", 1024)   = 10
> > brk(0)  = 0x984f000
> > brk(0x987)  = 0x984f000
> > mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> > -1, 0) = 0xb7e88000
> > open("control/clientca.pem", O_RDONLY)  = -1 ENOENT (No such file or
> > directory)
> > open("/dev/urandom", O_RDONLY)  = 3
> > read(3, "\361\250\352\276\200\244\265\tV\225f\35\0257\27\213d\370"...,
> > 32) = 32
> > open("control/servercert.pem", O_RDONLY) = 4
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > 
> > 
> > 
> > regards,
> > 
> > 
> > 
> > 
> > Ingo Claro F.
> > Gerente de
> > Operaciones
> > [EMAIL PROTECTED]
> > (+56-2) 43 00 155
> > 
> > 
> >NetRed S.A.
> >  Certificado ISO
> > 9001:2000
> > 
> > 
> > Jeremy Kitchen escribió: 
> > > On Friday 30 June 2006 12:57, Ingo Claro wrote:
> > >   
> > > > Jeremy:
> > > > 
> > > > I don't know how to make that, if you provide some basic instructions I
> > > > can do it. I must do that before or after the crash?
> > > > 
> > > > Note that i am also installing a RHEL 4 U3 and have the same problems..
> > > > Anything else I can test I'll be happy to provide.
> > > > I have another instalation in RHEL U1, with mysql but in the same
> > > > machine, so it uses socket instead of tcp. And is operates without
> > > > problems.
> > > > 
> > > 
> > > then you'll want to use strace, which should be installed.  if it isn't, 
> > > install the strace package from your distribution.
> > > 
> > > after that.. telnet to your smtp server, then in another terminal find 
> > > the pid 
> > > of the qmail-smtpd instance you're connected to...
> > > 
> > > strace -o /tmp/strace.out -p 
> > > 
> > > make it crash
> > > gzip and post on the web
> > > send url to here.
> > > 
> > > -Jeremy
> > > 
> > >   
-- 
Thanks,
Ed McLain
Sr. Colocation Engineer
TekLinks / High Speed Solutions
[EMAIL PROTECTED]
205.314.6600