Re: Two issues

2001-02-06 Thread M. Guven Mucuk

Cliff, thank you.

Ken, maybe vadduser man page may need an update. That page currently gives 
wrong information i think. 

===
SYNOPSYS
vadduser [email address] [password] [-a] [-q hard quota in bytes]
=== 

( http://www.inter7.com/vpopmail/doc/vadduser.html ) 


Best Regards 

=
= M. Guven Mucuk
= [EMAIL PROTECTED]
=
= BerkNet Internet Services
= UNIX System Administrator
= 




API Question

2001-02-06 Thread Tim Hassan

The function in vpopmail.h version 4.9.8:

int vadddomain( char *domain, char *dir, int uid, int gid); 

what does dir denote?
is it the domain's main directory? 

for example, if my code was like: 

ret = vadddomain(dom, something, VPOPMAILUID, VPOPMAILGID); 

what should I have instead of "something"? 

Any help is greatly appreciated. 

Tim 



Moderate list not working in qmailadmin 0.42

2001-02-06 Thread Sumith Ail



Hello

I am in a big problem. Moderate list are not 
working in qmailadmin 0.42. I have installed ezmlm 0.53 + ezmlm-idx-std 
rpm

Now when i create a moderated list and when the 
moderator send an email nothing


tcpserver: fatal: unable to bind: address already used

2001-02-06 Thread Ross Davis - Data Anywhere



I added to followingcommands into the script 
/var/qmail/supervise/qmail-pop3d/runbut now when I run qmail start I get 
the error
tcpserver: fatal: unable to bind: address already used 

## run script file - copied from vpopmail install 
guid
#!/bin/sh

exec env - PATH="/var/qmail/bin:/usr/local/bin" 
\tcpserver -H -R 0 pop-3 \/var/qmail/bin/qmail-popup ws1.joinhands.com 
\/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


I also added the following into the log directories 
run file, but I'm not sure that that is right either

#!/bin/shexec /usr/local/bin/setuidgid qmaill 
/usr/local/bin/multilog t /var/log/qmail/pop3d

Can any one steer me in the right directions or at 
least give me some instructions that work:-)



Re: Courier IMAP

2001-02-06 Thread Cliff To

Has anyone ever had success in compiling courier IMAP with vpopmail + SQL 
support?

I don't.

and then the make exits.  The IMAP list admins say that it is a vpopmail
issue and not anythingto do with them...I cant see how, any ideas would be 
gratefully recieved!

Have you specified --enable-mysql=y when compiling vpopmail?


_
Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: Courier IMAP

2001-02-06 Thread Joe Modjeski

You need to modify the Makefile to include the mysql libs.

In the authlib/Makefile

I changed the CRYPTLIBS line to:
CRYPTLIBS = -lcrypt -L/usr/local/lib/mysql -lmysqlclient -lz

As per recommendations in prior messages.

This worked rather than using the MYSQL_LIBS line.

Joe

-Original Message-
From: Daniel Hardaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 8:49 AM
To: [EMAIL PROTECTED]
Subject: Courier IMAP


Has anyone ever had success in compiling courier IMAP with vpopmail +
SQL
support?

