Re: [vchkpw] uid and gid in assign

2003-01-08 Thread Manvendra Bhangui

correct your assign file (put back the first one) and run
/var/qmail/bin/qmail-newu. After that run
chown -R vpopmail:vchkpw ~vpopmail/domains/mavin.ath.cx

On Wed, 8 Jan 2003 08:59:16 +0100
Tobias Åman <[EMAIL PROTECTED]> wrote:

> Sorry it was me who wrote that mail to fast it should be like this
> 
> first it looked like this
>  +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx
> 
>  now it looks like this
>  +mavin.ath.cx-:mavin.ath.cx:502:502:/home/vpopmail/domains/mavin.ath.cx
> 
> 502 is the vpopmail useraccount and 89 is vchkpw
> 
> This is what i get from the ls -lisadn ~vpopmail/domains/mavin.ath.cx
> 11141134 drwx--6 502  89   4096 Jan  7 14:30
> /home/vpopmail/domains/mavin.ath.cx/
> 
> Although i get this one when i added a new domain
> 35061784 drwx--5 502  502  4096 Jan  7 15:29
> /home/vpopmail/domains/star.homeftp.org/
> 
> Regards Tobias
> 
> - Original Message -
> From: "Peter Palmreuther" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 07, 2003 4:48 PM
> Subject: Re: [vchkpw] uid and gid in assign
> 
> 
> > Hi Tobias,
> >
> > On Tue, 7 Jan 2003 16:00:41 +0100
> > Tobias Åman <[EMAIL PROTECTED]> wrote:
> >
> > > What uid and gid should be assigned in /var/qmail/user/assign
> > >
> > > mine looked like this
> > >
> > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.
> > > cx:-::
> > >
> > >
> > > now i looks like this
> > >
> > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.
> > > cx:-::
> > >
> > > This happend after i re installed som stuff lika vpopmail and
> > > reconfigured qmail
> > > what is the right one ? how does yours look like ?
> >
> > I'm really sorry, but I don't see any difference.
> >
> > Nevertheless: the UID and GID given in there should be the one
> > vpopmail runs the domains as. In general this are the UID and GID of
> > vpopmail, unless you gave a different system-user when creating the
> > domain with'vadddomain'.
> >
> > A hint could be the output of
> >
> > ls -lisadn ~vpopmail/domains/mavin.ath.cx
> >
> > The UID and GID given there should be the one in assign-file.
> > --
> > Peter
> 
> 
> 




Re: [vchkpw] uid and gid in assign

2003-01-08 Thread Manvendra Bhangui

Are you using vadddomain on this server compiled from a different box ?

Regards Manvendra
On Wed, 8 Jan 2003 08:59:16 +0100
Tobias Åman <[EMAIL PROTECTED]> wrote:

> Sorry it was me who wrote that mail to fast it should be like this
> 
> first it looked like this
>  +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.cx
> 
>  now it looks like this
>  +mavin.ath.cx-:mavin.ath.cx:502:502:/home/vpopmail/domains/mavin.ath.cx
> 
> 502 is the vpopmail useraccount and 89 is vchkpw
> 
> This is what i get from the ls -lisadn ~vpopmail/domains/mavin.ath.cx
> 11141134 drwx--6 502  89   4096 Jan  7 14:30
> /home/vpopmail/domains/mavin.ath.cx/
> 
> Although i get this one when i added a new domain
> 35061784 drwx--5 502  502  4096 Jan  7 15:29
> /home/vpopmail/domains/star.homeftp.org/
> 
> Regards Tobias
> 
> - Original Message -
> From: "Peter Palmreuther" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 07, 2003 4:48 PM
> Subject: Re: [vchkpw] uid and gid in assign
> 
> 
> > Hi Tobias,
> >
> > On Tue, 7 Jan 2003 16:00:41 +0100
> > Tobias Åman <[EMAIL PROTECTED]> wrote:
> >
> > > What uid and gid should be assigned in /var/qmail/user/assign
> > >
> > > mine looked like this
> > >
> > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.
> > > cx:-::
> > >
> > >
> > > now i looks like this
> > >
> > > +mavin.ath.cx-:mavin.ath.cx:89:89:/home/vpopmail/domains/mavin.ath.
> > > cx:-::
> > >
> > > This happend after i re installed som stuff lika vpopmail and
> > > reconfigured qmail
> > > what is the right one ? how does yours look like ?
> >
> > I'm really sorry, but I don't see any difference.
> >
> > Nevertheless: the UID and GID given in there should be the one
> > vpopmail runs the domains as. In general this are the UID and GID of
> > vpopmail, unless you gave a different system-user when creating the
> > domain with'vadddomain'.
> >
> > A hint could be the output of
> >
> > ls -lisadn ~vpopmail/domains/mavin.ath.cx
> >
> > The UID and GID given there should be the one in assign-file.
> > --
> > Peter
> 
> 
> 




[vchkpw] Re: Environment variables

2003-01-08 Thread Peter Palmreuther
Hello Daniel,

