Re: [vchkpw] qmail resending mails

2004-09-30 Thread o k
the contents of the .qmail-mailing_list_name
|/usr/local/bin/ezmlm/ezmlm-reject -ST 
'/mail/vpopmail/domains/domain_name/mailing_list_name'
|/usr/local/bin/ezmlm/ezmlm-send 
'/mail/vpopmail/domains/domain_name/mailing_list_name'
|/usr/local/bin/ezmlm/ezmlm-warn 
'/mail/vpopmail/domains/domain_name/mailing_list_name' || exit 0

Thanks for help

From: Jeremy Kitchen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] qmail resending mails
Date: Wed, 29 Sep 2004 09:31:51 -0500
On Wednesday 29 September 2004 03:25 am, o k wrote:
 Thank you very much for help
 But what do you mean by: .qmail-name, do you mean by name the mailing 
list
 name?
 If so the .qmail-name hasn't inside it the names of the users.
 Actually, the first line in your reply is not so clear.
 Many thanks for your help.

show us the contents of the .qmail file that is handling this mailing list.
-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, 
Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 
int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc
 attach3 
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



[vchkpw] Problem using pw_gid, pw_uid

2004-09-30 Thread Amit khatri
Hello
I am using qmail with vpopmail. And I have also enabled mysql support for it.
I am setting permissions for domains  user accounts using vmoddomlimits  vmoduser.
when I set any value using these commands then one value get stored in pw_gid column 
of domainname_com table.
for eg. if I give command ./vmoduser -p [EMAIL PROTECTED]
Value of pw_gid becomes 2.
can anybody tell me that, is their exist any document which can tell me which digit in 
gid is used for what permission.
Like 2 is for disable pop access. So that I can display all the permissions in my GUI.
In short I want to ask why gid is used  how can we use it effeciently.
Or is their an other way to access these permissions.
Or Should I use pw_flags. if yes then how can I use them.
Also tell me what is uid  how we can use it.
Also it will be nice if some can tell me what is the purpose of dir_control table  
how I can use it.

I tried various search terms on google. But I am unable to find anything.
I tried following terms

1. gid values vpopmail
2. vmoddomlimits vmoduser
3. vpopmail mysql guide
4. pw_gid
5. pw_gid values
6. pw_gid vs pw_flags

I also tried

qmailrocks.org
lifewithqmail.com

Can any body pls help ???

Amit

__
Looking for safe email solutions for your school or district?
http://www.epals.com/schoolmail/ 


[vchkpw] [Off-topic]how to set max mails per day for a user

2004-09-30 Thread Tanmaya Anand
Hi,

How can we put a check on max no of mails
that can be sent by a particular user and 
then either give him an error message as
soon as he exceeds the limit, or send a 
warning mail. 

Regards,
Tanmaya

[vchkpw] Stumped

2004-09-30 Thread Rick Macdougall
Hi,
I'm stumped here.  Our /home/vpopmail/bin/clearopensmtp running from 
cron sends out an error when it is run

vmysql: couldn't create database 'vpopmail': Can't create database 
'vpopmail'. (errno: 2)
vmysql: error creating table 'relay': No Database Selected
vmysql: sql error[8]: No Database Selected

Running it from the command line gives no error.  Any ideas ?
Slackware 9.1
Vpopmail 5.4.6 with MySQL
Crontab entry is
*/10 * * * * /home/vpopmail/bin/clearopensmtp 21  /dev/null
vpopmail configured by ./configure, generated by GNU Autoconf 2.53,
  with options \'--enable-ip-alias-domains=y' '--enable-logging=v' 
'--enable-qmail-ext=y' '--enable-roaming-users=y' 
'--enable-auth-module=mysql' '--enable-incdir=/usr/local/mysql/include/' 
'--enable-libdir=/usr/local/mysql/lib'\

Regards,
Rick


[vchkpw] re: Stumped

