[vchkpw] Question about courier-auth changes

2008-07-11 Thread Brian Lanier
Please, before anyone simply responds with switch to dovecot, I have reasons 
to stick with courier at this time despite the performance gains that I 
might receive from switching to dovecot. I have a setup which uses the 
shared folder setup on courier and I don't believe the shared folder support 
in dovecot is mature enough for our needs based on the documentation.


That being said, is anyone using or has used the authmysql module for 
courier-auth to authenticate against the vpopmail data. Obviously, we have 
vpopmail storing its data in MySql already or we wouldn't be trying this. It 
seems possible and with some custom programing it looks like we could get 
all the disable flags passed correctly to courier. Just wondering if anyone 
had any experience, positive or negative, and if anyone knew of any other 
issues that might arise by going this route. Any features that are being 
used in the authvchkpw module that I would need to replicate somehow? Is 
this a plausible alternative to waiting for someone to maybe pickup the 
continued development of the authvchkpw module?


Any insight would be helpful, and again, I am aware the dovecot may be a 
better option, but at this time I am not able to consider that as an option. 
Thanks


Brian 



!DSPAM:4877abdb32352129814570!



[vchkpw] Question about --without-users-big-dir

2007-10-12 Thread Paul Oehler

Hi folks,

I'm considering re-compiling vpopmail with the --without-users-big-dir 
option.  My understanding is this will
1) stop the directory hashing of usernames in the 
~vpopmail/domains/domain.com/ directories

2) enable single character e-mail usernames

First, is my understanding of those two things correct?  Second, does it do 
anything besides those two things I should know about?  And finally, will 
this adversely affect any existing domains that already have directory 
hashing of usernames in place now?


Thanks in advance,

Paul
--
Paul Oehler



[vchkpw] question about qmail-tap

2005-10-04 Thread Paul Theodoropoulos
as you might guess from my previous message, i'm installing qmail-tap 
for the first time. something that's not entirely clear is whether 
qmail-tap is 'self filtering' in the following sense.


if i set up a taps file like this:
[EMAIL PROTECTED]:[EMAIL PROTECTED]

will qmail-tap know to not tap the tapaccount? otherwise, i suspect 
it could create a pretty nasty loop. i'd like to be able to offer 
this as a 'value added' option for customers, where they can set up 
an address to receive copies of their own domain's messages - but not 
have to ship it to a different domain or server.


make sense?


Paul Theodoropoulos
http://www.energynucleus.com
http://www.anastrophe.com
http://www.smileglobal.com




Re: [vchkpw] question about qmail-tap

2005-10-04 Thread Paul Theodoropoulos

At 10:34 AM 10/4/2005, Paul Theodoropoulos wrote:
as you might guess from my previous message, i'm installing 
qmail-tap for the first time. something that's not entirely clear is 
whether qmail-tap is 'self filtering' in the following sense.


if i set up a taps file like this:
[EMAIL PROTECTED]:[EMAIL PROTECTED]

will qmail-tap know to not tap the tapaccount? otherwise, i suspect 
it could create a pretty nasty loop. i'd like to be able to offer 
this as a 'value added' option for customers, where they can set up 
an address to receive copies of their own domain's messages - but 
not have to ship it to a different domain or server.


make sense?


gee, i'm on a roll. answered my own question by doing - duh - an 
experiment. set up the taps file as above, it didn't tap it's own 
messages. kewl.


also, just a note on my previous message about the README errno line 
- on solaris, there's no need to do that patch.



Paul Theodoropoulos
http://www.energynucleus.com
http://www.anastrophe.com
http://www.smileglobal.com




Re: [vchkpw] Question about domains in vpopmail

2005-05-14 Thread Sylwester S. Biernacki

On Saturday, May 14, 2005, 7:44:02 AM, Fernando wrote:

 People, after i rebuild new 5.4.10 vpopmail  version, when i add
 a new domain from CLI, breaks the typical structure  of
 ~vpopmail/domains/domain.com 
 for this one
 ~vpopmail/domains/1/domain.com
 with numbers like 2,3, etc ... before the domain  ... why it is this 
 happening?

count how much domains you have in your ~vpopmail/domains/ dir - it is
very useful if you have 100s of domains - all of them in one
directory could grow to the FD limit on the directory and operations
on that directory would be very very very slow. It's due to filesystem
limits. We have better and better filesystems with journaling but this
idea is one of the milestones in all unixes few years ago ;-)

you have similar solution in postfix where all mailboxes in domain are
divided into directories i.e. servit.com.ar/c/r/y/crypto

AFAIR if you don't want to use it check your configure options for
--enable-large-site=y and change it to 'n'

-- 
regards,
Sylwester Biernacki [EMAIL PROTECTED]



Re: [vchkpw] Question about domains in vpopmail

2005-05-14 Thread Fernando Milovich
Thanks so much Sylwester !
- Original Message - 
From: Sylwester S. Biernacki [EMAIL PROTECTED]
To: Fernando Milovich vchkpw@inter7.com
Sent: Saturday, May 14, 2005 5:06 AM
Subject: Re: [vchkpw] Question about domains in vpopmail


On Saturday, May 14, 2005, 7:44:02 AM, Fernando wrote:
People, after i rebuild new 5.4.10 vpopmail  version, when i add
a new domain from CLI, breaks the typical structure  of
~vpopmail/domains/domain.com
for this one
~vpopmail/domains/1/domain.com
with numbers like 2,3, etc ... before the domain  ... why it is this 
happening?
count how much domains you have in your ~vpopmail/domains/ dir - it is
very useful if you have 100s of domains - all of them in one
directory could grow to the FD limit on the directory and operations
on that directory would be very very very slow. It's due to filesystem
limits. We have better and better filesystems with journaling but this
idea is one of the milestones in all unixes few years ago ;-)
you have similar solution in postfix where all mailboxes in domain are
divided into directories i.e. servit.com.ar/c/r/y/crypto
AFAIR if you don't want to use it check your configure options for
--enable-large-site=y and change it to 'n'
--
regards,
Sylwester Biernacki [EMAIL PROTECTED]




[vchkpw] Question about domains in vpopmail

2005-05-13 Thread Fernando Milovich



People, after i rebuild new 5.4.10 vpopmail 
version, when i add a new domain from CLI, breaks the typical structure 
of
~vpopmail/domains/domain.com 
for this one
~vpopmail/domains/1/domain.com
with numbers like 2,3, etc ... before the domain 
... why it is this happening?

Thanks so much,

Fernando


[vchkpw] Question on msg/hour graph

2004-09-17 Thread Matt Hoppes
Hi,
On the inter7 qmailmrtg7 graphs.. what exactly is the msg/hour graph
displaying?   I know MRTG takes 5 minute averages but what exactly is
it averaging?   I know it's doing the messages.. but how do you do
msg/hour in a 5 minute average?  I guess I'm missing some sort of
logic there..


Re: [vchkpw] Question on msg/hour graph

2004-09-17 Thread Ken Jones
On Friday 17 September 2004 07:34 am, Matt Hoppes wrote:
 Hi,
 On the inter7 qmailmrtg7 graphs.. what exactly is the msg/hour graph
 displaying?   