On Tuesday, January 7, 2003 at 10:02:52 PM you wrote:

> What environment variables get set my vpopmail?

None.

What environment variables you want to be set _WHEN_?
-- 
Best regards
Peter Palmreuther





[vchkpw] Re: welcome message

2003-01-08 Thread Peter Palmreuther
Hello Werner,

On Wednesday, January 8, 2003 at 1:41:56 AM you wrote:

> Is there a way to set a "welcome" message that is sent when a postmaster
> creates an e-mail account?

Modify vpopmail sources for "vadddomain" not only creating "Maildir"
but copying an e-mail to 'Maildir/new' too.
-- 
Best regards
Peter Palmreuther





[vchkpw] autoresponder question

2003-01-08 Thread Abel Lucano

Hi all,
we've trying to solve a customer issue.

Briefly:

if the file /home/vpopmail/domains/domain.com.ar/.qmail-info
looks like:

&[EMAIL PROTECTED]
&[EMAIL PROTECTED]
&[EMAIL PROTECTED]
&[EMAIL PROTECTED]
&[EMAIL PROTECTED]

AND each of these accounts have active vacation messages
If I send a message to [EMAIL PROTECTED]  I receive Five vacation
messages, one of each different final recipient;

The customer thinks that this feature is annoying and confuse.

Is there any tip to avoid this behaviour?

thanks in advance


Abel Lucano
[EMAIL PROTECTED]








SV: [vchkpw] Too many connections to MySQL.. ? (VPOPMAIL 5.3.5)

2003-01-08 Thread joho

Hello All,

could anyone shed some light on this? In other words, how to
control the number of connections that are attempted by
qmail/vpopmail and/or how many connections are supported/
handled by MySQL.

I have looked for this information in every place I can think
of, and I can still not get this to work. As soon as someone
drops a mail to, say, 20-30 recipients at the same time, I
get these bounce messages.


-Joaquim



-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 20 november 2002 16:00
Till: [EMAIL PROTECTED]
Ämne: [vchkpw] Too many connections to MySQL.. ? (VPOPMAIL 5.3.5)



Hi there, someone wanted to drop a mail to all of our 1200+ users and
apparently a) had a not-so-up-to-date list of recipients (which
resulted in a few, correct, bounced), and b) caused VPOPMAIL to flood
our MySQL-server.

The resulting output in a bounce message was:

<[EMAIL PROTECTED]>: 
could not connect to mysql update server Too many connections with database 
vmysql: sql error[1]: Can't create database 'XXvpopmail'. Database exists 
vmysql: sql error[3]: No Database Selected 
Sorry, no mailbox here by that name. vpopmail (#5.1.1) 


How do I control how many sessions it attempts to open.. ?



___
 .: +46 70 7745707
 .: Domo arigato gozaimashita
 .: At the end of a smile, there is a laugh and a 1/2




Re: SV: [vchkpw] Too many connections to MySQL.. ? (VPOPMAIL 5.3.5)

2003-01-08 Thread Davide Giunchi
Il 12:59, mercoledì 8 gennaio 2003, [EMAIL PROTECTED] ha scritto:
> Hello All,
>
> could anyone shed some light on this? In other words, how to
> control the number of connections that are attempted by
> qmail/vpopmail and/or how many connections are supported/
> handled by MySQL.
>

to control the number of connections to MySQL you could use mrtg, at 
www.mrtg.org you can find the mysql "plugin", i use [mrtg-mysql-load] to 
monitor the query and slow query per minute.
remember to use qmailmrtg to monitor the qmail traffic and usage.

> I have looked for this information in every place I can think
> of, and I can still not get this to work. As soon as someone
> drops a mail to, say, 20-30 recipients at the same time, I
> get these bounce messages.
>

I think that it's very hard to reach the maximum number of (phisical)  
connections.
20-30 pop3 connections at the same time would not be a problem for 
qmail/mysql, i've constantly 100-150 (and sometimes 200) concurrent 
connection, as shown from qmailmrtg, to the pop3 and the system works good.

Regards.

-- 
Davide Giunchi.
Membro del FoLUG (Forlí Linux User Group) - http://folug.linux.it
GPG Key available on http://www.keyserver.net 
Fingerprint: 4BFF 2682 6A58 ECFE 071B  A1A4 F2A3 9EFA 6494 81FD





Re: [vchkpw] Too many connections to MySQL.. ? (VPOPMAIL 5.3.5)

2003-01-08 Thread Peter Palmreuther
Hi [EMAIL PROTECTED],

On Wed, 8 Jan 2003 12:59:00 +0100 
[EMAIL PROTECTED] wrote:

[...]
> how many connections are supported/ handled by MySQL.
> 
>  I have looked for this information in every place I can think of

Sure?

You've even tried to search with google in 'mysql.com' only for 

"Too many connections"

too?
I can't imagine this, as you'd have found a link here:

http://www.mysql.com/doc/en/Too_many_connections.html
-- 
Peter




Re: [vchkpw] Re: welcome message

2003-01-08 Thread Trey Nolen

This sure is a pain to do every time you update vpopmail.  I sure hope this
feature gets accepted into the distribution one day

Trey



> Hello Werner,
>
> On Wednesday, January 8, 2003 at 1:41:56 AM you wrote:
>
> > Is there a way to set a "welcome" message that is sent when a postmaster
> > creates an e-mail account?
>
> Modify vpopmail sources for "vadddomain" not only creating "Maildir"
> but copying an e-mail to 'Maildir/new' too.
> --
> Best regards
> Peter Palmreuther
>
>
>





[vchkpw] Weird issue i'm seeing when qmail+vpopmail is used.

2003-01-08 Thread Scott Walker
I have about 45 domains on a vpopmail+qmail setup. It runs like a champ

But the problem i'm seeing (and I've seen it before) for some unknown 
reason sometimes (I say sometimes, cause it truly is 'sometimes') you'll 
email [EMAIL PROTECTED] It will take anywhere from 15 mins to 4 hours for the 
mail to show up.

