[vchkpw] Del domains

2002-08-31 Thread Thiago Campos



Hi,
 
I'm using Vpopmail 5.2.1 with MySQL, before i made 
it works i added some domains that i want to delete now.
Whe i run ./vdeldomain domain.com i receive the 
following messagem
 
Error: Domain does not exist
 
But i can see in MySQL that exist an entry for this 
domain.
 
How do i delete this domain?
 
Thanks


[vchkpw] Normal user delivering

2002-08-31 Thread Eric Persson

I would like some domains email be delivered in the normal 
"qmail-scenario". If I put the following in virtualdomains:
test.egp.cx:eric

I want it to be delivered to /home/eric and use the .qmail files there. 
Cant this be done once you replaced qmail-local?

Any tips/help would be appreciated.

//eric





Re: [vchkpw] Normal user delivering

2002-08-31 Thread Ken Jones

On Saturday 31 August 2002 09:58 am, Eric Persson wrote:
> I would like some domains email be delivered in the normal
> "qmail-scenario". If I put the following in virtualdomains:
> test.egp.cx:eric
>
> I want it to be delivered to /home/eric and use the .qmail files there.
> Cant this be done once you replaced qmail-local?
>
> Any tips/help would be appreciated.
>
> //eric

You can do that with qmail/vpopmail. qmail will 
decided how to deliver the mail. it will always hand
the delivery to qmail-local. 

Ken Jones



Re: [vchkpw] Del domains

2002-08-31 Thread Ken Jones

On Saturday 31 August 2002 06:28 am, Thiago Campos wrote:
> Hi,
>
> I'm using Vpopmail 5.2.1 with MySQL, before i made it works i added some
> domains that i want to delete now. Whe i run ./vdeldomain domain.com i
> receive the following messagem
>
> Error: Domain does not exist
>
> But i can see in MySQL that exist an entry for this domain.
>
> How do i delete this domain?
>
> Thanks

Check the /var/qmail/control/virtualdomains file for the domain.
Also check the /var/qmail/control/rcpthosts and morercpthosts
Then check /var/qmail/users/assign for the domain.
Then check the /home/vpopmail/domains directory for the domain.

It should be in all of those places. If not, you'll need to delete
them by hand by removing it from each of those places plus
deleteing it from the database.

Ken Jones




Re: [vchkpw] tcpserver mysql patch

2002-08-31 Thread Ken Jones

the vchkpw program updates the tcp.smtp.cdb file. 

So you'll need to reconfigure vpopmail without roaming-users
(the default is roaming users turned off).

Ken Jones

On Friday 30 August 2002 11:31 pm, Paul Fries wrote:
> Please forgive me if this is the wrong forum for this question.
>
> It seems that even after applying Matt Simerson's tcpserver-mysql patch,
> the tcp.smtp.cdb file is still being rehashed on every pop
> authentication.
>
> I am getting data in the relay table properly, and my
> /var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
> includes the -S flag to tcpserver.
>
> Does anyone know what I am missing here?
>
> Thanks!
>
> Regards,
> Paul Fries
> [EMAIL PROTECTED]




[vchkpw] Restrict amount of vchkpw authentications

2002-08-31 Thread Jeremy Kister

Hi

I've got vpopmail 5.2.1 on top of qmail 1.03 on a Solaris 2.7 SPARC machine.

Everything is going well.  I've noticed, though, that several of my users
are abusing my pop3 service, that is, that they are popping their email
every minute, 24 hours a day.

this has not become a problem for my mail server performance as of yet, but
i'm being pro active.  It is clearly stated in my aup that checking your
mail more than once every 5 minutes is unacceptable, and that once (or less
than) every 10 minutes is preferred.

I'm wondering if anybody has implemented a method of making vchkpw only
allow one authentication per user per 5 minutes..

I'm looking for something that will not silently deny their connection, but
something that will actually make their mail client do something like pop up
a message, or pop up a username and password window..  just so that the
client knows that he's doing something wrong.


---
Jeremy Kister
www.jeremykister.com
PGP: http://www.jeremykister.com/jeremy/public_key.asc
---




Re: [vchkpw] Restrict amount of vchkpw authentications

2002-08-31 Thread Charles Sprickman

You might be best off hacking up your popd to achieve this.  Have it look
at last login time and spit out an "-ERR You are popping too often see
http://blahblahblah";.  Some clients will show this others won't.

As a shortcut you could pull some existing data out of mysql and send a
nagging email to the abusers...

C

On Sat, 31 Aug 2002, Jeremy Kister wrote:

