Re: [vchkpw] About to release new devel version 5.3.20

2003-03-24 Thread nbari
It will be a good idea to support procmail I still having problems when
bouncing messages.




 I'm about to release a new 5.3.20 devel version.

 Does anyone have any patches they  would like to submit?

 Some differences from the 5.3.19 release
 1) copies the vlimits.h file into the vpopmail/include directory.
 The  latest qmailadmin devel release needs the vlimits.h file.

 2) New --enable-rebuild-tcpserver-file option to disable
 rebuilding of that file for sites that use the tcpserver/mysql patch.

 3) configure did not display the ldap option at the end
 if --enable-ldap=y is used

 4) new --enable-active-directory option. This is the
 initial active directory module code to let vpopmail
 use active directory as an authentication store.

 5) new vauth_crypt() api function to encapsulate
 the normal crypt() function. Active directory
 servers requrie an active directory call to do
 authentication. It won't just hand back an encrypted
 password to use with crypt()

 6) replace pw_comp() function with new vauth_crypt()
 function.

 Thta's about it.
 If no one submits patches by end of day Tuesday, I'll
 release 5.3.20 as is. The plan then is to let Bill
 Shupp finish up some things before we release a
 new 5.4.0 stable version in association with a new
 qmailadmin 1.2.0 release.

 Cheers
 Ken Jones







[vchkpw] quota is full, (maildirsize file)

2003-01-18 Thread nbari
Hi all, i have just upgrade to version 1.6.1 of courrier-imap but now all
my users are telling me that they are geting the quotawarn.msg

any idea on how to fix that ?

i have notice that deleting the maildirsize file
(~vpopmail/domain/someuser/Maildir/maildirsize) fix this, but is there a
better option to fix this ?

regards







[vchkpw] [Fwd: DOS attack]

2003-01-10 Thread nbari
First sorry  me if this messages is out of topic for some email-lists,
but if some one know a solution, please help me.

Hi was victim of a DOS attack, my server was out for about 5 hours,
services like web and email where down.

I am using round robind dns for a load balancing, but this only help for
my web services, any idea on how can i make a redundant service for web
and email services? something like mysql does with his replication
function?


I don't want to use hardware only software


regards







[vchkpw] modifing default quota

2002-12-20 Thread nbari
Hi all, how can i modify my actual default quota of 1Mb  to be 2 megas

is there a command or a way so that new users can now have 2 mb of quota
instead of 1mb, in this example ?

and by other hand, how can i change all my users to have 2Mb quota

i am using vpopmail with mysql.


regards.







[vchkpw] vpopmail bouncing problems (solution)

2002-12-16 Thread nbari
The solution that i have found is this:

make a forward to bounce.mydomain.com for example:

From the vpopmail FAQ:

--
22. How do I forward all email to a different site?

Edit the .qmail-default file and put in:

| /home/vpopmail/bin/vdelivermail '' $[EMAIL PROTECTED]
--

This will forward all non matching emails to [EMAIL PROTECTED] and will
display the correct bouncing messages if user is not found.

now on bounce.mydomain.com i only have one user.


hope this info can help some one.




Does some one has vpopmail with procmail running and getting bouncing
messages fine?

i am using a general filter for all my virtual domain users, puting on the
file .qmail-default the following line:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

filter works perfect, the problems are when bouncing a message to a sender
that has email someone that is not a valid user.

any ideas?

Regardas



BTW:

This is my actual situation, i am using vpopmail with some virtual domains
and i use procmail so users that have webmail can filter unwanted email,
for that i am using the sqblock.rc file that is a set of rules for the
squirrelmail webmail and they work fine.

on my virtual host i have

~vpopmail/domains/unixmexico.org/.qmail-default

and in that file i have:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

now, on /etc/procmailrc i have:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox


the sqblock.rc has :

--
# Location of the SquirrelMail user data files
SQDATA=/usr/local/squirrelmail/data

# Location of the user's SM Trash file ($HOME represents the user's home
dir) SQTRASH=/dev/null

# Full, absolute path of the test utility on the system
TESTPATH=/bin/test

# Full, absolute path of the formail utility on the system
FORMAILPATH=/usr/local/bin/formail

# Full, absolute path of the grep utility on the system
GREPPATH=/usr/bin/grep