Turn around and email [EMAIL PROTECTED] on the same box (from same email used 
in first test)... shows up instantly.

Has anyone encountered that before? Is there somewhere you can set 
something like that kind of hold time? Or is something wrong with how 
the domain was setup? I'm at a loss.

I've got tons of customers barking at me about it taking 6 hours, for 
mail to show up, etc, etc.

I'm truly at a loss any help? :)




[vchkpw] vpopmail cdb to mysql conversion 5.2.1 problem, table layout?

2003-01-08 Thread Wouter Prins
Hello,

I converted our userbase from CDB format to MySQL format a few days ago, however only 
new domains are present in the
dir_control table. Is this normal behaviour or should this table also contain the old 
CDB domains?

I converted the domains with `vconvert -c -m`

What i've seen is that the vlog table becomes quite big after a few days, will it weed 
out old logs after a few
days or do i have to make something my own that does this?

What are the level* tables for? Can i find a description of the table/column fields 
somewhere? Sorry if this is a FAQ
question but i've tried to look for it but could not find it.

Thanks in advance,

Wouter
-- 

IFusion Internet Services





Re: [vchkpw] Re: welcome message

2003-01-08 Thread Peter Palmreuther
Hi Trey,

On Wed, 8 Jan 2003 07:56:54 -0600
"Trey Nolen" <[EMAIL PROTECTED]> wrote:

>>> Is there a way to set a "welcome" message that is sent when a
>>> postmaster creates an e-mail account?

>> Modify vpopmail sources for "vadddomain" not only creating "Maildir"
>> but copying an e-mail to 'Maildir/new' too.

> This sure is a pain to do every time you update vpopmail.  I sure hope
> this feature gets accepted into the distribution one day

Write the code, write it good, stable and secure, and submit it.
Maybe it's merged with vpopmail-core and no "rewrite" will be necessary.
-- 
Peter




Re: [vchkpw] Re: welcome message

2003-01-08 Thread Brian Kolaci

If you're going to put this in the distribution, make
sure that you have to select an option to have the mail
delivered.  I'm sure many people would *not* want this
message in their INBOX.  We used to do this an about 85%
of our customers complained, so it was removed.

Brian

  > Hi Trey,
  > 
  > On Wed, 8 Jan 2003 07:56:54 -0600
  > "Trey Nolen" <[EMAIL PROTECTED]> wrote:
  > 
  > >>> Is there a way to set a "welcome" message that is sent when a
  > >>> postmaster creates an e-mail account?
  > 
  > >> Modify vpopmail sources for "vadddomain" not only creating "Maildir"
  > >> but copying an e-mail to 'Maildir/new' too.
  > 
  > > This sure is a pain to do every time you update vpopmail.  I sure hope
  > > this feature gets accepted into the distribution one day
  > 
  > Write the code, write it good, stable and secure, and submit it.
  > Maybe it's merged with vpopmail-core and no "rewrite" will be necessary.
  > -- 
  > Peter
  > 






[vchkpw] vacation and aliases

2003-01-08 Thread Geir Høgberg
Hi,

I have an account with about 2 or 3 aliases.
When I enable the vacation-program which comes with vpopmail 5.3.8 and
QmailAdmin 1.0.6.

The vacation works for the main-address, but not for the aliases. The
aliases are also added the normal way.
I guess the problem is this:
/home/vpopmail/domains/domain.com/username/Maildir/

I have a thought that if I use vdelivermail or forward, it would work, but I
haven't tested this yet, mostly because the style i reffered to is the
standard way of creating an alias... but then the vacation-message won't
show when people mail to the alias addresses...

Has anyone looked into this?

-- 
Geir O. Høgberg




Re: [vchkpw] Re: welcome message

2003-01-08 Thread Trey Nolen
It could be a compile option (like --enable-welcomemsg).   We are an ISP and
use it for new customers. We have a nice letter typed up that explains all
the cool things that we have to offer that they wouldn't know about
otherwise. Also, when we are setting up someone's email, it is nice to have
an email waiting to be received so that you know it worked.