It is displaying the averaged number of messages per hour.

 I know MRTG takes 5 minute averages but what exactly is 
 it averaging?   
Every 5 minutes we get an exact count of number of messages
received in the last 5 minutes. qmailmrtg7 multiplies that value
by 12 to change the time scale to msg/hour. That value is handed
to mrtg which averages it with the prior data samples.

 I know it's doing the messages.. but how do you do 
 msg/hour in a 5 minute average?  
messages(in 5 minutes) * 12 = msg/hour

 I guess I'm missing some sort of logic there..
Most folks find it easier to view msg/hour instead of msg/5 mins.
Hence the multplication. Which means, if you only get 1 message
in 5 minutes, mrtg will show 12msg/hour. 

Ken Jones


Re: [vchkpw] Question on msg/hour graph

2004-09-17 Thread Matt Hoppes
Got it.. I just wanted to make sure that I was understanding what it
was.. thanks :)


On Fri, 17 Sep 2004 10:34:40 -0500, Ken Jones [EMAIL PROTECTED] wrote:
 On Friday 17 September 2004 07:34 am, Matt Hoppes wrote:
  Hi,
  On the inter7 qmailmrtg7 graphs.. what exactly is the msg/hour graph
  displaying?   
 It is displaying the averaged number of messages per hour.
 
  I know MRTG takes 5 minute averages but what exactly is
  it averaging?   
 Every 5 minutes we get an exact count of number of messages
 received in the last 5 minutes. qmailmrtg7 multiplies that value
 by 12 to change the time scale to msg/hour. That value is handed
 to mrtg which averages it with the prior data samples.
 
  I know it's doing the messages.. but how do you do
  msg/hour in a 5 minute average?  
 messages(in 5 minutes) * 12 = msg/hour
 
  I guess I'm missing some sort of logic there..
 Most folks find it easier to view msg/hour instead of msg/5 mins.
 Hence the multplication. Which means, if you only get 1 message
 in 5 minutes, mrtg will show 12msg/hour.
 
 Ken Jones



[vchkpw] Question about Dir Control (.dir-control)

2004-06-30 Thread Brian Feeny
First, is there a way to disable the Dir Control functionality of 
vpopmail?

If not, is there any downside to just not using it?
You may ask why I need to do this.
We do our own hashing of directories and usernames here, using our own 
script systems.
I like this because the paths that we are creating are predictable 
since we are determining them
instead of dir control/vadduser.

Brian
--
Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED]
Network Engineerp: 318.213.4709
ShreveNet Inc.  f: 318.221.6612


Re: [vchkpw] Question about Dir Control (.dir-control)

2004-06-30 Thread Ken Jones
On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote:
 First, is there a way to disable the Dir Control functionality of
 vpopmail?

Sure. Use this option

--disable-users-big-dir

 If not, is there any downside to just not using it?

Just the optimization for keeping the number of directories in
a directory to a efficent level.


 You may ask why I need to do this.

 We do our own hashing of directories and usernames here, using our own
 script systems.
 I like this because the paths that we are creating are predictable
 since we are determining them
 instead of dir control/vadduser.

Since you do your own hashing, no need to use vpopmail's.

Cheers,
Ken Jones


 Brian

 --
 Brian Feeny, CCIE #8036   e: [EMAIL PROTECTED]
 Network Engineer  p: 318.213.4709
 ShreveNet Inc.f: 318.221.6612


Re: [vchkpw] Question about Dir Control (.dir-control)

2004-06-30 Thread Brian Feeny
Ken,
Thanks for answering.  I did see that disable-users-big-dir option,
so I configured with it.
It seems to still do the following though:
1. create .dir-control in the domains directory.
2. complain when removing a domain that it can't delete the dir control.
[EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom
[EMAIL PROTECTED] bin]$ ./vdeldomain test.com
Warning: Failed to delete dir_control for test.com
Even though /home/cust/vpopmail/domains/test.com is gone,
there is a .dir-control file in /home/cust/vpopmail/domains.  I manually
deleted this file, but every time I add a new domain it creates this 
file
again.  Not sure why ./vdeldomain would be complaining when there
wasnt a .dir-control in the first place associated with the domain I was
deleting.

Any ideas?
Brian

On Jun 30, 2004, at 5:27 PM, Ken Jones wrote:
On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote:
First, is there a way to disable the Dir Control functionality of
vpopmail?
Sure. Use this option
--disable-users-big-dir
If not, is there any downside to just not using it?
Just the optimization for keeping the number of directories in
a directory to a efficent level.
You may ask why I need to do this.
We do our own hashing of directories and usernames here, using our own
script systems.
I like this because the paths that we are creating are predictable
since we are determining them
instead of dir control/vadduser.
Since you do your own hashing, no need to use vpopmail's.
Cheers,
Ken Jones
Brian
--
Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED]
Network Engineerp: 318.213.4709
ShreveNet Inc.  f: 318.221.6612



Re: [vchkpw] Question about Dir Control (.dir-control)

2004-06-30 Thread Ken Jones
On Wednesday 30 June 2004 06:13 pm, Brian Feeny wrote:
 Ken,

 Thanks for answering.  I did see that disable-users-big-dir option,
 so I configured with it.

 It seems to still do the following though:

 1. create .dir-control in the domains directory.
 2. complain when removing a domain that it can't delete the dir control.

Yep. Looks like whoever added the Warning message code needed to
ifdef it with the big user dir define.


 [EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom
 [EMAIL PROTECTED] bin]$ ./vdeldomain test.com
 Warning: Failed to delete dir_control for test.com

 Even though /home/cust/vpopmail/domains/test.com is gone,
 there is a .dir-control file in /home/cust/vpopmail/domains.  I manually
 deleted this file, but every time I add a new domain it creates this
 file
 again.  Not sure why ./vdeldomain would be complaining when there
 wasnt a .dir-control in the first place associated with the domain I was
 deleting.

 Any ideas?

Looks like the only way to stop domains from being hashed would be in 2 steps:
rm -rf /home/vpopmail/domains/.dir-control
vadddomain domainname

If the /home/vpopmail/domains/.dir-control file does not exist then it creates
a default one and puts the domain in /home/vpopmail/domains. So you can
fake it out by deleteing the .dir-control every time.

Also looks like we need to fix that warning message.


Ken



 Brian

 On Jun 30, 2004, at 5:27 PM, Ken Jones wrote:
  On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote:
  First, is there a way to disable the Dir Control functionality of
  vpopmail?
 
  Sure. Use this option
 
  --disable-users-big-dir
 
  If not, is there any downside to just not using it?
 
  Just the optimization for keeping the number of directories in
  a directory to a efficent level.
 
  You may ask why I need to do this.
 
  We do our own hashing of directories and usernames here, using our own
  script systems.
  I like this because the paths that we are creating are predictable
  since we are determining them
  instead of dir control/vadduser.
 
  Since you do your own hashing, no need to use vpopmail's.
 
  Cheers,
  Ken Jones
 
  Brian
 
  --
  Brian Feeny, CCIE #8036e: [EMAIL PROTECTED]
  Network Engineer   p: 318.213.4709
  ShreveNet Inc. f: 318.221.6612