# Full, absolute path of the sed utility on the system
SEDPATH=/usr/bin/sed
VERBOSE=yes
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
LOG=


:0
* ? $TESTPATH -f $SQDATA/$BLOCKLIST
{
   # Get the sender's email address
   :0h
   SENDER=|$FORMAILPATH -IReply-To: -rtzxTo:

   # Grab the domain from the sender
   DOMAIN=\*@`echo $SENDER|sed s/^.*@//`

   :0
   * 1^0 ? $GREPPATH $SENDER $SQDATA/$BLOCKLIST
   * 1^0 ? $GREPPATH $DOMAIN $SQDATA/$BLOCKLIST
   {
  DROPPRIVS=yes
  :0
  $SQTRASH
   }
}

--

now this works fine users can block unwanted email, the filter works Ok.
the problem is that if some one send an email to a user that is not on the
virtualhost, he dont get bounced back

for example if i email to [EMAIL PROTECTED] i wont get a respond from
MAILER-DAEMOND telling me that the user no_user don't exists


this is the output of my log, when sending an email to [EMAIL PROTECTED]

---
procmail: Assigning LOG=


procmail: Executing
/bin/test,-f,[EMAIL PROTECTED]
procmail: Non-zero exitcode (1) from /bin/test
procmail: No match on /bin/test -f
[EMAIL PROTECTED]
procmail: Executing
/usr/local/vpopmail/bin/vdelivermail,,bounce-no-mailbox procmail:
Program failure (100) of /usr/local/vpopmail/bin/vdelivermail procmail:
Assigning LASTFOLDER=/usr/local/vpopmail/bin/vdelivermail
bounce-no-mailboxFrom [EMAIL PROTECTED] Thu Dec 05 05:06:14 2002
 Subject: test
  Folder: **Bounced**
---


now  if i put EXITCODE=100 on the /etc/procmailrc at the end of the rules:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
EXITCODE=100

bounce works but the bounce messages has something like this:

From: [EMAIL PROTECTED]

Hi. This is the qmail-send program at ns3.unixmexico.net.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't work
out.

[EMAIL PROTECTED]:
procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


here instead of getting a message like saying NO MAILBOX FOUND. i get

procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


now, my questions are

how can i chage this bounce message, or do i have an error on my rules ?


should i use .qmail or .qmail-default under my vhost

should i use:
|preline /usr/local/bin/procmail -p -m /etc/procmailrc
or
|preline /usr/bin/procmail

how can i call or make the  line |/var/qmail/bin/bouncesaying 'Sorry, go
away' to work

what should i modify on my config o what do i am doing wrong ?
why if i just put an EXITCODE=100 bounce start working but sending
procmail lines like logs of procmail instead of a custom message.


regards







[vchkpw] vpopmail bouncing problems

2002-12-10 Thread nbari
Does some one has vpopmail with procmail running and getting bouncing
messages fine?

i am using a general filter for all my virtual domain users, puting on the
file .qmail-default the following line:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

filter works perfect, the problems are when bouncing a message to a sender
that has email someone that is not a valid user.

any ideas?

Regardas



BTW:

This is my actual situation, i am using vpopmail with some virtual domains
and i use procmail so users that have webmail can filter unwanted email,
for that i am using the sqblock.rc file that is a set of rules for the
squirrelmail webmail and they work fine.

on my virtual host i have

~vpopmail/domains/unixmexico.org/.qmail-default

and in that file i have:

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

now, on /etc/procmailrc i have:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox


the sqblock.rc has :

--
# Location of the SquirrelMail user data files
SQDATA=/usr/local/squirrelmail/data

# Location of the user's SM Trash file ($HOME represents the user's home
dir) SQTRASH=/dev/null

# Full, absolute path of the test utility on the system
TESTPATH=/bin/test

# Full, absolute path of the formail utility on the system
FORMAILPATH=/usr/local/bin/formail

# Full, absolute path of the grep utility on the system
GREPPATH=/usr/bin/grep

# Full, absolute path of the sed utility on the system
SEDPATH=/usr/bin/sed
VERBOSE=yes
LOGABSTRACT=yes
LOGFILE=/var/log/procmail.log
LOG=