Trey

- Original Message -
From: "Brian Kolaci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 9:38 AM
Subject: Re: [vchkpw] Re: welcome message


>
> If you're going to put this in the distribution, make
> sure that you have to select an option to have the mail
> delivered.  I'm sure many people would *not* want this
> message in their INBOX.  We used to do this an about 85%
> of our customers complained, so it was removed.
>
> Brian
>
>   > Hi Trey,
>   >
>   > On Wed, 8 Jan 2003 07:56:54 -0600
>   > "Trey Nolen" <[EMAIL PROTECTED]> wrote:
>   >
>   > >>> Is there a way to set a "welcome" message that is sent when a
>   > >>> postmaster creates an e-mail account?
>   >
>   > >> Modify vpopmail sources for "vadddomain" not only creating
"Maildir"
>   > >> but copying an e-mail to 'Maildir/new' too.
>   >
>   > > This sure is a pain to do every time you update vpopmail.  I sure
hope
>   > > this feature gets accepted into the distribution one day
>   >
>   > Write the code, write it good, stable and secure, and submit it.
>   > Maybe it's merged with vpopmail-core and no "rewrite" will be
necessary.
>   > --
>   > Peter
>   >
>
>
>
>





Re: [vchkpw] Re: welcome message

2003-01-08 Thread Brian Kolaci

I run an ISP also.  It would be better to allow
a command line option to the executable.  The reason
I say this is that sometimes you want the letter, sometimes
you don't.  We happen to put a default letter in the
user's home directory Maildir to welcome them, however
the hosting customers are the ones that got annoyed at
getting the welcome letters.  They didn't want each time
they create an email account for their domain to get
any welcome letter.  So the welcome letter would be on
a per domain basis.  It would be nice if qmailadmin could
get a setting that stated if new users get a message, and
allow the postmaster to construct that message on a per-domain
basis.  We just put the letter into the /etc/skel default
home directory so that all new unix users get the welcome
letter.

Brian


  > It could be a compile option (like --enable-welcomemsg).   We are an ISP and
  > use it for new customers. We have a nice letter typed up that explains all
  > the cool things that we have to offer that they wouldn't know about
  > otherwise. Also, when we are setting up someone's email, it is nice to have
  > an email waiting to be received so that you know it worked.
  > 
  > Trey
  > 
  > - Original Message -
  > From: "Brian Kolaci" <[EMAIL PROTECTED]>
  > To: <[EMAIL PROTECTED]>
  > Sent: Wednesday, January 08, 2003 9:38 AM
  > Subject: Re: [vchkpw] Re: welcome message
  > 
  > 
  > >
  > > If you're going to put this in the distribution, make
  > > sure that you have to select an option to have the mail
  > > delivered.  I'm sure many people would *not* want this
  > > message in their INBOX.  We used to do this an about 85%
  > > of our customers complained, so it was removed.
  > >
  > > Brian
  > >
  > >   > Hi Trey,
  > >   >
  > >   > On Wed, 8 Jan 2003 07:56:54 -0600
  > >   > "Trey Nolen" <[EMAIL PROTECTED]> wrote:
  > >   >
  > >   > >>> Is there a way to set a "welcome" message that is sent when a
  > >   > >>> postmaster creates an e-mail account?
  > >   >
  > >   > >> Modify vpopmail sources for "vadddomain" not only creating
  > "Maildir"
  > >   > >> but copying an e-mail to 'Maildir/new' too.
  > >   >
  > >   > > This sure is a pain to do every time you update vpopmail.  I sure
  > hope
  > >   > > this feature gets accepted into the distribution one day
  > >   >
  > >   > Write the code, write it good, stable and secure, and submit it.
  > >   > Maybe it's merged with vpopmail-core and no "rewrite" will be
  > necessary.
  > >   > --
  > >   > Peter
  > >   >
  > >
 





RE: [vchkpw] Re: welcome message

2003-01-08 Thread Albert Hopkins


