vpopmail and quotas

1999-09-28 Thread Ana Belén Santos

 Hello, I have a linux server with qmail, I have installed the
vpopmail package ( version 3.4.9) and
I have find the following problem:

-Imagine I configure the quota for a pop user to 10Mbytes (1024
bytes) in the vpasswd file, and the size of the Maildir directory for
this user is 1Mbyte .
-I send a mail to this user with a size of 30Mbytes.
- Vdelivermail will enter the user Maildir and add up the sizes of
all the files in this directory,
but the total size in this moment is 1Mbytes so the message will be
deliver because the Maildir size
is smaller than 10Mbytes.
-Now, the size of the Maildir directory for that user is 31Mbytes,
but his quota is 10Mbytes!!!

.imagine if I send a mail of 1Gbyte instead one of 30Mbytes..

The problem is that vdelivermail compares:

the size of the Maildir directory   HARD_QUOTA limit

instead of:

the size of the Maildir directory + the size of the message to
deliver  HARD_QUOTA limit

Has anybody this problem?? How It can be fixed??







size of messages

1999-09-28 Thread Ana Belén Santos

Can qmail deliver a message of any size?? Is there a limit??

Ana



smtp server as a relay 2º part

1999-09-23 Thread Ana Belén Santos


Chris Johnson wrote:

 On Wed, Sep 22, 1999 at 11:45:19AM +0200, Ana Belén Santos wrote:
  I want to  allow selected clients to use my smtp server as a relay. I
  have used tcpserver, but I only can restrict the access controling the
  IP of the sender and I want to control the email address of the sender,
  not the IP. Is this possible??  How can I do that??

 As others have pointed out, it's a bad idea to allow relaying based on sender
 address. But if you really want to do it, try this patch:

I know that it is a bad idea, but my problem is that the user that I have given
a mail account
in my system has dinamic IP addressing. So, how can I allow using my smtp server
as a relay to
this user and no for nobady else if I dont know his IP address???

thanks



 http://www.palomine.net/qmail/relaymailfrom.patch

 Chris

Ana Santos



smtp server as a relay

1999-09-22 Thread Ana Belén Santos

I want to  allow selected clients to use my smtp server as a relay. I
have used tcpserver, but I only can restrict the access controling the
IP of the sender and I want to control the email address of the sender,
not the IP. Is this possible??  How can I do that??

Thanks

Ana Belén Santos Pintor



Re: smtp server as a relay

1999-09-22 Thread Ana Belén Santos




Van Liedekerke Franky wrote:

 This is also within the standard functionallity of tcpserver, but I don't
 believe it is secure to allow relaying based on email address only.

 Franky

Yes, I know it, but could you tell how I can do it. What I have to put in
the tcp.smtp file??
I put:

[EMAIL PROTECTED]:allow
:deny

but I can not send messages through the smtp server. The mail program says:

The mail has not be sent.
There is no mail transport agent for this address.

thanks



  --
  From: Ana Belén Santos[SMTP:[EMAIL PROTECTED]]
  Sent: Wednesday, September 22, 1999 11:45 AM
  To:   [EMAIL PROTECTED]
  Subject:  smtp server as a relay
 
  I want to  allow selected clients to use my smtp server as a relay. I
  have used tcpserver, but I only can restrict the access controling the
  IP of the sender and I want to control the email address of the sender,
  not the IP. Is this possible??  How can I do that??
 
  Thanks
 
  Ana Belén Santos Pintor
 



assign file

1999-08-10 Thread Ana Belén Santos

I'm using the vchkpw package and I want to know how can I create the file
assign so
real users can get their mails with pop too. (virtual users can but no real
users because
I don't have entries for them in the assign file) . How can I do that??

Ana Santos