:0
* ? $TESTPATH -f $SQDATA/$BLOCKLIST
{
   # Get the sender's email address
   :0h
   SENDER=|$FORMAILPATH -IReply-To: -rtzxTo:

   # Grab the domain from the sender
   DOMAIN=\*@`echo $SENDER|sed s/^.*@//`

   :0
   * 1^0 ? $GREPPATH $SENDER $SQDATA/$BLOCKLIST
   * 1^0 ? $GREPPATH $DOMAIN $SQDATA/$BLOCKLIST
   {
  DROPPRIVS=yes
  :0
  $SQTRASH
   }
}

--

now this works fine users can block unwanted email, the filter works Ok.
the problem is that if some one send an email to a user that is not on the
virtualhost, he dont get bounced back

for example if i email to [EMAIL PROTECTED] i wont get a respond from
MAILER-DAEMOND telling me that the user no_user don't exists


this is the output of my log, when sending an email to [EMAIL PROTECTED]

---
procmail: Assigning LOG=


procmail: Executing
/bin/test,-f,[EMAIL PROTECTED]
procmail: Non-zero exitcode (1) from /bin/test
procmail: No match on /bin/test -f
[EMAIL PROTECTED]
procmail: Executing
/usr/local/vpopmail/bin/vdelivermail,,bounce-no-mailbox procmail:
Program failure (100) of /usr/local/vpopmail/bin/vdelivermail procmail:
Assigning LASTFOLDER=/usr/local/vpopmail/bin/vdelivermail
bounce-no-mailboxFrom [EMAIL PROTECTED] Thu Dec 05 05:06:14 2002
 Subject: test
  Folder: **Bounced**
---


now  if i put EXITCODE=100 on the /etc/procmailrc at the end of the rules:

INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc
:0w
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox
EXITCODE=100

bounce works but the bounce messages has something like this:

From: [EMAIL PROTECTED]

Hi. This is the qmail-send program at ns3.unixmexico.net.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't work
out.

[EMAIL PROTECTED]:
procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


here instead of getting a message like saying NO MAILBOX FOUND. i get

procmail: [74056] Wed Dec  4 23:08:47 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log


now, my questions are

how can i chage this bounce message, or do i have an error on my rules ?


should i use .qmail or .qmail-default under my vhost

should i use:
|preline /usr/local/bin/procmail -p -m /etc/procmailrc
or
|preline /usr/bin/procmail

how can i call or make the  line |/var/qmail/bin/bouncesaying 'Sorry, go
away' to work

what should i modify on my config o what do i am doing wrong ?
why if i just put an EXITCODE=100 bounce start working but sending
procmail lines like logs of procmail instead of a custom message.


regards







[vchkpw] vpopmail bouncing problems with procmail

2002-12-04 Thread nbari
i am using qmail with procmail and vpopmail

i change the following line in .qmail-default or one virtual server

|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

with this one

|preline /usr/local/bin/procmail -p -m /etc/procmailrc

on my /etc/procmailrc i have:

--
INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc

:0w
:
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

--

the sqblock.rc is a set of rules (a plugin for squirrelmail webmail) that
work fine.

the problem is that i dont get bounced messages

i have notice that if i add the line: EXITCODE=100

so my code in /etc/procmailrc looks like:
--
INCLUDERC=/usr/local/squirrelmail/plugins/block_sender/sqblock.rc

:0w
:
|/usr/local/vpopmail/bin/vdelivermail '' bounce-no-mailbox

EXITCODE=100
--
i get bounce to work but it bounces some vars of the profmail log,
something like :

---
Hi. This is the qmail-send program at ns3.unixmexico.net.
I'm afraid I wasn't able to deliver your message to the following
addresses. This is a permanent error; I've given up. Sorry it didn't work
out.

[EMAIL PROTECTED]:
procmail: [61493] Wed Dec  4 13:36:07 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log

--

any ideas on how to fix or cusomaise the bounce message ?
how can i change this:

procmail: [61493] Wed Dec  4 13:36:07 2002
procmail: Assigning LOGABSTRACT=yes
procmail: Assigning LOGFILE=/var/log/procmail.log
procmail: Opening /var/log/procmail.log

for something like: sorry no mailbox with that user name for example.



regards