> -Original Message-
> From: Brian Kolaci [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 08 January, 2003 11:53 AM
> To: [EMAIL PROTECTED]
I added a patch that executes a .adduser and .deluser in the domain
directory when a user is added or deleted respectively.  We use it to send a
welcome message and for record keeping (I like to keep a log of when
accounts are created/deleted).  I first chose the to use a generic welcome
message file, but found that file execution was much more flexible.

--a

> Subject: Re: [vchkpw] Re: welcome message
>
>
>
> I run an ISP also.  It would be better to allow
> a command line option to the executable.  The reason
> I say this is that sometimes you want the letter, sometimes
> you don't.  We happen to put a default letter in the
> user's home directory Maildir to welcome them, however
> the hosting customers are the ones that got annoyed at
> getting the welcome letters.  They didn't want each time
> they create an email account for their domain to get
> any welcome letter.  So the welcome letter would be on
> a per domain basis.  It would be nice if qmailadmin could
> get a setting that stated if new users get a message, and
> allow the postmaster to construct that message on a per-domain
> basis.  We just put the letter into the /etc/skel default
> home directory so that all new unix users get the welcome
> letter.
>
> Brian
>
>
>   > It could be a compile option (like --enable-welcomemsg).   We
> are an ISP and
>   > use it for new customers. We have a nice letter typed up that
> explains all
>   > the cool things that we have to offer that they wouldn't know about
>   > otherwise. Also, when we are setting up someone's email, it
> is nice to have
>   > an email waiting to be received so that you know it worked.
>   >
>   > Trey
>   >
>   > - Original Message -
>   > From: "Brian Kolaci" <[EMAIL PROTECTED]>
>   > To: <[EMAIL PROTECTED]>
>   > Sent: Wednesday, January 08, 2003 9:38 AM
>   > Subject: Re: [vchkpw] Re: welcome message
>   >
>   >
>   > >
>   > > If you're going to put this in the distribution, make
>   > > sure that you have to select an option to have the mail
>   > > delivered.  I'm sure many people would *not* want this
>   > > message in their INBOX.  We used to do this an about 85%
>   > > of our customers complained, so it was removed.
>   > >
>   > > Brian
>   > >
>   > >   > Hi Trey,
>   > >   >
>   > >   > On Wed, 8 Jan 2003 07:56:54 -0600
>   > >   > "Trey Nolen" <[EMAIL PROTECTED]> wrote:
>   > >   >
>   > >   > >>> Is there a way to set a "welcome" message that is
> sent when a
>   > >   > >>> postmaster creates an e-mail account?
>   > >   >
>   > >   > >> Modify vpopmail sources for "vadddomain" not only creating
>   > "Maildir"
>   > >   > >> but copying an e-mail to 'Maildir/new' too.
>   > >   >
>   > >   > > This sure is a pain to do every time you update
> vpopmail.  I sure
>   > hope
>   > >   > > this feature gets accepted into the distribution one day
>   > >   >
>   > >   > Write the code, write it good, stable and secure, and submit it.
>   > >   > Maybe it's merged with vpopmail-core and no "rewrite" will be
>   > necessary.
>   > >   > --
>   > >   > Peter
>   > >   >
>   > >
>
>
>





Re: [vchkpw] welcome message

2003-01-08 Thread Peter Palmreuther
Hi Trey,

On Wed, 8 Jan 2003 11:44:50 -0600
"Trey Nolen" <[EMAIL PROTECTED]> wrote:

> Is there a way to set a "welcome" message that is sent when a
> postmaster creates an e-mail account?

 Modify vpopmail sources for "vadddomain" not only creating
 "Maildir" but copying an e-mail to 'Maildir/new' too.

>>> This sure is a pain to do every time you update vpopmail.  I sure
>>> hope this feature gets accepted into the distribution one day

>> Write the code, write it good, stable and secure, and submit it.
>> Maybe it's merged with vpopmail-core and no "rewrite" will be
>> necessary.

> Some good code was already submitted and it was rejecte because they
> didn't want "feature bloat."

Than go the opposite way:

wrap 'vadduser' with a small script.

e.g.

<--->
#!/bin/bash

usage() {
echo "$0  "
}

put_welcome_message() {
USER=$1
FILE_SRC=$2
FILE=${FILE_SRC##*/}

TEMP="$(vuserinfo "${USER}" |grep '^dir:')"
DIR="${TEMP#dir:}"
pushd ${DIR} &>/dev/null || return 2
cp "$FILE_SRC" "Maildir/new/${FILE}"
chmod 600 "Maildir/new/$FILE"
chown --reference=. "Maildir/new/${FILE}"
}

if [ $# -lt 2 ]; then
usage;
exit 1;
fi

USER=$1
FILE=$2

vadduser "${USER}" && put_welcome_message ${USER} ${FILE}

exit $?
<--->

Can't be THAT hard for a person having to administrate a MTA, can't it?
-- 
Peter




[vchkpw] See forward in qmailadmin???

2003-01-08 Thread Marcos Dutra
Hi people,

When i create a forward with any user different of postmaster in qmailadmin, 
and if log in with postmaster password, i don't see a forward created by 
simple user, why???

Best Regards

Marcos Dutra






[vchkpw] bounced mail when used ./vadddomain -u username virtualdomain

2003-01-08 Thread Neo Wee Teck


smime.p7m
Description: application/pkcs7-mime


RE: [vchkpw] vpopmail cdb to mysql conversion 5.2.1 problem, table layout?

2003-01-08 Thread Michael Bowe
> -Original Message-
> From: Wouter Prins [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, 9 January 2003 2:16 AM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] vpopmail cdb to mysql conversion 5.2.1 
> problem, table layout?


> What i've seen is that the vlog table becomes quite big after 
> a few days, will it weed out old logs after a few days or do 
> i have to make something my own that does this?

No, the logs will not get automatically purged.

If you compiled vpopmail with "--enable-mysql-logging=y",
then vpopmail will log every single authentication request 
into the vlog table.

This is not really acceptable for most (all?) installations 
because the size of the table will become huge in no time flat.

I have just added some information about this issue to my 
vpopmail/mysql toaster page at 
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm
(look in the vpopmail section)

I have provided a patch that shows how I modified the vpopmail 
logging code so that the mysql logging verbosity will mimic 
the syslog verbosity chosen in the "--enable-logging" configure
command.

So then you can reconfigure with "--enable-logging=p", and
only failed authentication attempts will get logged to the vlog table.

Hope that helps!

Michael.





[vchkpw] vconvert - cdb to MySQL problem

2003-01-08 Thread erik



Hello everyone,I'm trying to convert several virtual domains using 
cdb (mostly encrypted passwords) into MySQL as I'm moving all domains to a new 
mail server using MySQL authentication.
I use vpopmail 5.2.1. vpopmail is configured to use the database "vpopmail" 
and user "vpopmail" in the vmysql.h configuration file.The problem is 
that when I run "vconvert -c -m yourplana.com" nothing really happens with the 
vpopmail database. Everything seems to be ok and vconvert returns "converting 
yourplana.com done".But, there's no additional table(s) added in the 
database "vpopmail":mysql> show 
tables;++| Tables_in_vpopmail 
|++| vpopmail |++And 
there's nothing in the vpopmail table:mysql> select * from 
vpopmail;Empty set (0.00 sec)If I add a domain using ./vadddomain 
yourplana222.com the postmaster user is created in the vpopmail table and it 
also creates two new tables called "dir_control" and "lastauth". I have tried to 
run vconvert for yourplana.com again, but that doesn't help either.I 
have tried to run ./vconvert -c -m without specifying a domain name. Vconvert 
then runs through the entire list of domains in /home/vpopmail/domains and 
actually deletes the yourplana222.com domain I created a few minutes ago(!) The 
vpopmail table is now empty again. (At least this rules out any database 
connection problems.)Doesn't vconvert support encrypted passwords in the 
vpasswd.cdb file, or are something wrong with my intallation?I have 
configured vpopmail with the following 
options:--enable-mysql-logging=y--enable-logging=y--enable-auth-logging=y--enable-roaming-users=y--enable-mysql=yAny 
suggestions are very much appreciated.Thanks,--Erik
 


[vchkpw] problems with vqsignup and vqregister

2003-01-08 Thread Julio Espada Olivares
Hi

I hope that somebody could help me.
I have vqsignup running in order to allow e-mail account signup from web. It
works fine but sometimes (one in ten, +/-) users got an error telling that
the domain is not allowed. Well, I only use that domain and it's properly
set up at vqsignup.conf.

The problem with vqregister is a compile problem (i'm new to linux). When I
run the vqregister.cgi I allways got the message:

/var/src/vqregister-2.6/vqregister: error while loading shared libraries:
libmysqlclient.so.10: cannot open shared object file: No such file or
directory

and my Makefile is properly set up, I think:

DEFS = -I$(VDIR)/include -I/usr/local/mysql/include/mysql
LINKDEFS =
LIBS
= -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/local/mysql/lib/mysql -lmysqlclien
t

The libmysqlclient.so.10 is at /usr/local/mysql/lib/mysql (like LIBS)

So, what's wrong ?

Thanks in advance for any help :)

[]'s






[vchkpw] Relay problem with 5.2.1/5.3.3 and 5.3.12

2003-01-08 Thread Anders Eliasson



Hi.
 
First, i have spend over one week to solve this 
problem without success, have read all mail from
the mailinglist since 2002-03-01 and still no 
solution. Im running vpopmail 5.2.1 (even tested
with 5.3.3 and 5.3.12) with 
--enable-roaming-user=y. My run file contains 
-x/home/vpopmail/etc/tcp.smtp.cdband if i manually add my ip to the tcp.smtp 
file and run qmailctl cdb i can relay so that partworks. The files open-smtp 
and tcp.smtp.cdb is only changing when cronjob clearopensmtp runsso it seems 
vpopmail never rebuilds the tcp.smtp.cdb file. I checked the docs and saw 
that ucspi has default path as ../ucspi-0.84 so i added the switch with 
v0.88 instead butstill no luck. Today when i checked the server i noticed 
that i got some new filescalled open-smtp.tmp. that i havent seen before 
until now, but the open-smtp andtcp.smtp.cdb is still untocuhed until 
clearopensmtp runs. Checked permission fromanother vpopmail installation and 
everything is correct.
 
I have tested the --with-logging with y and v and i 
cant see anything in my logsso i cant track what it is that is wrong with 
vpopmail.
 
Any suggestion what can be wrong with the relay and 
why cant vpopmail log
This is my third installation of vpopmail and my 
first problem with it.
 
Best Regards Anders 
Eliasson.


Re: [vchkpw] implications?

2003-01-08 Thread Paul Theodoropoulos

Hopefully someone has some idea about this? I think my biggest concern is 
the handling of mailing lists, since ezmlm uses .qmail-mailinglist-owner 
etc. is changing this setting going to make my mailing lists 'blow up'?

At 10:44 AM 01-07-2003, you wrote:
what are the implications for an in-production system if i were to change 
--enable-qmail-ext to y?

reason for asking:

i use qmailadmin "on top" of vpopmail so customers can modify forwarding, 
vacation, etc.. the problem is, i'm working on installing Blackhole spam 
filtering, and that requires instructions in their .qmail. I'd like to 
'offload' the blackhole program instructions to a .qmail-ext for each 
customer, so that qmailadmin can freely modify .qmail without interfering 
with the blackhole program instructions.

or am i misunderstanding the functionality? i've never used qmail 
extensions before, not overtly...

thanks in advance. i've read INSTALL, btw.


Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net



Paul Theodoropoulos
http://www.anastrophe.com
http://folding.stanford.edu
The Nicest Misanthrope on the Net 





Re: [vchkpw] problems with vqsignup and vqregister

2003-01-08 Thread buffalo
On Thu, 9 Jan 2003, Julio Espada Olivares wrote:

Julio,

Try adding:

/usr/local/mysql/lib/mysql

To:
 
/etc/ld.so.conf 

and then run ldconfig (as root) from the command line. This should take
care of the problem...

--Duncan





[vchkpw] Variable for courier + vpopmail

2003-01-08 Thread Remo Mattei
Hi guys, I can't remember what ENV I need to export to compile imap. I have
the server running with openLDAP now and in my mysql I do have a relay table
and what I had to do was to export the ENV before compiling imap. Will this
work the same with OpenLDAP.

THANKS, 

REMO




Re: [vchkpw] Variable for courier + vpopmail

2003-01-08 Thread Jason Smith
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY" ???

On Wed, 08 Jan 2003 22:43:31 -0700, Remo Mattei <[EMAIL PROTECTED]> wrote :

> Hi guys, I can't remember what ENV I need to export to compile imap. I 
have
> the server running with openLDAP now and in my mysql I do have a relay 
table
> and what I had to do was to export the ENV before compiling imap. Will 
this
> work the same with OpenLDAP.
> 
> THANKS, 
> 
> REMO
> 
> 
> 
> 




[vchkpw] why I can not redirect the virtual domain mail?

2003-01-08 Thread Jerry Chou



I set up a test virtual domain of vpc.jeje
and then 
$echo '&mybox@INTERNET_REAL_BOX' 
\
> 
/home/vpopmail/domain/vpc.jeje/postmaster/.qmail
 
the log of qmail-send:
 
@40003e1d0cab24a2325c new msg 
30542@40003e1d0cab24a2596c info msg 30542: bytes 215 from <[EMAIL PROTECTED]> qp 1524 uid 89@40003e1d0cab24c231c4 end msg 
30542@40003e1d0cab24c68b0c delivery 412: success: 
sh:_mybox@INTERNET_REAL_BOX:_command_not_found/did_0+0+2//bin/cat:_/tmp/1042091169.1517.mail.vpc.jeje:_No_such_file_or_directory/@40003e1d0cab24c9c344 
status: local 0/10 remote 0/20
and my log of 
qmail-send will full of those entry and 
goes bigger and bigger.
 
but I can send 
mail to mybox@INTERNET_REAL_BOX
with this 
virtual domain if no .qmail file.
and if I change 
the .qmail-default with '&mybox@INTERNET_REAL_BOX', 

it should 
work always, but all mail of this domain will be redirect but 
some user
of this domain.
and my .qmail-default hold by vpopmail is
| /home/vpopmail/bin/vdelivermail '' 
bounce-no-mailboxall part of qmail and vpopmail works 
well.
anything wrong with it ??
 
Jerry


[vchkpw] Qmailadmin + vpopmail + LDAP weird stuff

2003-01-08 Thread Remo Mattei
Hi guys, I have vpopmail running with OpenLDAP and everything is ok, I can
see users from qmailadmin, I can users using the vadduser option no problem,
but when I try to add user with qmailadmin I get the text saying user could
not be added but it does get added, I check it with vuserinfo and it's there
but the text it's just not right, any suggestions.

Thanks, 

REMO




Re: [vchkpw] why I can not redirect the virtual domain mail?

2003-01-08 Thread Jerry Chou



There is another important log before following 
logs:
@40003e1d0cab0ff211c4 new msg 
30542@40003e1d0cab0ff23cbc info msg 30542: bytes 1308 from <[EMAIL PROTECTED]> qp 1488 uid 
502@40003e1d0cab1037e0dc starting delivery 409: msg 30542 to 
local [EMAIL PROTECTED]@40003e1d0cab1039b1b4 status: local 1/10 remote 
0/20@40003e1d0cab18b7916c new msg 30555@40003e1d0cab18b7bc64 
info msg 30555: bytes 1410 from <[EMAIL PROTECTED]> qp 1496 uid 
89@40003e1d0cab18ec0b04 starting delivery 410: msg 30555 to local 
[EMAIL PROTECTED]@40003e1d0cab18eebe6c status: local 2/10 remote 
0/20@40003e1d0cab191b2d6c delivery 409: success: 
sh:_mybox@INTERNET_REAL_BOX:_command_not_found/did_0+0+2/@40003e1d0cab1920173c 
status: local 1/10 remote 0/20@40003e1d0cab1923f76c end msg 
30542
I think the problem is showed on the words in 
red.
 
 

   
  Sent: Thursday, January 09, 2003 1:56 
  PM
  Subject: [vchkpw] why I can not redirect 
  the virtual domain mail?
  
  I set up a test virtual domain of 
vpc.jeje
  and then 
  $echo '&mybox@INTERNET_REAL_BOX' 
  \
  > 
  /home/vpopmail/domain/vpc.jeje/postmaster/.qmail
   
  the log of qmail-send:
   
  @40003e1d0cab24a2325c new msg 
  30542@40003e1d0cab24a2596c info msg 30542: bytes 215 from 
  <[EMAIL PROTECTED]> qp 1524 uid 89@40003e1d0cab24c231c4 end msg 
  30542@40003e1d0cab24c68b0c delivery 412: success: 
  sh:_mybox@INTERNET_REAL_BOX:_command_not_found/did_0+0+2//bin/cat:_/tmp/1042091169.1517.mail.vpc.jeje:_No_such_file_or_directory/@40003e1d0cab24c9c344 
  status: local 0/10 remote 0/20
  and my log of 
  qmail-send will full of those entry and 
  goes bigger and bigger.
   
  but I can send 
  mail to mybox@INTERNET_REAL_BOX
  with this 
  virtual domain if no .qmail file.
  and if I 
  change the .qmail-default with '&mybox@INTERNET_REAL_BOX', 
  
  it should 
  work always, but all mail of this domain will be redirect but 
  some user
  of this domain.
  and my .qmail-default hold by vpopmail is
  | /home/vpopmail/bin/vdelivermail 
  '' bounce-no-mailboxall part of qmail and vpopmail works 
  well.
  anything wrong with it ??
   
  Jerry


[vchkpw] The vpopmail FAQ22 is wrong

2003-01-08 Thread Jerry Chou



22. How do I forward all email to a 
different site?Edit the .qmail-default file and put in:| 
/home/vpopmail/bin/vdelivermail '' $[EMAIL PROTECTED]This will forward 
all non matching emails to [EMAIL PROTECTED]
 
it is not forward ALL mail to other site by the non 
match
mail
if you want to forward all mail of this 
domain,
Edit the .qmail-default file and put in:
&[EMAIL PROTECTED]
 
that is OK.
 
but I do not know  the forward method for every 
user of a domain.



Re: [vchkpw] Change password

2003-01-08 Thread zafar rizvi
hi ppl
i successfully write a change password script.
but is is the right way or it secure

i set suid of the vpasswd command in vpopmail/bin direct.
then i execute this command with script,it works.
is it correct way.

with regards
thanks
zafar
- Original Message -
From: "zafar rizvi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 8:14 PM
Subject: [vchkpw] Change password


> hi ppl
>  Any body have some idea about changepassword with virtual domain user
> (vpopmail user).
>
> Bcz i must need a change password script or idea
>
> thanks
> zafar
>
>
>





[vchkpw] could here any one tell me all hidden parameter of vdelivermail ???

2003-01-08 Thread Jerry Chou



I set up a virtual domain by vpopmail and I want to 
forward any mail of someone
in the domain to another mailbox: [EMAIL PROTECTED], so I do some 
test, that is the best
funny two:
 
1, 
$echo '$[EMAIL PROTECTED]' > 
/home/vpopmail/domain/vpc.jeje/vpc/.qmail
and then the mail sent to [EMAIL PROTECTED] will bounced and 
bounced, 
and the log will bigger and bigger full of such 
entry:
 
@40003e1d237f1e0fbf54 info msg 
30542: bytes 4511 from <[EMAIL PROTECTED]> qp 2595 uid 
89@40003e1d237f1e4346bc starting delivery 463: msg 30542 to local 
[EMAIL PROTECTED]@40003e1d237f1e453abc status: local 2/10 remote 
0/20@40003e1d237f1e73dc3c delivery 462: success: 
sh:[EMAIL PROTECTED]:_command_not_found/did_0+0+2/@40003e1d237f1e791bfc 
status: local 1/10 remote 0/20
 
2,
$echo '&[EMAIL PROTECTED]' > 
/home/vpopmail/domain/vpc.jeje/vpc/.qmail
and then the mail sent to [EMAIL PROTECTED] will be sent to @internet.com 
!!!
it is really funny~~, but it is true!
 
I use vpopmail 4.9.10
and my vpopmail's .qmail-default content is
 
 
 
could here any one tell me all hidden 
parameter of vdelivermail ???