Re: [vchkpw] Question about Dir Control (.dir-control)

2004-06-30 Thread Tom Collins
On Jun 30, 2004, at 4:13 PM, Brian Feeny wrote:
Thanks for answering.  I did see that disable-users-big-dir option,
so I configured with it.
It seems to still do the following though:
1. create .dir-control in the domains directory.
2. complain when removing a domain that it can't delete the dir 
control.

[EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom
[EMAIL PROTECTED] bin]$ ./vdeldomain test.com
Warning: Failed to delete dir_control for test.com
Even though /home/cust/vpopmail/domains/test.com is gone,
there is a .dir-control file in /home/cust/vpopmail/domains.  I 
manually
deleted this file, but every time I add a new domain it creates this 
file
again.  Not sure why ./vdeldomain would be complaining when there
wasnt a .dir-control in the first place associated with the domain I 
was
deleting.
What version of vpopmail?  I thought we took care of that error message 
(Warning: Failed to delete dir_control for test.com) during the 
development cycle leading up to 5.4.0.  It was due to the domain's 
directory getting deleted before the dir_control file (for user 
directories) inside of it.

Perhaps someone could look into making a patch to add a 
--disable-domains-big-dir (or would that be enable?) to disable hashing 
when creating new domains.  It shouldn't be too hard to ifdef out the 
code responsible for hashing.

--
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] Question about Dir Control (.dir-control)

2004-06-30 Thread Brian Feeny

On Jun 30, 2004, at 6:18 PM, Tom Collins wrote:
What version of vpopmail?  I thought we took care of that error 
message (Warning: Failed to delete dir_control for test.com) during 
the development cycle leading up to 5.4.0.  It was due to the domain's 
directory getting deleted before the dir_control file (for user 
directories) inside of it.

vpopmail-5.4.0.tar.gz
Like Ken mentioned, its trying to delete .dir-control with out first 
checking if that feature is enabled or not.


Perhaps someone could look into making a patch to add a 
--disable-domains-big-dir (or would that be enable?) to disable 
hashing when creating new domains.  It shouldn't be too hard to ifdef 
out the code responsible for hashing.

I think that feature would be a very welcome one.
Brian

--
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] Question about Dir Control (.dir-control)

2004-06-30 Thread Tom Collins
On Jun 30, 2004, at 4:18 PM, Ken Jones wrote:
Yep. Looks like whoever added the Warning message code needed to
ifdef it with the big user dir define.
Added to CVS and scheduled for 5.4.7.
--- vpopmail.c	26 Jun 2004 02:20:56 -	1.28.2.4
+++ vpopmail.c	1 Jul 2004 05:29:45 -	1.28.2.5
@@ -262,9 +262,11 @@
   fprintf(stderr, Failed while attempting to delete domain from 
the qmail control files\n);
 }

+#ifdef USERS_BIG_DIR
 if (vdel_dir_control(domain) != 0) {
-  fprintf (stderr, Failed while attempting to delete domain from 
dir_control\n);
+  fprintf (stderr, Warning: Failed to delete dir_control for 
%s\n, domain);
 }
+#endif

 /* send a HUP signal to qmail-send process to reread control files 
*/
 signal_process(qmail-send, SIGHUP);
@@ -379,10 +381,12 @@
  */
 vdel_limits(domain);

+#ifdef USERS_BIG_DIR
 /* delete the dir control info for this domain */
 if (vdel_dir_control(domain) != 0) {
   fprintf (stderr, Warning: Failed to delete dir_control for 
%s\n, domain);
 }
+#endif

 /* Now remove domain from filesystem */
 /* if it's a symbolic link just remove the link */
--
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/


[vchkpw] question..about matt's patch for ucspi

2004-06-12 Thread Remo Mattei

Hello guys does anyone have seen a problem with matt's patch for mysql I
cannot get it compiled and it tells me that missing db.h etc... any
suggestions. 

Here is the patch info..
http://www.tnpi.biz/internet/mail/ucspi-tcp-0.88-mysql.patch

Thanks, 



Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]

attachment: winmail.dat

[vchkpw] Question about MAX_PW_DOMAIN evaluation in vadddomain function.

2004-04-29 Thread Sean Plaice
Hello,
Earlier today we had a customer with a long domain name sign up for our
services (.com).

I used the following command and arguments to add the domain to vpopmail.
vadddomain -q10M -b .com.

When adding them using the vpopmail tool vadddomain command I received the
following error Error: dir too long.

We are currently using vpopmail version 5.3.30, and the source code for this
version is the basis for my real question.

When reading the source code I found that within vpopmail.c this error is
generated when the vadddomain function evaluates dir, DOMAINS_DIR, and
DomainSubDir as greater then or equal to MAX_PW_DOMAIN. Which is defined by
default as 64 in vpopmail.h.

if (strlen(dir)+strlen(DOMAINS_DIR)+strlen(DomainSubDir) = MAX_PW_DOMAIN) {
/* back out of changes made so far */
dec_dir_control(dir_control_for_uid, uid, gid);
chdir(calling_dir);
return(VA_DIR_TOO_LONG);
}

Should this not be evaluated against say the MAX_PW_DIR definition? I am not
very familiar with the insides of vpopmail, so I am more or less just
interested in if I should do one of two things.

1) Increase the size of MAX_PW_DOMAIN beyond 64.
2) Change the evaluation in vadddomain() to use MAX_PW_DIR instead of
MAX_PW_DOMAIN.

Or has this been changed fixed in newer versions of vpopmail?

Take care, and thank you in advance for taking the time to respond to my
inquiry.

--
Sean





[vchkpw] question