2004-09-30 Thread Rick Macdougall
Hi,
Never mind I'm an idiot and I'm not telling why :)
Regards,
Rick


Re: [vchkpw] Problem using pw_gid, pw_uid

2004-09-30 Thread Tom Collins
On Sep 30, 2004, at 1:06 AM, Amit khatri wrote:
can anybody tell me that, is their exist any document which can tell 
me which digit in gid is used for what permission.
Looking in the source code, you'll find the following in vpopmail.h
/* gid flags */
#define NO_PASSWD_CHNG 0x01
#define NO_POP 0x02
#define NO_WEBMAIL 0x04
#define NO_IMAP0x08
#define BOUNCE_MAIL0x10
#define NO_RELAY   0x20
#define NO_DIALUP  0x40
#define V_USER0   0x080
#define V_USER1   0x100
#define V_USER2   0x200
#define V_USER3   0x400
#define NO_SMTP   0x800
#define QA_ADMIN 0x1000
#define V_OVERRIDE   0x2000
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] re: Stumped

2004-09-30 Thread Jeremy Kitchen
On Thursday 30 September 2004 09:48 am, Rick Macdougall wrote:
 Hi,

 Never mind I'm an idiot and I'm not telling why :)

please do :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpRkwTq91yD1.pgp
Description: PGP signature


Re: [vchkpw] qmail resending mails

2004-09-30 Thread Tom Collins
Perhaps the list is a subscriber of itself, resulting in a mail loop?  
What do the headers look like in one of the later copies of the 
message?  What does /var/log/qmail/current show -- any odd error 
messages?

On Sep 30, 2004, at 12:52 AM, o k wrote:
the contents of the .qmail-mailing_list_name
|/usr/local/bin/ezmlm/ezmlm-reject -ST 
'/mail/vpopmail/domains/domain_name/mailing_list_name'
|/usr/local/bin/ezmlm/ezmlm-send 
'/mail/vpopmail/domains/domain_name/mailing_list_name'
|/usr/local/bin/ezmlm/ezmlm-warn 
'/mail/vpopmail/domains/domain_name/mailing_list_name' || exit 0

Thanks for help

From: Jeremy Kitchen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] qmail resending mails
Date: Wed, 29 Sep 2004 09:31:51 -0500
On Wednesday 29 September 2004 03:25 am, o k wrote:
 Thank you very much for help
 But what do you mean by: .qmail-name, do you mean by name the 
mailing list
 name?
 If so the .qmail-name hasn't inside it the names of the users.
 Actually, the first line in your reply is not so clear.
 Many thanks for your help.

show us the contents of the .qmail file that is handling this mailing 
list.

-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet 
Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 
int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc
 attach3 
_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] re: Stumped

2004-09-30 Thread Rick Macdougall

Jeremy Kitchen wrote:
On Thursday 30 September 2004 09:48 am, Rick Macdougall wrote:
Hi,
Never mind I'm an idiot and I'm not telling why :)

please do :)
-Jeremy
Rats
I'd rsync'd one entire server to another as a backup and forgot to turn 
off the cron job on the backup server :)

Rick


Re: [vchkpw] Tuning mysql for vpopmail

2004-09-30 Thread Oliver Etzel - GoodnGo.COM \(R\)
Hallo Rainer
- Original Message - 
From: Rainer Duffner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 10:52 PM
Subject: Re: [vchkpw] Tuning mysql for vpopmail


 Am Sa, den 25.09.2004 schrieb Rick Macdougall um 2:21:
  Juan Enciso Condea wrote:
   Hello friends.
  
   I have installed vpopmail-5.2.1 + mysql-4.013 running on HP-UX
alpha server.
   It has 1GB of memory with 2 proccesors.
  
   I am having problem with mysql at the hours peak. This show me
the
   qmail-send log
  
   2004-09-24 17:32:06.263335500 delivery 96079: failure:
   vmysql:_sql_error[3]:_Lost_connection_to_My
  