> Hi
>
> I've got vpopmail 5.2.1 on top of qmail 1.03 on a Solaris 2.7 SPARC machine.
>
> Everything is going well.  I've noticed, though, that several of my users
> are abusing my pop3 service, that is, that they are popping their email
> every minute, 24 hours a day.
>
> this has not become a problem for my mail server performance as of yet, but
> i'm being pro active.  It is clearly stated in my aup that checking your
> mail more than once every 5 minutes is unacceptable, and that once (or less
> than) every 10 minutes is preferred.
>
> I'm wondering if anybody has implemented a method of making vchkpw only
> allow one authentication per user per 5 minutes..
>
> I'm looking for something that will not silently deny their connection, but
> something that will actually make their mail client do something like pop up
> a message, or pop up a username and password window..  just so that the
> client knows that he's doing something wrong.
>
>
> ---
> Jeremy Kister
> www.jeremykister.com
> PGP: http://www.jeremykister.com/jeremy/public_key.asc
> ---
>
>




[vchkpw] Limit local user's e-mail

2002-08-31 Thread Jeremy Oddo

Does anyone know if there's an easy way to deny SOME users the right to
e-mail outside our organization?  For example, let's say I have three
users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
like to restrict user3 to ONLY be able to e-mail those people in his
domain, meaning, he can only e-mail user1 and user2.

How does one go about setting this up?


Thanks,
Jer





RE: [vchkpw] tcpserver mysql patch

2002-08-31 Thread Paul Fries

Hmm. I tried that, but then the IP addresses are no longer written to my
vpopmail/relay table in the MySQL database. 



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, August 31, 2002 9:25 AM
To: Paul Fries; 'VpopMail Mailing List'
Subject: Re: [vchkpw] tcpserver mysql patch

the vchkpw program updates the tcp.smtp.cdb file. 

So you'll need to reconfigure vpopmail without roaming-users
(the default is roaming users turned off).

Ken Jones

On Friday 30 August 2002 11:31 pm, Paul Fries wrote:
> Please forgive me if this is the wrong forum for this question.
>
> It seems that even after applying Matt Simerson's tcpserver-mysql
patch,
> the tcp.smtp.cdb file is still being rehashed on every pop
> authentication.
>
> I am getting data in the relay table properly, and my
> /var/qmail/control/sql file is correct. Also, my qmail-smtpd/run file
> includes the -S flag to tcpserver.
>
> Does anyone know what I am missing here?
>
> Thanks!
>
> Regards,
> Paul Fries
> [EMAIL PROTECTED]






Re: [vchkpw] Limit local user's e-mail

2002-08-31 Thread Dzuy Nguyen

You might want to take a look at maildrop.  Per user configurable and 
has regex rules for delivery.

Jeremy Oddo wrote:

>Does anyone know if there's an easy way to deny SOME users the right to
>e-mail outside our organization?  For example, let's say I have three
>users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
>user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
>like to restrict user3 to ONLY be able to e-mail those people in his
>domain, meaning, he can only e-mail user1 and user2.
>
>How does one go about setting this up?
>
>
>Thanks,
>Jer
>
>
>
>





Re: [vchkpw] Restrict amount of vchkpw authentications

2002-08-31 Thread Dzuy Nguyen

I don't think there is anything in POP that makes the client pop a 
warning.  Cheapest way
is to write something that reads the log file and mail warnings or do 
your desired actions
to offenders.

Jeremy Kister wrote:

>Hi
>
>I've got vpopmail 5.2.1 on top of qmail 1.03 on a Solaris 2.7 SPARC machine.
>
>Everything is going well.  I've noticed, though, that several of my users
>are abusing my pop3 service, that is, that they are popping their email
>every minute, 24 hours a day.
>
>this has not become a problem for my mail server performance as of yet, but
>i'm being pro active.  It is clearly stated in my aup that checking your
>mail more than once every 5 minutes is unacceptable, and that once (or less
>than) every 10 minutes is preferred.
>
>I'm wondering if anybody has implemented a method of making vchkpw only
>allow one authentication per user per 5 minutes..
>
>I'm looking for something that will not silently deny their connection, but
>something that will actually make their mail client do something like pop up
>a message, or pop up a username and password window..  just so that the
>client knows that he's doing something wrong.
>
>
>---
>Jeremy Kister
>www.jeremykister.com
>PGP: http://www.jeremykister.com/jeremy/public_key.asc
>---
>
>
>





Re: [vchkpw] Limit local user's e-mail

2002-08-31 Thread Ken Jones

On Saturday 31 August 2002 07:33 pm, Jeremy Oddo wrote:
> Does anyone know if there's an easy way to deny SOME users the right to
> e-mail outside our organization?  For example, let's say I have three
> users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
> user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
> like to restrict user3 to ONLY be able to e-mail those people in his
> domain, meaning, he can only e-mail user1 and user2.
>
> How does one go about setting this up?
>
>
> Thanks,
> Jer

Take a look at the NO_RELAY flag that can be set for any user

vmoduser -r email@domain 

It won't set the RELAY flag for the smtp server, so the user can only
send email to domains that are on that server (in the rcpthosts file).

Ken Jones