2004-02-23 Thread aki
Sir,
(B
(BI do not understand this log message here;
(B
(B///
(BFeb 22 09:32:54 ns qmail: 1077409974.518163 info msg 3670324: bytes 1742
(Bfrom 
(B qp 24127 uid 507
(BFeb 22 09:32:54 ns qmail: 1077409974.700893 starting delivery 82: msg
(B3670324 to
(B remote [EMAIL PROTECTED]
(BFeb 22 09:32:54 ns qmail: 1077409974.700968 status: local 0/10 remote 1/20
(BFeb 22 09:33:04 ns qmail: 1077409984.706173 delivery 82: success:
(B192.166.87.34_
(Baccepted_message./Remote_host_said:_250_Ok:_queued_as_4C44C103D1/
(B//
(B
(BI looks that QMAILS(ui507) success to send the message to
(B[EMAIL PROTECTED]
(BBut Who did this thing?
(BI have no idea of this.
(BSomebody operate my system who I do not want?
(B
(B/
(Btcp.smtp
(B127.0.0.:allow,RELAYCLIENT=""
(B192.168.0.:allow,RELAYCLIENT=""
(B192.168.1.:allow,RELAYCLIENT=""
(B192.168.100.:allow,RELAYCLIENT=""
(B61.113.45.177-189:allow,RELAYCLIENT=""
(B/
(B
(BThis network is 61.113.45.176-61.113.45.191
(B
(BAki

RE: [vchkpw] question

2004-02-23 Thread Shane Chrisp
You will notice the message has come from  which means its likely a bounce
message.
Without turning on more logging it's a little hard to say for certain.

Shane 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 24 February 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] question

Sir,

I do not understand this log message here;

///
Feb 22 09:32:54 ns qmail: 1077409974.518163 info msg 3670324: 
bytes 1742
from 
 qp 24127 uid 507
Feb 22 09:32:54 ns qmail: 1077409974.700893 starting delivery 82: msg
3670324 to
 remote [EMAIL PROTECTED]
Feb 22 09:32:54 ns qmail: 1077409974.700968 status: local 0/10 
remote 1/20
Feb 22 09:33:04 ns qmail: 1077409984.706173 delivery 82: success:
192.166.87.34_
accepted_message./Remote_host_said:_250_Ok:_queued_as_4C44C103D1/
//

I looks that QMAILS(ui507) success to send the message to
[EMAIL PROTECTED]
But Who did this thing?
I have no idea of this.
Somebody operate my system who I do not want?

/
tcp.smtp
127.0.0.:allow,RELAYCLIENT=
192.168.0.:allow,RELAYCLIENT=
192.168.1.:allow,RELAYCLIENT=
192.168.100.:allow,RELAYCLIENT=
61.113.45.177-189:allow,RELAYCLIENT=
/

This network is 61.113.45.176-61.113.45.191

Aki









Re: [vchkpw] question

2004-02-23 Thread Jeremy Kitchen
On Tue, 2004-02-24 at 00:42, [EMAIL PROTECTED] wrote:
 Sir,
 
 I do not understand this log message here;
 
 ///
 Feb 22 09:32:54 ns qmail: 1077409974.518163 info msg 3670324: bytes 1742
 from 
  qp 24127 uid 507
 Feb 22 09:32:54 ns qmail: 1077409974.700893 starting delivery 82: msg
 3670324 to
  remote [EMAIL PROTECTED]
 Feb 22 09:32:54 ns qmail: 1077409974.700968 status: local 0/10 remote 1/20
 Feb 22 09:33:04 ns qmail: 1077409984.706173 delivery 82: success:
 192.166.87.34_
 accepted_message./Remote_host_said:_250_Ok:_queued_as_4C44C103D1/
 //

 I looks that QMAILS(ui507) success to send the message to
 [EMAIL PROTECTED]

you are correct.

 But Who did this thing?

it's a bounce, look at the from on the top line (second line due to
wrapping)

 I have no idea of this.
 Somebody operate my system who I do not want?

someone sent an email to a non-existant user on your domain, or for
whatever reason the message bounced.  If you look further up in the logs
you'll see the original message come in and you'll see why it bounced.

I do have to say though, you provided a very good report along with your
question. :)

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



[vchkpw] Question about roaming

2004-01-17 Thread Andrea Riela
Hi folks,

Could you send me your advices about the most secure configuration of
roaming vpopmail's option?
--enable-relay-clear-minutes=# how many minutes?
clearopensmtp: in crontab, but when? Every hour?

Thanks for all
Regards
Andrea



RE: [vchkpw] Question about roaming

2004-01-17 Thread Andrea Riela
Shane Chrisp wrote:
 I run 15 minutes for open relay and clearopensmtp every minute from
 crontab. 

I'm sorry, Shane, but I'm very tired and I don't understand.
--enable-relay-clear-minutes=15
*/1 *   *   *   *   /home/vpopmail/bin/clearopensmtp
21  /dev/null

?
Thanks
Andrea



RE: [vchkpw] Question about roaming

2004-01-17 Thread Shane Chrisp
 Andrea,

 Yes that is what I meant. Sorry, im also very tired myself and though I
knew
what I meant I probably typed it in shorthand :)

I should also add that im running a MySQL backend in my setup and that 1
minute 
for clearopensmtp is probably overkill, but it doesn't really add any load
to
the system, so I don't see the harm. I would rather have the relay cleared
from
the table sooner than later.

Shane

-Original Message-
From: Andrea Riela [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 17 January 2004 10:40 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Question about roaming

Shane Chrisp wrote:
 I run 15 minutes for open relay and clearopensmtp every minute from
 crontab. 

I'm sorry, Shane, but I'm very tired and I don't understand.
--enable-relay-clear-minutes=15
*/1 *   *   *   *   
/home/vpopmail/bin/clearopensmtp
21  /dev/null

?
Thanks
Andrea





RE: [vchkpw] Question about roaming

2004-01-17 Thread Brad Davis
Andrea,

Running every minute or clearing the rules every 15 is probably a little
paranoid. You might want to look into SMTP AUTH so that you don't have to
worry about opening a relay. I set my open relay to 1 day due to people not
checking their email often enough to keep the relay open when they are
sending. If your going to keep the same setup you only need to run
clearopensmtp every 15 minutes or so. I don't think you will see any problem
running it every 15 minutes.




Regards,
Brad Davis

-Original Message-
From: Andrea Riela [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 7:40 AM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] Question about roaming


Shane Chrisp wrote:
 I run 15 minutes for open relay and clearopensmtp every minute from
 crontab. 

I'm sorry, Shane, but I'm very tired and I don't understand.
--enable-relay-clear-minutes=15
*/1 *   *   *   *   /home/vpopmail/bin/clearopensmtp
21  /dev/null

?
Thanks
Andrea




[vchkpw] Question about qmailadmin 1.0.29 --enable-spam-command

2003-12-01 Thread Yermo M. Lamers
The --enable-spam-command support in qmailadmin 1.0.29 puts the maildrop 
line at the end of the .qmail file after all forwards and autoresponders.

I'm just asking because I don't know, but wouldn't it make more sense to 
have the spam line /first/ so any emails suspected as being spam can be 
disgarded before any forwards or autoresponders get invoked?

The reason I ask is I'm putting together a custom challenge/response 
spam system that puts the suspected spam messages in a Maildir (instead 
of an invisible waiting queue) and bases it's whitelist on a 
squirrelmail addresbook. In this scenario, I want the spam challenge 
processing to happen first before any forwards or autoresponders.

-
DTLink Software http://www.dtlink.com
FieldPost Business Email http://www.fieldpost.com
Nuts and Bolts Interactive, Inc. http://www.nbinteractive.com
-



Re: [vchkpw] Question about .qmail exit codes.

2003-11-29 Thread Michael Bowe
  If a program invoked from a .qmail file returns an exit status of 99 
  (per qmail-command man page) shouldn't it just stop processing the 
  qmail file?  It seems to be deferring the message and trying to 
  redeliver it later.
 
 I just checked the ChangeLog, and that was fixed in 5.3.9.  You might 
 want to look at 5.3.30 as a replacement for 5.3.8.  The next release 
 will probably be 5.4.0-pre1, and currently only includes documentation 
 and build changes from 5.3.30.

vpopmail-5.2.2 also includes that fix

Michael.




[vchkpw] Question about .qmail exit codes.

2003-11-28 Thread Yermo M. Lamers
I am running the Qmail Toaster as available from www.qmailtoaster.com. 
(vpopmail-toaster-5.3.8).

There's something about the behavior of the .qmail files in the 
individual vpopmail account directories that I don't understand.

If a program invoked from a .qmail file returns an exit status of 99 
(per qmail-command man page) shouldn't it just stop processing the qmail 
file?  It seems to be deferring the message and trying to redeliver it 
later.

I have a test domain vpopmail.yml.com and a user test. The account 
directory I have is:

/home/vpopmail/domains/vpopmail.yml.com/test/

In it I have a .qmail file containing, for demonstration:

|/tmp/test.pl
/home/vpopmail/domains/vpopmail.yml.com/test/Maildir/
test.pl contains:

#!/usr/bin/perl
print This is a test;
exit( 99 );
What I am noticing is that the message is being deferred and dropped 
into the queue:

@40003fc81ac413506794 info msg 1491341: bytes 955 from [EMAIL PROTECTED] 
qp 6929 uid 89
@40003fc81ac416462fc4 starting delivery 2560: msg 1491341 to local 
[EMAIL PROTECTED]
@40003fc81ac4164656d4 status: local 1/10 remote 0/255
@40003fc81ac4171b1b94 delivery 2560: deferral: This_is_a_test
@40003fc81ac4171c020c status: local 0/10 remote 0/255

This doesn't seem right.

If I set the exit code to 100 in test.pl I get

@40003fc81ddc253b3a24 new msg 1491355
@40003fc81ddc253c3bf4 info msg 1491355: bytes 955 from [EMAIL PROTECTED] 
qp 7501 uid 89
@40003fc81ddc28755e54 starting delivery 2605: msg 1491355 to local 
[EMAIL PROTECTED]
@40003fc81ddc28759504 status: local 1/10 remote 0/255
@40003fc81ddc2a86dd1c delivery 2605: deferral:
@40003fc81ddc2a870814 status: local 0/10 remote 0/255

Shouldn't it bounce?

By comparison I tried the same experiment using the
/home/vpopmail/domains/vpopmail.yml.com/.qmail-defaults file.
test.pl with exit code of 100 yields:

@40003fc81e2917a81954 new msg 1491361
@40003fc81e2917a91b24 info msg 1491361: bytes 955 from [EMAIL PROTECTED] 
qp 7508 uid 89
@40003fc81e291aa9c47c starting delivery 2606: msg 1491361 to local 
[EMAIL PROTECTED]
@40003fc81e291aaa31dc status: local 1/10 remote 0/255
@40003fc81e291b2011a4 delivery 2606: failure:
@40003fc81e291b228a74 status: local 0/10 remote 0/255
@40003fc81e291d220bc4 bounce msg 1491361 qp 7511
@40003fc81e291d23405c end msg 1491361
@40003fc81e291d26556c new msg 1491362
@40003fc81e291d272c44 info msg 1491362: bytes 1454 from  qp 7511 
uid 506
@40003fc81e2920be7c04 starting delivery 2607: msg 1491362 to remote 
[EMAIL PROTECTED]
@40003fc81e2920beaecc status: local 0/10 remote 1/255
@40003fc81e292b13f634 delivery 2607: success: 
207.192.181.135_accepted_message./Remote_host_said:_250_2.0.0_hAT45hX4027171_Message_accepted_for_delivery/
@40003fc81e292b16e81c status: local 0/10 remote 0/255
@40003fc81e292b17b33c end msg 1491362

(and i get a failure notice as I would expect)

test.pl with an exit code of 99 yields:

@40003fc81e6014fc100c new msg 1491355
@40003fc81e6014fd67cc info msg 1491355: bytes 955 from [EMAIL PROTECTED] 
qp 7520 uid 89
@40003fc81e601834b184 starting delivery 2610: msg 1491355 to local 
[EMAIL PROTECTED]
@40003fc81e601834d894 status: local 1/10 remote 0/255
@40003fc81e6018abfc94 delivery 2610: success: did_0+0+1/
@40003fc81e6018ad312c status: local 0/10 remote 0/255
@40003fc81e6018ad38fc end msg 1491355

which is also what I would expect.

I am not that familiar with vpopmail yet so correct me if I'm wrong but 
it's vdelivermail called from the domains/domain/.qmail-default file 
that actually processes the per-account .qmail files? Right?

Looking at run_command() in vqmaillocal.c it does not seem that the exit 
code of the launched process is being examined .. if a line it found it 
looks like it's exiting with a value of 0.

What am I missing?

thanks,

-- Yermo

P.S. BTW, the Vpopmail/qmail combo simply rocks.

-
DTLink Software http://www.dtlink.com
-



Re: [vchkpw] Question about .qmail exit codes.

2003-11-28 Thread Tom Collins
On Friday, November 28, 2003, at 09:19  PM, Yermo M. Lamers wrote:
I am running the Qmail Toaster as available from www.qmailtoaster.com. 
(vpopmail-toaster-5.3.8).

There's something about the behavior of the .qmail files in the 
individual vpopmail account directories that I don't understand.

If a program invoked from a .qmail file returns an exit status of 99 
(per qmail-command man page) shouldn't it just stop processing the 
qmail file?  It seems to be deferring the message and trying to 
redeliver it later.
I just checked the ChangeLog, and that was fixed in 5.3.9.  You might 
want to look at 5.3.30 as a replacement for 5.3.8.  The next release 
will probably be 5.4.0-pre1, and currently only includes documentation 
and build changes from 5.3.30.

Relevant ChangeLog entries:

09/11/02 Dave Boodman dave at boodman dot com
 - vdelivermail missing case for exit code 99 when exec'ing
   users .qmail programs. Needed for processing of autorepsond
   result codes of 99
09/05/02 Steve Fulton steve at esoteric dot ca
 - vdelivermail now handles error return codes 100 and 99
   when processing users .qmail files. Support for autoresponder
   exiting with 99.
--
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/



[vchkpw] Question about mailbox formats...

2003-11-10 Thread Gary



HI all,

quick question,

i've created some email accounts under a domain 
using qmailadmin, and i'm not going to be changing mailbox formats cause i'm a 
retard and forgot to install pop service using qmail-pop3d, i must change it to 
maildir...now do i have to delete those accounts and remake them or will the new 
new email just get put into maildir?

and everything will work great ( i hope 
)

Cheers,

Gary




[vchkpw] question about adding a new domain

2003-11-07 Thread Gary
Hi all,

Ok i'm got vpopmail installed on my qmail server, now i have a quick
question about adding domains

when setting up a new domain do i set it up as just

vadddomain domain.com
or as
vadddomain mail.domain.com ( assuming mail. is the mx record in dns )

I think it is the first one but jsut want to be sure, since i m adding about
40 domains and don't want to do it all then have to redo :)

Cheers,

Gary




Re: [vchkpw] question about adding a new domain

2003-11-07 Thread Rick Macdougall
Gary wrote:

Hi all,

Ok i'm got vpopmail installed on my qmail server, now i have a quick
question about adding domains
when setting up a new domain do i set it up as just

vadddomain domain.com
or as
vadddomain mail.domain.com ( assuming mail. is the mx record in dns )
Hi,

What ever the @domain part is on your email address.

If you use [EMAIL PROTECTED] then vadddomain domain.com password

If you use [EMAIL PROTECTED] then vadddomain mail.domain.com password

Regards,

Rick





Re: [vchkpw] question about adding a new domain

2003-11-07 Thread Gary


 Gary wrote:
 
  Hi all,
  
  Ok i'm got vpopmail installed on my qmail server, now i have a quick
  question about adding domains
  
  when setting up a new domain do i set it up as just
  
  vadddomain domain.com
  or as
  vadddomain mail.domain.com ( assuming mail. is the mx record in dns )
 
 Hi,
 
 What ever the @domain part is on your email address.
 
 If you use [EMAIL PROTECTED] then vadddomain domain.com password
 
 If you use [EMAIL PROTECTED] then vadddomain mail.domain.com password
 
 Regards,
 
 Rick
 
 
 
Thanks Rick that is what I thought, but just needed to be sure.





[vchkpw] question about exit code of vdelivermail

2003-09-29 Thread thomas.hendrich
Hi everybody,

I´ve got a question concerning the internal strucutre of vpopmail.
I´ve set up a qmail system together with vpopmail ( qmail 1.03  vpopmail 5.2 ).
I´m testing with two different domains and everything is working fine for me.

What I now wanted to do is set up some kind of simple anti-spam tool to avoid the huge 
amount of spam in some Maildirs. I tried to get a php script to work ( php script 
called from a .qmail file ) that sould analyse the mail and in case of spam it should 
copy it to some destination and then the script should return a exit code to tell the 
delivery process to stop delivering the message.

What I´m not shure is which program does the delivery in this case.
The .qmail file ( created with qmailadmin ) resides inside the vpopmail structure of 
the virtual domain and looks like

|/path-to-phpscript/phpscript.php
/path/to-vpopmail/domains/virtualdomain1/adress/Maildir/new/

but everytime I send a mail to that adress, the php script tells me that it is spam, 
it copies it to the sepcial destionation ( so the script works fine to me ) BUT the 
mail delivery process is not stopped, the mail gets into the Maildir asif my script 
did not return an exit code.

I´ve tried it with return code 99  100 ( according to the .qmail-command manpages and 
some notes I found on the return codes of vdelivermail ) but nothing happened.

So my question is, have I missed something?
Which value should my returncode have, the one qmail is expecting or the one 
vdelivermail is expecting?
And why does nothing happen to that delivery process?

Thank you for your help!

Thomas



Re: [vchkpw] question about exit code of vdelivermail

2003-09-29 Thread thomas.hendrich
I´ve found the solution myself ... in the ChangeLog it sais that with version 5.2.1 
EXITCODE checking for vdelivermail has been put in and I´m currently using 5.2 :(

So forget about my question, please give me an answer for this one:

Is it save to upgrade from 5.2 to 5.2.1 on an running system?
Is there anything I should be aware of or is it just backuping the /bin/ directory and 
just making the ./configure  make  make-install ?

Thanks again

Thomas


-- Sie schrieben: --

 Hi everybody,

 I´ve got a question concerning the internal strucutre of vpopmail.
 I´ve set up a qmail system together with vpopmail ( qmail 1.03  vpopmail 5.2 ).
 I´m testing with two different domains and everything is working fine for me.

 What I now wanted to do is set up some kind of simple anti-spam tool to avoid the 
 huge amount of spam in some Maildirs. I tried to get a php script to work ( php 
 script called from a .qmail file ) that sould analyse the mail and in case of spam 
 it should copy it to some destination and then the script should return a exit code 
 to tell the delivery process to stop delivering the message.

 What I´m not shure is which program does the delivery in this case.
 The .qmail file ( created with qmailadmin ) resides inside the vpopmail structure of 
 the virtual domain and looks like

 |/path-to-phpscript/phpscript.php
 /path/to-vpopmail/domains/virtualdomain1/adress/Maildir/new/

 but everytime I send a mail to that adress, the php script tells me that it is spam, 
 it copies it to the sepcial destionation ( so the script works fine to me ) BUT the 
 mail delivery process is not stopped, the mail gets into the Maildir asif my script 
 did not return an exit code.

 I´ve tried it with return code 99  100 ( according to the .qmail-command manpages 
 and some notes I found on the return codes of vdelivermail ) but nothing happened.

 So my question is, have I missed something?
 Which value should my returncode have, the one qmail is expecting or the one 
 vdelivermail is expecting?
 And why does nothing happen to that delivery process?

 Thank you for your help!

 Thomas



 



Re: [vchkpw] question about exit code of vdelivermail

2003-09-29 Thread X-Istence
[EMAIL PROTECTED] wrote:

I´ve found the solution myself ... in the ChangeLog it sais that with version 5.2.1 EXITCODE checking for vdelivermail has been put in and I´m currently using 5.2 :(

So forget about my question, please give me an answer for this one:

Is it save to upgrade from 5.2 to 5.2.1 on an running system?
Is there anything I should be aware of or is it just backuping the /bin/ directory and just 
making the ./configure  make  make-install ?
Thanks again

Thomas

 

Just before you do the upgrade, shut down the install, upgrade and 
restart :).




Re: [vchkpw] question about autoresponder change

2003-09-18 Thread Flavio Curti
Hi Jeremy

On Tue, Sep 16, 2003 at 06:08:39PM -0500, Jeremy Kitchen wrote:
 AUTORESPOND: I can't handle a message with a Mailing-List header.
sadly this is not the only time autorespond uses the wrong exit code:
AUTORESPOND: too many received from [EMAIL PROTECTED]
(this gets triggered when a user sends more than defined mails in a
period) i don't think the mail should bounce then! instead, autorespond
should simply not send a vacation to the sender, but allow further
deliveries. i just searched an replaced all exits, because in my opinion
no failures of autorespond are fatal enough to stop the mail from ending
up in the users mailbox!

thank you  hope it helps

Flavio

--
http://no-way.org/~fcu/



Re: [vchkpw] question about autoresponder change

2003-09-18 Thread Jeremy Kitchen
On Thu, 2003-09-18 at 13:20, Flavio Curti wrote:
 Hi Jeremy
 
 On Tue, Sep 16, 2003 at 06:08:39PM -0500, Jeremy Kitchen wrote:
  AUTORESPOND: I can't handle a message with a Mailing-List header.
 sadly this is not the only time autorespond uses the wrong exit code:
 AUTORESPOND: too many received from [EMAIL PROTECTED]
 (this gets triggered when a user sends more than defined mails in a
 period) i don't think the mail should bounce then! instead, autorespond
 should simply not send a vacation to the sender, but allow further
 deliveries. 

I will look for this.

 i just searched an replaced all exits, because in my opinion
 no failures of autorespond are fatal enough to stop the mail from ending
 up in the users mailbox!

interesting point.  I will review the exits and see if there are any
others that need changed before posting the next version :)

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




Re: [vchkpw] question about autoresponder change

2003-09-18 Thread Jeremy Kitchen
On Tue, 2003-09-16 at 18:08, Jeremy Kitchen wrote:
 This is more of an opinion question than a request for help.
 

replying to my own request for advice.  After looking further at the
code, it appears that it may be acting properly if it were only to be
used as a standalone autoresponder.

However, qmailadmin also uses this for its 'vacation replies' and I
would assume that people wouldn't want their mailing list messages
bouncing (which then causes them to possibly get removed from the list)
when they're on vacation, or a whole plethora of other situations where
the autoresponder is acting improperly.

So, there's the dilemma, it appears that one package is trying to have
two different purposes in life, and those two purposes conflict with
each other.

For the sake of vacation replies (since I'm sure those are used far more
than Mail robots) I'm going to release a new version with changes to
the exit codes, but also place a bug report with qmailadmin about this
activity.

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




Re: [vchkpw] question about autoresponder change

2003-09-18 Thread Jeremy Kitchen
On Thu, 2003-09-18 at 15:31, Jeremy Kitchen wrote:
 For the sake of vacation replies (since I'm sure those are used far more
 than Mail robots) I'm going to release a new version with changes to
 the exit codes, but also place a bug report with qmailadmin about this
 activity.

oops, I apologize.  I didn't realize there was a sourceforge project for
autorespond.  I submitted my patch to there and made some comments on
some other bug reports and such :)

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




[vchkpw] question about autoresponder change

2003-09-16 Thread Jeremy Kitchen
This is more of an opinion question than a request for help.

I received a call from a client that was having problems with ezmlm and
autoresponder.  autoresponder would bounce messages from his ezmlm list
and eventually ezmlm would remove him from the list (this is after
setting up the autoresponder/vacation reply in qmailadmin).

autoresponder was reporting this in the log, and not delivering the
message from the ezmlm list, as well as eventually causing him to be
removed from the mailing list.

AUTORESPOND: I can't handle a message with a Mailing-List header.

Upon further investigation I saw that autoresponder, when coming across
a Mailing-List header, would exit 100, causing qmail-local/vdelivermail
to bounce the message.

Am I wrong to think that autoresponder should silently ignore messages
with Mailing-List headers and exit 0 so the rest of the .qmail file can
be processed as usual?  It should not reply to messages from a mailing
list (we've all seen what kind of annoyance that creates) but it
shouldn't prevent them from being delivered.

I have attached a patch that addresses this issue.

Thanks in advance for the input.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE
This patch makes autorespond silently ignore messages from
mailing lists that add a Mailing-List header (such as ezmlm)
and allows further processing of .qmail files.

Apply this patch like so:
cd /path/to/autorespond-2.0.4/
patch autorespond-mailing-list-ignore.patch

Jeremy Kitchen - Inter7 Internet Technologies, Inc.  09/16/2003

--- autorespond-2.0.4-orig/autorespond.c2003-08-25 11:11:58.0 -0500
+++ autorespond-2.0.4-Mailing-List-exit-0/autorespond.c 2003-09-16 18:01:13.0 
-0500
@@ -629,8 +629,8 @@
 
if ( inspect_headers(mailing-list, (char *)NULL ) != (char *)NULL )
{
-   fprintf(stderr,AUTORESPOND: I can't handle a message with a 
Mailing-List header.\n);
-   _exit(100); /*hard error*/
+   fprintf(stderr,AUTORESPOND: This looks like it's from a mailing list, 
I will ignore it.\n);
+   _exit(0);   /*report success and exit*/
}
if ( inspect_headers(Delivered-To, Autoresponder ) != (char *)NULL )
{


[vchkpw] Question regarding courier

2003-09-10 Thread Ewald Geschwinde
I hav downloaded the courier imap

I have compiled the qmail vpopmail with the qinstall-1.1 from www.obua.org

pop mail is running fine

Now I want to use this with Imap

I'm compiling with courier-imap-2.1.1

Here is the error output:

The problem is the vpopmail is installed perfect
I'm finding an libvpopmail.a in the /home/vpopmail/lib dir
Have I done something wrong with the vpopmail installation?
I'm very pleased for any hints!!!
Compiling authdaemonpwd.c
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o 
authdaemon.passwd  authdaemonpwd.o libauth.a ../numlib/libnumlib.a  
../soxwrap/libsoxwrap.a `cat ../soxwrap/soxlibs.dep`
Compiling modauthcustom.c
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authcustom  
modauthcustom.o libauthmod.a libauth.a ../numlib/libnumlib.a 
../libhmac/libhmac.a ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
Compiling modauthcram.c
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authcram  
modauthcram.o libauthmod.a libauth.a ../numlib/libnumlib.a 
../libhmac/libhmac.a ../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a 
../md5/libmd5.a ../sha1/libsha1.a -lgdbm
Compiling modauthuserdb.c
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authuserdb  
modauthuserdb.o libauthmod.a libauth.a ../numlib/libnumlib.a 
../userdb/libuserdb.a ../gdbmobj/libgdbmobj.a ../libhmac/libhmac.a 
-lgdbm  ../md5/libmd5.a ../sha1/libsha1.a -lcrypt
Compiling modauthvchkpw.c
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authvchkpw  
modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a 
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -lm 
-lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[2]: *** [authvchkpw] Error 1
make[2]: Leaving directory `/home/eg/courier-imap-2.1.1/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/eg/courier-imap-2.1.1/authlib'
make: *** [all-recursive] Error 1



Regards EWald Geschwinde





Re: [vchkpw] Question regarding courier

2003-09-10 Thread Anthony Baratta
At 08:49 AM 9/10/2003, Ewald Geschwinde wrote:

Have I done something wrong with the vpopmail installation?

/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
Ewald...

Make sure you have the following two files:

 /var/qmail/vpopmail/etc/inc_deps
 /var/qmail/vpopmail/etc/lib_deps
I had to create them:

 /var/qmail/vpopmail/etc/inc_deps

 Inside:
 -I/var/qmail/vpopmail/include -I/usr/include/mysql
 /var/qmail/vpopmail/etc/lib_deps

  Inside:
  -L/var/qmail/vpopmail/lib /var/qmail/vpopmail/lib/libvpopmail.a 
-L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.a -lz

(the above is one line, watch for wrap)

---
Anthony Baratta
President
Keyboard Jockeys
Conformity is the refuge of the unimaginative.




[vchkpw] Question on 553 error

2003-06-08 Thread Remo Mattei
Hi guys can someone give me more info on why someone that is trying to send
a message to me gets this error?

 553 sorry, your envelope sender has been denied


I am almost positive that her email client is not setup  correctly Any
fee back are welcomed.
Thanks, 


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer  Firewall Development
   [EMAIL PROTECTED]




RE: [vchkpw] Question on 553 error

2003-06-08 Thread David Hubbard
If you search google for the error message you're wondering
about, the second match is the third-party patch that
is causing your qmail to produce the message.  

David

 -Original Message-
 From: Remo Mattei [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, June 07, 2003 9:47 PM
 To: David Hubbard; [EMAIL PROTECTED]
 Subject: Re: [vchkpw] Question on 553 error
 
 
 This user is not even on my box :)
 She is just sending message to one of my client which is on 
 this box :) Thanks and I am open for more suggestions ..
 -- Remo Mattei   --cell 801-209-8554
http://www.italy1.com
Freelance Networking-Security/Consultant
MCSE, MCP, MCP+I, MCT
Linux Trainer  Firewall Development
[EMAIL PROTECTED]
 
 
  From: David Hubbard [EMAIL PROTECTED]
  Date: Sat, 7 Jun 2003 20:11:44 -0400
  To: [EMAIL PROTECTED]
  Subject: RE: [vchkpw] Question on 553 error
  
  That's an error from the SMTP server; unless you have
  smtp auth or something like that built into it, vpopmail 
 would not be 
  involved.
  
  David
  
  -Original Message-
  From: Remo Mattei [mailto:[EMAIL PROTECTED]
  Sent: Sat 6/7/2003 7:31 PM
  To: '[EMAIL PROTECTED]'
  Cc:
  Subject: [vchkpw] Question on 553 error
  
  
  
  Hi guys can someone give me more info on why someone that 
 is trying to 
  send a message to me gets this error?
  
  553 sorry, your envelope sender has been denied
  
  
  I am almost positive that her email client is not setup  
 correctly 
  Any fee back are welcomed. Thanks,
  
  
  -- Remo Mattei   --cell 801-209-8554
http://www.italy1.com
Freelance Networking-Security/Consultant
MCSE, MCP, MCP+I, MCT
Linux Trainer  Firewall Development
[EMAIL PROTECTED]

  
  
  
  
 



RE: [vchkpw] Question on 553 error

2003-06-08 Thread David Hubbard
That's an error from the SMTP server; unless you have
smtp auth or something like that built into it, vpopmail
would not be involved.
 
David

-Original Message- 
From: Remo Mattei [mailto:[EMAIL PROTECTED] 
Sent: Sat 6/7/2003 7:31 PM 
To: '[EMAIL PROTECTED]' 
Cc: 
Subject: [vchkpw] Question on 553 error 



Hi guys can someone give me more info on why someone that is trying to send
a message to me gets this error?

 553 sorry, your envelope sender has been denied


I am almost positive that her email client is not setup  correctly Any
fee back are welcomed.
Thanks,


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer  Firewall Development
   [EMAIL PROTECTED]
   






[vchkpw] Question

2003-03-27 Thread Arquimedes Camacho Delgado
Hi there, I have 3 server with vpopmail

And in my script to start qmail I have:

csh -cf '/var/qmail/rc '
env - PATH=/var/qmail/bin:/usr/local/bin  \
tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u201 -g90 0 smtp /var/qmail/bin/qmail-smtpd 21  /dev/null 
env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver 0 pop-3 /var/qmail/bin/qmail-popup siper.interplanet.com.mx \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
/usr/lib/courier-imap/libexec/imapd.rc start


And I have romming users, the problem is that the automatic smtp is
not working even though the open-smtp is working and adding IP from my
users, can you help me fix it.

Thanks in advanced





[vchkpw] question re faq

2003-02-11 Thread Paul Theodoropoulos



faq item 34 discusses getting courier-imap to use vpopmail's roaming
users functionality. i just noticed in the changelog for courier-imap, it
states:

2001-02-08 Chris Seawood [EMAIL PROTECTED]

* authlib:
Added check for open_smtp_relay in -lvpopmail



so, does that mean that faq item 34 is obsolete?

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



Re: [vchkpw] question re faq

2003-02-11 Thread Brian Kolaci

As far as I know, roaming users doesn't work with
the courier-imap authlib, at least with authdaemond.
I've patched my version and when I get cycles planned
on submitting a patch to Mr. Sam to allow authdaemond
to have it work.  The problem is that vpopmail relies
on environment variables that are set in the couriertcpd
and aren't passed to the daemon.  I've patched my version and
have had it working for over a month now.  Eliminating all
those fork/exec's have reduced CPU dramatically (as well
as my patch to vpopmail vipmap API to only fork/exec tcprules
if a new IP is added to the table).  I used to be at 99% CPU,
now I'm at 98% idle...

Brian

   faq item 34 discusses getting courier-imap to use vpopmail's roaming users 
   functionality. i just noticed in the changelog for courier-imap, it states:
   
   
   2001-02-08  Chris Seawood [EMAIL PROTECTED]
   
* authlib: Added check for open_smtp_relay in -lvpopmail
   
   
   
   so, does that mean that faq item 34 is obsolete?
   
   
   Paul Theodoropoulos
   http://www.anastrophe.com
   http://folding.stanford.edu
   The Nicest Misanthrope on the Net 





Re: [vchkpw] question re faq

2003-02-11 Thread Rick Updegrove \(dislists\)
- Original Message -
From: Paul Theodoropoulos [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 10:24 AM
Subject: [vchkpw] question re faq



 faq item 34 discusses getting courier-imap to use vpopmail's roaming users
 functionality. i just noticed in the changelog for courier-imap, it
states:


 2001-02-08  Chris Seawood [EMAIL PROTECTED]

  * authlib: Added check for open_smtp_relay in -lvpopmail

 so, does that mean that faq item 34 is obsolete?

I also noticed that a couple of weeks go.  Thanks for reminding me (the
list) I wanted to know also.





[vchkpw] Question for qmailadmin off topic :( Sorry

2003-01-27 Thread Remo Mattei
Hi guys I have a question if you do not mind my asking guys.  I have
installed qmailadmin vanilla and it get errors permission errors when I try
to create a user. So I have installed the 1.0.6 and then upgrade to 1.09 and
works fine however, I cannot get the field for quota to show. Do you have
any suggestions? I know this is not the right mailing list but any help
would be appreciated.

REMO




[vchkpw] Question about the vpasswd command

2002-11-22 Thread Chris A. Kalin
Is there a switch I could give vpasswd where I could do a massive amount of
password changes without regenerating the cdb each time?  Kind of like
the -s (or -S, I've forgotten) switch in vadduser.
If not, how would I hack at vpasswd.c to make this happen?  I know enough C
where if someone shows me a patch or tells me what to change I can do it.
:)

Thanks in advance.

Chris Kalin







[vchkpw] Question about vpopmail and shared folders

2002-10-29 Thread Taylor Dondich
I am using vpopmail with courier-imap as my mail solution and I love it 
so far.  I've got a small question about shared folders.  When creating 
a shared mail folder under a shared mailbox directory structure, you use 
the -s mode flag to specify permission to the folder.  How can this 
work with virtual domains?  I don't see a way of specifying specific 
permissions and only doing global read/write access to the folder.

Taylor Dondich




[vchkpw] question about directory permissions

2002-10-14 Thread David

Hi all,

Got what may be a silly question, but I have read the doccos etc, and
havent found a specific answer to this one.

The file permissions on the ~vpopmail directory structure all map out to
basically only the user vpopmail can access it (well and root of
course), now, to do some things involving getmail and maildrop I need to
be able to write to those directory structures without being able to set
the process owner as vpopmail, although I CAN set group to vchkpw -
actually need to write various files to the virtual users directories,
but same sort of deal, if the group cant list, it cant find...:).

I was wondering what the effect would be on vpopmail operations if list
rights were granted to the group (vchkpw) only to the domain tree, so
that an external proecss can get to some of the specific files inside
the users Maildir directory structures?

(I dont want to just do this and perhaps break a running server, so I
thought I would ask first)

Thanks for the time

Regards

David Cook