SQL_server_during_query/Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
  
 
  Hi,
 
  I use the my-large.cnf (copied to /etc/my.cnf) and I add the
following
  line under the [mysqld] group
 
  set-variable = max_connections=500
 
  Works for me (On quite a few servers).


 It's really a mysql-question - but I'll ask anyway:
 If I have a .my.cnf in ~root and a my.cnf in /usr/local/etc - which
one
 get's used ? Or do they get used both ?
 The one from ~root is mainly for some backup-scripts and doesn't
contain
 any tuning-options.

 Or will both get used ?


 cheers,
 Rainer
 -- 
 ===
 ~ Rainer Duffner - [EMAIL PROTECTED] ~
 ~   Freising - Munich - Germany   ~
 ~Unix - Linux - BSD - OpenSource - Security   ~
 ~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
 ===





Re: [vchkpw] Tuning mysql for vpopmail

2004-09-30 Thread Jeremy Kitchen
On Thursday 30 September 2004 03:52 pm, Rainer Duffner wrote:

 It's really a mysql-question - but I'll ask anyway:
 If I have a .my.cnf in ~root and a my.cnf in /usr/local/etc - which one
 get's used ? Or do they get used both ?
 The one from ~root is mainly for some backup-scripts and doesn't contain
 any tuning-options.

the one in ~root is probably for the mysql client.  mysql looks in the normal 
system areas for my.cnf (/etc/ /usr/local/etc/, and so on)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgp3Xk6CjJtsU.pgp
Description: PGP signature


[vchkpw] vpopmail postfix devel mailing list / calling all experts

2004-09-30 Thread Jeremy Kitchen
Howdy folks,

Due to recent displays of interest for vpopmail/postfix integration on this 
and other mailing lists, I have decided to take on the task of figuring out 
exactly how one might do it.  Unfortunately, I am not completely up to par on 
my postfix knowledge (read: noob), so I've decided to set up a mailing list 
for discussion of postfix/vpopmail integration.

The mailing list address is [EMAIL PROTECTED], and you can subscribe by 
sending an email to [EMAIL PROTECTED]

I have a few ideas of how it might be done, however they all seem rather 
'hackish' and I'd like to get input from people who are more knowledgable 
about the subect than I.  If you're interested in helping with the 
development of vpopmail postfix support, please join :)  I will probably wait 
until monday after I have read some more documentation and thrown some 
designs together before I post any of my own ideas  to the list, however, 
feel free to break the ice and start discussing how you think it should be 
done :)

In the end, I'm sure there will be a lot of new code written... certain things 
that will need to change (however, backward compatibility and MTA portability 
are my #1 concern) .. and a lot of time spent, however, I believe this will 
be very positive for the community and help to spread the use of vpopmail 
around the internet community.


Thanks, and I hope to see some people on the list :)

-Jeremy

ps: kmail + xforwarding + cheap linksys router = bad idea for typing email :)

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpcBL2wJ5Shq.pgp
Description: PGP signature


Re: [vchkpw] Problem using pw_gid, pw_uid

2004-09-30 Thread Amit khatri

 can anybody tell me that, is their exist any document which can tell 
 me which digit in gid is used for what permission.

Looking in the source code, you'll find the following in vpopmail.h

/* gid flags */
#define NO_PASSWD_CHNG 0x01
#define NO_POP 0x02
#define NO_WEBMAIL 0x04
#define NO_IMAP0x08
#define BOUNCE_MAIL0x10
#define NO_RELAY   0x20
#define NO_DIALUP  0x40
#define V_USER0   0x080
#define V_USER1   0x100
#define V_USER2   0x200
#define V_USER3   0x400
#define NO_SMTP   0x800
#define QA_ADMIN 0x1000
#define V_OVERRIDE   0x2000

Thanks for this help. 
This is really useful info.

Can u tell me what is uid  how can we use it.
 why dir_control table is used.

Regards
Amit

__
Looking for safe email solutions for your school or district?
http://www.epals.com/schoolmail/