[vchkpw] Re: Move to new server

2004-03-15 Thread Peter Palmreuther
Hello Kit,

On Monday, March 15, 2004 at 2:45:37 AM you wrote (at least in part):

 Here is what I plan on doing:
 vadddomain each domain on the new server
 Stop qmail-smtpd on the old server
 Stop POP on the old server
 rsync domain directories from old-new
 Change DNS so new server responds on old servers name

What about

- vadddomain
- change DNS for A records pointing to new IP
- 1 * * * * /usr/local/sbin/sync_the_two

  ,- [ /usr/local/sbin/sync_the_two ]
  | #!/bin/sh
  | PATH=/var/qmail/bin:/usr/bin
  | nmails=`qmail-qstat |tr -d '[a-zA-Z0: \n]'`
  | if [ -n $nmails ]; then
  | exec rsync $PARAM
  | fi
  `-
  
this way you'll not have any downtime of your services, have no
problem with existing queue and have all mails on the new server.
The worst that can happen is somebody getting a/some mail/s twice when
- you rsync
- they first POP3 using old IP (their DNS might not have reflected the
  changes at this point)
- they POP3 again but this time use the new IP (their upstream DNS
  updated it's cache, e.g. because expire was reached).

This risk can be minimized by using '--delete' parameter for rsync,
as this should delete files not existing at $old, as long as the rsync
call is between the two POP3 sessions.

If you care to much about twice fetched messages stop SMTP and POP3
/after/ you changed DNS and before you rsync first time, this'll keep
outage at a minimum. Nevertheless rsync regularly, moving the queue
over can be a PITA as qmail is quiet picky about the queue structure.
A minimum of difference between the two systems and the queue might be
corrupted.
-- 
Best regards
Peter Palmreuther

To a dog his owner is Napoleon; hence their popularity.



[vchkpw] vpopmail 5.0 through webmail users can not change their password

2004-03-15 Thread zgr zaslan \(Listeler\)

Bu e-posta RAV Antivirus yazilimi ile virus taramasindan gecirilmistir.
ITU Insaat Fakultesi Bilgi Islem Merkezi
http://www.ifbim.itu.edu.tr
---
This e-mail was checked by RAV Antivirus Software.
ITU Civil Engineering Faculty Computer Center
http://www.ifbim.itu.edu.tr

[vchkpw] reinstall of vpopmail

2004-03-15 Thread Chris
I had to reinstall vpopmail 5.2.1 and now I am having various problems with
my setup.  I can log in to existing mailboxes and most of them get mail.
Some of them don't though.  If I erase and recreate them they work again.

However, forwards are not at all working anymore.  I can create them, but
they don't appear, and worse, old ones do not work and the mail is not
bounce, but blackholed somewhere.

Any advice, this is a big problem here...

I'm using vpopmail with mysql

Thanks

Chris



[vchkpw] dial-up authorization with vpopmail

2004-03-15 Thread tonix (Antonio Nati)
Is there anyone using vpopmail as backend for a dial-up authorization system?

Any tip/suggestion on which could be the easiest way to configure a RAS 
server asking to a vpopmail backend?

I'm evaluating freeradius, thinking to let it use the vpopmail MySQL 
tables, but I'ld like not to be tied to MySQL, as I'll probably migrate to 
LDAP; so I'm wondering if anyone has ever developed some custom code for 
vpopmail.

Thanks for any suggestion.

Tonino


[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]



Re: [vchkpw] dial-up authorization with vpopmail

2004-03-15 Thread isp
How about a cron'd script to extract from your MySQL/LDAP to populate
FreeRadius's user tables?


 Is there anyone using vpopmail as backend for a dial-up authorization
 system?

 Any tip/suggestion on which could be the easiest way to configure a RAS
 server asking to a vpopmail backend?

 I'm evaluating freeradius, thinking to let it use the vpopmail MySQL
 tables, but I'ld like not to be tied to MySQL, as I'll probably migrate to
 LDAP; so I'm wondering if anyone has ever developed some custom code for
 vpopmail.

 Thanks for any suggestion.

 Tonino


 
  [EMAIL PROTECTED]Interazioni di Antonio Nati
 http://www.interazioni.it  [EMAIL PROTECTED]
 





RE: [vchkpw] reinstall of vpopmail

2004-03-15 Thread Chris
I'm sorry, this is resolved.  I had a DNS issue so the mail was not
forwarding properly.  Thanks anyway though.

Chris

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 8:53 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] reinstall of vpopmail


I had to reinstall vpopmail 5.2.1 and now I am having various problems with
my setup.  I can log in to existing mailboxes and most of them get mail.
Some of them don't though.  If I erase and recreate them they work again.

However, forwards are not at all working anymore.  I can create them, but
they don't appear, and worse, old ones do not work and the mail is not
bounce, but blackholed somewhere.

Any advice, this is a big problem here...

I'm using vpopmail with mysql

Thanks

Chris




Re: [vchkpw] Using qmail-smtp-auth with vchkpw

2004-03-15 Thread Markus Schmitt
 
Hi!

I am running netqmail-1.05 + vpopmail 5.4.3 + qmail-scanner 1.20st +
SpamAssassin + Clamuko (ClamAV) + QmailAdmin.

I patched netqmail with the Patch
'netqmail-1.05-tls-smtpauth-20040207.patch' to get ESTMP functions.


Is there a better way to do this? 

AFAIK, you must run qmail-smtpd as the vpopmail user, see below for what
works for me.


Now my Problem is that if i change uid / gid to vpopmail i get a 451
tempory qq failed. So it tried with changing permissions of vchkpw and
using Qmail's uid/gid or also qscan uid/qid.

Now i could not authenticate with correct username / password through client
(SMTP). Webmail (SqWebmail) works fine.
POP3 works also fine.
In the log files (smtpd/log or qmail/log or mail) i can't find any entry
correspondending to vchkpw-smtp...

I tried for almost a whole week to find anything in faq or google... Without
success :( Any Ideas what i can do more?

Thanks!

M. Schmitt


My: /var/qmail/supervise/qmail-smtpd/run


#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
#VPOPMAILUID=`id -u vpopmail`
#VCHKPWGID=`id -g vpopmail`
#QSCANUID=`id -u qscand`
#QSCANGID=`id -g qscand`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTPD listener because it would create an Open
Relay!
exit 1
fi

QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl 
export QMAILQUEUE 

exec/usr/local/bin/softlimit -m 3000 \
/usr/local/bin/tcpserver -D -R -H -v -l $LOCAL -x /etc/tcp.smtp.cdb -p
-c $MAXSMTPD \
-u $QMAILUID -g $NOFILESGID 0 smtp \
/usr/local/bin/recordio  /var/qmail/bin/qmail-smtpd
mail.rotkreuz-kv-konstanz.de \ 
/home/vpopmail/bin/vchkpw /bin/true 21 #EOF



[vchkpw] Weird problems

2004-03-15 Thread Chris
I reinstalled vpopmail 5.2.1 and now I am having some problems with
qmailadmin and sqwebmail.  Qmailadmin (1.0.6) will add email accounts, but
cannot add alias/forwards.  It appears that it works, but the forwards don't
appear.

Additionally, sqwebmail does not work properly.  Users log in and in the
upper right, they see [EMAIL PROTECTED] instead of their correct
domain name.  They can see their messages, but cannot delete/move them.
However, some users do see their correct [EMAIL PROTECTED].  Those users
can use their mail normally.  I can find no rhyme or reason to who can and
can't do this.  If I erase their account and recreate it, the problem goes
away.

Thanks,


Chris



Re: [vchkpw] spamassassin features added to cvs version

2004-03-15 Thread X-Istence
Ken wrote:
On Sunday 14 March 2004 6:42 pm, X-Istence wrote:

snip
-gx enable automatically deleting email marked as spam
Do we get to set the limit? Like i prefer to not delete anything over 4,
but delete anyting higher than 8. If we delete anything marked as spam,
it would delete at level 4, which is not what i would like, as i have
one or two messages daily that are from family and friends that are at
that level, but i cant whitelist them all one by one. Anything over 8
would really be spam, and i could care less about them.


You could always whitelist_from email from family and friends
then delete everything over 4. That's what I do. Seems to
work really well. We are going to start integrating control
over the user_prefs file into qmailadmin, so you could 
manage your whitelist_from lists.

Thats exactly what i had hoped to avoid, i have a lot of family and 
friends, and adding them one by one, and then email adress changes is 
kind of hard. I will look into adding a patch to put the double check in 
place, so that it has the functions that i am looking for, and allows 
them to be turned on and off at will, also specifying a limit.

snip

X-Istence


[vchkpw] spamassassin and vpopmail

2004-03-15 Thread master
Hi, i wonder if someone has already making work the subject_rewrite ?
i have put it in my conf local.cf but it doesn t seem to care at all,
spamassassin is launch like that :
 /usr/local/bin/spamd -x -u spamd -c -v -m 20 -H /home/spamd -d

i wondered if i miss something in vpopmail ? (like users_pref but i don t
know where to put them) or anything else?
thanks



Re: [vchkpw] Weird problems

2004-03-15 Thread Rick Widmer


Chris wrote:

I reinstalled vpopmail 5.2.1 and now I am having some problems with
qmailadmin and sqwebmail.  Qmailadmin (1.0.6) will add email accounts, but
cannot add alias/forwards.  It appears that it works, but the forwards don't
appear.
Additionally, sqwebmail does not work properly.  Users log in and in the
upper right, they see [EMAIL PROTECTED] instead of their correct
domain name.  They can see their messages, but cannot delete/move them.
However, some users do see their correct [EMAIL PROTECTED].  Those users
can use their mail normally.  I can find no rhyme or reason to who can and
can't do this.  If I erase their account and recreate it, the problem goes
away.
Did you re-compile qmailadmin and sqwebmail?

They both link in the vpopmail code when they are created.  All programs 
using vpommail libraries must be recompiled when it is.

Rick



[vchkpw] Trash folder not counted for quotas

2004-03-15 Thread Alex Borges
Ok, here is a couple of excerpts from the maildirquota.c file:

800:  if ( *subdir != '.' || strcmp(subdir, .) == 0 ||
801:strcmp(subdir, ..) == 0 || strcmp(subdir, .Trash) == 0)


836: if ( *subdir != '.' || strcmp(subdir, .) == 0 ||
  strcmp(subdir, ..) == 0 || strcmp(subdir, .Trash) == 0)
  return (0);


And well... i want to know if i can remove Trash from this exclusion
please, pretty please.

Yes, of course i can also change the name of my trash folder in my app,
i just dont want to...

Is there any reason why the folder named .Trash is not included in quota
accounting? Is that part of tyhe maildir++ spec or what?




[vchkpw] change the dir_control schema

2004-03-15 Thread Juan Enciso CondeƱa
Hello guys:

In this moment I have 150k users into a domain. These users are using 100GB
mail storage allocated in one partition /data/mail/domain.com. My arrays of
disk is full and I need create another partition

I need create a new partition /data1 and have this schema:
/data/mail/domain.com/-- for old users
/data1/mail/domain.com/-- form new users

How can I setup the dir_control table for that it begin create the new users
into another partition?
Is it posible?

Thanks for your response me.