[vchkpw] Denying internet email access for some users

2003-01-28 Thread Winanjaya
I have to deny some users to send / receive email to /from internet users ..
and I implemeted selected relaying with tcpserver, below is my
/home/vpopmail/etc/tcp.smtp

# allowing users to send / receive email to / from internet users for IP's
below

127.0.0.:allow,RELAYCLIENT=""

172.16.1.10:allow,RELAYCLIENT=""
172.16.1.12:allow,RELAYCLIENT=""
172.16.1.13:allow,RELAYCLIENT=""

# denying users to send / receive email to / from internet users ( this will
allow conenction without relaying)

:allow

according to the above tcp.smtp configuration .. my users are still can send
/ receive email to / from internet users .. am I missing something?

TIA
Winan





[vchkpw] open-smtp .. how to make it not automatically updated

2003-01-28 Thread Winanjaya
I want to lock /home/vpopmail/etc/open-smtp .. so it's not automatically
updated .. is it possible ? many thanks in advance

Regards
Winan





RE: [vchkpw] Selective relaying with tcpserver and qmail-smtpd

2003-01-28 Thread Stig Martin Fiskå
> From: Winanjaya [mailto:[EMAIL PROTECTED]]
>
> I already configured deny relaying for some IP's but it's still relay
> allowed .. below is my /home/vpopmail/etc/tcp.smtp configuration:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 192.168.1.:allow,RELAYCLIENT=""
> 172.16.1.:allow,RELAYCLIENT=""
> 
> 192.168.1.10:allow
> 172.16.1.88:allow
> 172.16.1.77:allow
> 
> then I run
> 
> tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
> 
> 192.168.1.10, 172.16.1.88, and 172.16.1.77 must be deny relaying ..
but in
> fact .. it's not denied .. any suggestion? what should I check? or am
I
> missing something?

192.168.1.10:allow
 ^^^
Try setting the IPs you want to deny like this:
192.168.1.10:deny

Or am I way off here?

---
Regards,

Stig Martin





Re: [vchkpw] Selective relaying with tcpserver and qmail-smtpd

2003-01-28 Thread Claudio Nieder
Hi,

> 192.168.1.10:allow
>  ^^^
> Try setting the IPs you want to deny like this:
> 192.168.1.10:deny
> 
> Or am I way off here?

Yes, because saying "deny" makes tcpserver to not accept the connection
right away, thus from that host one would not even allowed to send mail
to a local recipient.

The right way is indeed to allow tcp connection, but not supply the
RELAYCLIENT environment variable, so that qmail-smtpd will only accept
mail which are detined to local users.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch





[vchkpw] disk quota per domain

2003-01-28 Thread Manish Jain
Hi!!!

I have installed Qmail+vpopmail+swwebmail on Redhat Linux 8.0
Now, I want to implement disk quota per virtualdomain.

when I add a virtualdomain ./vadddomain manish.com -q 200
this option works as 
-q quota_in_bytes (sets the quota for postmaster account)

Sets the quota for postmaster account.

But as I have 25 virtualdomains, I want to allocate specified disk quota
to each virtualdomain.
And the postmaster of that virtualdomain can use that disk space as per
his requirement with any number of users.

I don't want to use sytem file quota.

Please give the workable answer...

Manish Jain
System Admin
ERDCI Noida
-- 
MANISH JAIN
Electronics Research & Development Center of India
"Anusandhan Bhawan"
C-56/1, Sector - 62,
Noida - 201307 (U.P.)
Ph. - 0120-2402551 to 60 (Ext. - 803/718)






Re: [vchkpw] disk quota per domain

2003-01-28 Thread Claudio Nieder
Hi,

> Please give the workable answer...

Use vaddoains -u option to assign to each domain a different user and
use your OS quota facility to assign each user the desired quota.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch




Re: [vchkpw] 5.3.16

2003-01-28 Thread Ken Jones
On Monday 27 January 2003 10:57, Bill Shupp wrote:
> Ken, all:
>
> I've added Brian Kolaci's vopen_smtp_relay patch to 5.3.16.  You can
> get it from http://shupp.org.
>
> Regards,
>
> Bill Shupp

Got it. It's up at http://www.inter7.com/devel 

-- 
- Ken Jones





[vchkpw] vpopmail bug? (was Re: 5.2+ vdelivermail doesn't read .qmail)

2003-01-28 Thread Michael Burns
ON Fri, Jan 24, 2003 at 05:07:00PM -0600, Michael Burns wrote: 
> I've noticed that vdelivermail in vpopmail 5.2 and (probably up to 
> and including) 5.3.14 doesn't process any .qmail file at its second
> argument when that argument is a directory path.
> 
> Shouldn't vdelivermail check the delivery directory for a .qmail file
> before dumping the message into the Maildir/ directory?

Can somebody verify that this is a vpopmail bug? The practical problem
here is that qmailadmin creates per-user .qmail files to support
forwards which vdelivermail ignores.

I can provide a patch if necessary.