I get the following errors:
/home2/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vdel_dir_control':
/home/admin/vpopmail-4.9.8/vauth.c:1020: undefined reference to
`mysql_query'
/home/admin/vpopmail-4.9.8/vauth.c:1024: undefined reference to
`mysql_store_res
ult'
/home/admin/vpopmail-4.9.8/vauth.c:1025: undefined reference to
`mysql_free_resu
lt'

and then the make exits.  The IMAP list admins say that it is a vpopmail
issue and not anythingto do with them...I cant see how, any ideas would
be
gratefully recieved!





Re: API Question

2001-02-06 Thread Cliff To

int vadddomain( char *domain, char *dir, int uid, int gid);

what does dir denote?
is it the domain's main directory?

Not the ~vpopmail/domains directory but ~vpopmail/domains/yourdomain.com

After checking vpopmail.c:

if ( chdir(dir) != 0 ) {
   return(VA_BAD_V_DIR);
}

if ( chdir(VPOPMAILDIR) != 0 ) return(VA_BAD_V_DIR);

case VA_BAD_V_DIR:
return("Unable to chdir to vpopmail/domains/domain directory");
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




FW: Next 5.0 features

2001-02-06 Thread Joe Modjeski

-Original Message-
From: Russell "Elik" Rademacher [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 11:27 AM
To: Joe Modjeski
Subject: RE: Next 5.0 features


Know what other little feature would be great for this?  The
limit of email
accounts per domain.  So that it is more realistic to offer to the
customers
of which account package they want and limit the number of email
accounts
per domain.

--
Linux Administrator  Consultant
Russell "Elik" Rademacher


-Original Message-
From: Joe Modjeski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 12:15 PM
To: [EMAIL PROTECTED]
Subject: RE: Next 5.0 features


I would be interested to hear real world experiences from folks
who are running vpopmail(etc). Perhaps we can figure out what
needs to be changed to make it a better package.

Nobody else seemed to mention this.  I would like api calls to the
functions that vmoduser performs.  Currently I have to make system calls
from my biniaries to get the deactivate/reactivate features out of
vpopmail.  My idea would work something like:

(some sort of info struct) vmodinfo( char *user, char *domain );
int vmodset( char *user, char *domain, (same struct as above) );
int vmodclear( char *user, char *domain );

Also from most of the requests for qmailadmin.  It seems that the
project needs to branch from just qmailadmin to qmailadminadmin.  This
would be pretty cool.  I do like the vpopmail API calls rather than just
a webbased utility.  The web is good for my customers but I want the
control at the command line.


Joe Modjeski
[EMAIL PROTECTED]



Re: FW: Next 5.0 features

2001-02-06 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Joe,

Tuesday, February 06, 2001, 7:35:18 PM, you wrote:

 -Original Message-
 From: Russell "Elik" Rademacher [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 06, 2001 11:27 AM
 To: Joe Modjeski
 Subject: RE: Next 5.0 features


 Know what other little feature would be great for this?  The
 limit of email
 accounts per domain.  So that it is more realistic to offer to the
 customers
 of which account package they want and limit the number of email
 accounts
 per domain.

You're aware of .qmailadmin-limits, aren't you? Or are you giving your
customers root access so they can set their own accounts up?


Best regards,
 Gabriel

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2i

iQEVAwUBOoA6LcZa2WpymlDxAQGfYQgAox0mzZH97Z5Rfaimi9z8rVdu72mCCFsb
wiEpVV4BlDP9tWyrzdvGAx89A29F/4TH9lqTrFdt8hzRc5FjZTRf5TlYnee9TBYW
/gGkl/WEypqO4grtfYhVAWbk7UvUAI+EAQ3FOKudCZWn5uU4/C+jCLk/d0aLwVHU
Q378uyZG1BTqApKHQoGzNOkR37WVS5FmZs5IyBZkmCUePxRrGFgFoolX3YC3knLT
SxWWt+GuTY2KZSfq8TstN9LA5ui2FSgEjt3YBoNlCdlvvYTu74Twp1Pbvn68FVLB
KDjyr5bvO96u3AZTKJTYx+YQwadeMySc1ElC99R956Ho6AR7tVD4og==
=POzi
-END PGP SIGNATURE-





RE: Courier IMAP

2001-02-06 Thread Brad Dameron

Easier to do the following:

``env LIBS="-L/usr/local/lib/mysql -lmysqlclient -lz"'' ./configure

Put that on the command line or run it from another script as I do.

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com

 -Original Message-
 From: Daniel Hardaker [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 06, 2001 10:44 AM
 To: [EMAIL PROTECTED]
 Subject: Courier IMAP
 
 
 Thanks a lot to everyone who has replied to my problem.  
 After searching
 through various archives ive found the following, which fixed 
 the problem:
 in authlibs/Makefile
 
 change  "libauth_authvchkpw_a_LIBADD ="
 to
  "libauth_authvchkpw_a_LIBADD = -L/usr/lib/mysql -lmysqlclient"
 
 an "authvchkpw_LDFLAGS ="
 to
 "authvchkpw_LDFLAGS = -L/usr/lib/mysql -lmysqlclient"
 
 Then it fails once, and I have to edit authlib/authvchkpw.libsdep to
 include -L/var/lib/mysql -lmysqlclient
 
 Hope this helps anyone with the same problem.  Seems to be 
 very bad coding
 or something in the Courier IMAP package... but it works now 
 for the purpose
 I wanted, so thats ok.
 
 - Daniel (@iv2.co.uk)
 
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.230 / Virus Database: 111 - Release Date: 1/25/2001
 
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.230 / Virus Database: 111 - Release Date: 1/25/2001




bouncing bad email

2001-02-06 Thread Scott Ramshaw

Sorry if this is second message, I sent first to [EMAIL PROTECTED]
instead of vchkpw...

Hello all,

I have a little dilemma.  We run a free email service, and some people are
signing up for an account, then sending mass SPAM through overseas third
party open relays foring the From: address that they signed up for.  Then
the bounces (I have over 15 bounces for one party at over 700M) build
up on my server.  Of course we have deleted the account in question so the
bounces go into my catchall.  Due to the volume, I figured I would
eliminate my catchall and let the bounces bounce due to the user being
disabled.  The problem then is that the bounces also bounce, and end up
back in my postmaster account.

Is there a way to configure qmail/vpopmail to either not accept bounces
for email it never sent, or to discard bounces that bounce instead of
having them go to the postmaster account?

Any advice appreciated.  Of course the real problem lies in the fact that
idiots have open relays and other idiots accept mail from them, but that
is a larger scale problem and I need a quick solution for my servers.  I
imagine others are in the same boat?

Thanks,
Scott





UN - subscribe

2001-02-06 Thread knightiv

Dears,

Who can tell me, how to UN-subscribe this maillist?

Thanks,

Mars

 winmail.dat


Re: tcpserver: fatal: unable to bind: address already used

2001-02-06 Thread Cliff To

What other services are you supervising?

I was just trying to use the qmail-send and qmail-smtpd

Perhaps there is a pop3 startup script somewhere which starts another pop3 
daemon you didn't aware of?

Based on your error "unable to bind: address already used", it clearly 
stated that there are multiple daemons that are configured to use the same 
port. The other daemon that is not supervised may or may not be pop3d if you 
manually specified that daemon to use 110, you need to find that out 
yourself.

Also, are you running multilog for pop3d as well? Mind to show us that run 
script?
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




vpopmail 4.9.8 and courier-1.3.2

2001-02-06 Thread Brad Dameron


I am using Vpopmail with MySQL. I am currently using authvchkpw under
courier-imap for my webmail interface. With the new version of courier I see
some new configuration with the authentication. What is the best way to do
authentication for courier and Vpopmail using MySQL? Should I use
authdaemond?


---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.230 / Virus Database: 111 - Release Date: 1/25/2001




Re: bouncing bad email

2001-02-06 Thread Cliff To

This will cause a triple bounce and the mass messages will then be 
discarded without even getting to your postmaster nor devnull account.

Sorry, I meant "cause a double bounce" given user "devnull" exists.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




vpopmail + qmail

2001-02-06 Thread Diogo Saad

I've installed vpopmail + qmail + tcpserver 

Since I added tcpserver qmail-smtpd to my init do I still need to run
/var/qmail/rc  ??






Re: tcpserver: fatal: unable to bind: address already used

2001-02-06 Thread Cliff To

Looks like i might have been trying to complicate things!  Are you
saying I
should just run my script once and ignore the supervise stuff?  Where 
would you call the qmail-pop3d from?

I would call qmail-pop3d from my supervise script in 
/usr/local/etc/rc.d/svscan.sh (on a FreeBSD local startup dir)

Without supervising it, I would have a stand-alone startup script for 
qmail-pop3d in /usr/local/etc/rc.d/pop3d.sh

Be sure NOT to have both scripts in your startup dir or file, just choose 
either one. Supervise is great if you setup everything correctly, otherwise, 
it will _flood_ your logs.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com