-- 
Michael




[vchkpw] Re: am I missing something for deny relay?

2003-01-28 Thread Peter Palmreuther
Hello Winanjaya,

On Tuesday, January 28, 2003 at 7:10:47 AM you [W] wrote (at least in
part):

[Changing CDB file seems not to take effect]
> am I missing something?

Seems so. I've just tested and it works as expected.

I put

192.168.100.10:allow

below the already existing

192.168.100.:allow,RELAYCLIENT=""

recompiled the cdb-file and wasn't able to relay any more.

I don't know if you're editing the correct file(s). Please check the
output of

 $>ps aux |grep tcpserver |grep qmail-smtpd

for value of '-x' option to 'tcpserver'. If this set to

/home/vpopmail/etc/tcp.smtp.cdb ?
-- 
Best regards
Peter Palmreuther

If a tree falls in the forest and Heisenberg is not there to observe,
does the tree fall?





[vchkpw] Re: open-smtp .. how to make it not automatically updated

2003-01-28 Thread Peter Palmreuther
Hello Winanjaya,

On Tuesday, January 28, 2003 at 9:45:31 AM you [W] wrote (at least in
part):

> I want to lock /home/vpopmail/etc/open-smtp .. so it's not automatically
> updated .. is it possible ? many thanks in advance

Recompile vpopmail w/o "roaming-users" configuration option (make a
fresh extract of the sources or make sure you did a "make clean"
before re-configuring existing sources) and install that new binaries.
This will prevent vchkpw from updating "open-smtp".

The "dirty" way is to set the immutable attribute if that file is
located on an ext[23] partition:

 $>chattr +i /home/vpopmail/etc/open-smtp

But that's a _REAL_ dirty work around, only recommended if you
_temporarily_ need to disable updating of open-smtp. Permanent disable
should be done by recompiling.
-- 
Best regards
Peter Palmreuther

Bombs don't kill people...explosions kill people.





[vchkpw] documentation request

2003-01-28 Thread Jesse Guardiani
Howdy list,

Upon browsing through my vpopmail 5.2.1 code, I noticed that
there is a variable, VPOPMAIL_DOMAIN, that can be set from
an Apache  block to specify/over-ride/facilitate
IP/Name-alias domains.

It's only mentioned in the ChangeLog. (And the code, of coarse)

Could we add some documentation for this variable to a more
widely read help file?

Thanks,

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.






[vchkpw] qmail+vpopmail+virus scanner

2003-01-28 Thread Soporte Técnico - PWeb ONline!
Is there a way to use a filter on every user in a vpopmail-domain directory
without putting the filter in every .qmail-user file ? Or maybe set vpopmail
in a way so than it includes the filter when creating a domain or user.

<>

[vchkpw] Maildir migration

2003-01-28 Thread Joe Kletch
Hello all,

I am migrating from qmail/poppaswd to vpopmail and MySQL.  I see that 
when I have a user in the database (my first step was to populate the 
vpopmail vpopmail table with users from the /var/qmail/poppasswd file) 
and mail is sent to that it automagically creates the users Maildir 
with folders: new cur tmp and maildirsize.

If I vpopbull a message to all users would that create all of their 
Maildirs as well?

I presume that without the maildirsize I cannot enforce quotas.

My original plan was to tar all username/Maildirs on the old system 
then untar them on the new and change permissions so they work. But 
then the maildirsize will not be there.  Can I create the maildirsize 
after the users folders are transferred from my old system?  Will mail 
quotas then work?

Thanks for your pointers.

Joe Kletch
CedarNet LLC




[vchkpw] Need suggestion

2003-01-28 Thread Winanjaya
I have some email accounts have to be temporary denying to receive emails
from internet users except intranet.. any body please give me suggestion or
idea for this? many thanks in advance

Regards

Winan





RE: [vchkpw] disk quota per domain

2003-01-28 Thread Lu
Unfortunately adding a unique user per domain is not a viable solution
for a lot of people especially when there are thousands of domains.

I have implemented domain quota by tweaking old vpopmail code before
maildirquota was implemented.  Basically disabling user quota and
recalculate quota for the entire domain when new mail arrives.  Then
comparing this number to the value MaxQuota inside .qmailadmin-limits to
determine whether the entire domain is over quota or not.  It is rather
inefficient but it mostly works.

Now I want to do the same with new vpopmail but I don't understand
enough about the new way in which it calculates quota.

If someone is more well verse and willing to do this, let me know and I
can help.  Otherwise, I will still attempt it but it will take a looong
time to study the code.

Thanks.

Lu


> -Original Message-
> From: Claudio Nieder [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, January 28, 2003 1:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] disk quota per domain
> 
> 
> Hi,
> 
> > Please give the workable answer...
> 
> Use vaddoains -u option to assign to each domain a different 
> user and use your OS quota facility to assign each user the 
> desired quota.
> 
>   claudio
> -- 
> Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 
> 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212
> mailto:[EMAIL PROTECTED]http://www.claudio.ch
>