[vchkpw] Filesystems suggestions?

2003-06-08 Thread Remo Mattei
Any one has any suggestions on linux with xfs, reiserfs or ext3.
I just would like some fee back on people using xfs and reiserfs since I
have used ext3 for the last 4 years now :)


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer & Firewall Development
   [EMAIL PROTECTED]




[vchkpw] quotawarn file -- what does it do?

2003-06-08 Thread Moshe Jacobson
I have noticed that when a user gets a nearing-quota warning (from
.quotawarn.msg), that a file called quotawarn is created in their
maildir. However, when they go back in and delete all their messages,
the quotawarn file remains there.  Is this behavior correct?  What
purpose does this file serve?  Does it ever get deleted again?

Thanks,
Moshe

-- 
Moshe Jacobson 
http://runslinux.net 
AIM: Jehsom




Re: [vchkpw] Bug in vconvert?

2003-06-08 Thread Remo Mattei
Looks fine to me :0


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer & Firewall Development
   [EMAIL PROTECTED]


> From: "Jonas Thomsen" <[EMAIL PROTECTED]>
> Organization: JT-COM
> Date: Sun, 8 Jun 2003 18:16:17 +0200
> To: <[EMAIL PROTECTED]>
> Subject: [vchkpw] Bug in vconvert?
> 
> Hi all!
> 
> I've just migrated from vpopmail 5.2.1 using CDB to vpopmail 5.3.20
> using MySql. During this migration I discovered a small bug in vconvert.
> When running 'vconvert -c -m', vconvert reads the
> /var/qmail/users/assign file, which on my system ends with a line
> containing a ".\n" When vconvert reaches this line, the check for
> tmpbuf[1] != '\n' in line 120 fails, but this does not stop the next
> line (conv_domain( &tmpbuf[1] )) from being executed. Of course this
> does not work - it tries to convert a domain called "\n". My fix is the
> following code:
> 
> if ( tmpbuf[1] != '\n' ) {
>  printf("converting %s ...", &tmpbuf[1] );
>   if ( conv_domain( &tmpbuf[1] ) != 0 ) {
>   printf("domain conversion failed\n");
>   } else {
>   printf("done\n");
>   }
> }
> 
> Is there a problem with this fix?
> 
> 
> 
> Kind regards
> 
> Jonas Thomsen,
> JT-COM
> Eugen Warmings Vej 37, 1. th. - DK-8000 Aarhus C.
> Tlf. +45 87 30 16 10 - Fax: +45 87 30 16 11
> http://www.jt-com.dk
> 
> 
> 
> 



[vchkpw] Making clear passwd work after upgrade

2003-06-08 Thread Lou Hevly
Greetings:

I have recently upgraded from vpopmail-4.9.10 to vpopmail-5.2.1.  
I configured with the clear passwd option, but notice that it won't 
work with accounts created under 4.9.10 (works fine with new accounts):

$ vuserinfo [EMAIL PROTECTED]
name:   lou
passwd: v52/wEzhdSDH2
clear passwd:
uid:1
gid:0
etc.

Is there any way to convert the passwords of old vpopmail accounts 
so that they are readable by the new vuserinfo?

Thanks.
-- 
Lou Hevly
Manresa, Catalonia
http://visca.com




Re: [vchkpw] Question on 553 error

2003-06-08 Thread Remo Mattei
This user is not even on my box :)
She is just sending message to one of my client which is on this box :)
Thanks and I am open for more suggestions ..
-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer & Firewall Development
   [EMAIL PROTECTED]


> From: "David Hubbard" <[EMAIL PROTECTED]>
> Date: Sat, 7 Jun 2003 20:11:44 -0400
> To: <[EMAIL PROTECTED]>
> Subject: RE: [vchkpw] Question on 553 error
> 
> That's an error from the SMTP server; unless you have
> smtp auth or something like that built into it, vpopmail
> would not be involved.
> 
> David
> 
> -Original Message-
> From: Remo Mattei [mailto:[EMAIL PROTECTED]
> Sent: Sat 6/7/2003 7:31 PM
> To: '[EMAIL PROTECTED]'
> Cc: 
> Subject: [vchkpw] Question on 553 error
> 
> 
> 
> Hi guys can someone give me more info on why someone that is trying to send
> a message to me gets this error?
> 
> 553 sorry, your envelope sender has been denied
> 
> 
> I am almost positive that her email client is not setup  correctly Any
> fee back are welcomed.
> Thanks,
> 
> 
> -- Remo Mattei   --cell 801-209-8554
>   http://www.italy1.com
>   Freelance Networking-Security/Consultant
>   MCSE, MCP, MCP+I, MCT
>   Linux Trainer & Firewall Development
>   [EMAIL PROTECTED]
>   
> 
> 
> 
> 



Re: [vchkpw] Making clear passwd work after upgrade

2003-06-08 Thread Vladimir Kabanov
in short: no,
you have to ask users to change their passwords, if they want to use apop or
cram-md5 auth methods

best,
Vladimir Kabanov.

- Original Message - 
From: "Lou Hevly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 10:35 PM
Subject: [vchkpw] Making clear passwd work after upgrade


> Greetings:
>
> I have recently upgraded from vpopmail-4.9.10 to vpopmail-5.2.1.
> I configured with the clear passwd option, but notice that it won't
> work with accounts created under 4.9.10 (works fine with new accounts):
>
> $ vuserinfo [EMAIL PROTECTED]
> name:   lou
> passwd: v52/wEzhdSDH2
> clear passwd:
> uid:1
> gid:0
> etc.
>
> Is there any way to convert the passwords of old vpopmail accounts
> so that they are readable by the new vuserinfo?
>
> Thanks.
> -- 
> Lou Hevly
> Manresa, Catalonia
> http://visca.com
>
>
>




[vchkpw] Setting up domains

2003-06-08 Thread John Morrow








I have the following setup using qmail 1.03, vpopmail 5.3.20

 Machine name: Linux1.clanmorrow.com

 Smtp:  smtp.clanmorrow.com

 Pop3:  pop3.clanmorrow.com

 

Everything work so far, I can send mail out to the internet
and receive mail. What I

I would like to be able to receive mail addressed to [EMAIL PROTECTED] and 

[EMAIL PROTECTED]
to the same maildir.  If I send to [EMAIL PROTECTED]

the mail get caught in the queue.

I can do this with Imail from IPSwitch by making an alias
pointing to both names.

Could someone please help me in solving this problem.

 

John Morrow








[vchkpw] Question on 553 error

2003-06-08 Thread Remo Mattei
Hi guys can someone give me more info on why someone that is trying to send
a message to me gets this error?

 553 sorry, your envelope sender has been denied


I am almost positive that her email client is not setup  correctly Any
fee back are welcomed.
Thanks, 


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer & Firewall Development
   [EMAIL PROTECTED]




[vchkpw] Bug in vconvert?

2003-06-08 Thread Jonas Thomsen
Hi all!

I've just migrated from vpopmail 5.2.1 using CDB to vpopmail 5.3.20
using MySql. During this migration I discovered a small bug in vconvert.
When running 'vconvert -c -m', vconvert reads the
/var/qmail/users/assign file, which on my system ends with a line
containing a ".\n" When vconvert reaches this line, the check for
tmpbuf[1] != '\n' in line 120 fails, but this does not stop the next
line (conv_domain( &tmpbuf[1] )) from being executed. Of course this
does not work - it tries to convert a domain called "\n". My fix is the
following code:

if ( tmpbuf[1] != '\n' ) {
  printf("converting %s ...", &tmpbuf[1] );
if ( conv_domain( &tmpbuf[1] ) != 0 ) {
printf("domain conversion failed\n");
} else {
printf("done\n");
}
}

Is there a problem with this fix?



Kind regards

Jonas Thomsen,
JT-COM
Eugen Warmings Vej 37, 1. th. - DK-8000 Aarhus C.
Tlf. +45 87 30 16 10 - Fax: +45 87 30 16 11
http://www.jt-com.dk 





Re: [vchkpw] Setting up domains

2003-06-08 Thread Rick Macdougall
Hi,

vaddaliasdomain smtp.clanmorrow.com clanmorrow.com

Regards,

Rick

John Morrow wrote:

I have the following setup using qmail 1.03, vpopmail 5.3.20

 Machine name: Linux1.clanmorrow.com

 Smtp:  smtp.clanmorrow.com

 Pop3:  pop3.clanmorrow.com

 

Everything work so far, I can send mail out to the internet and receive 
mail. What I

I would like to be able to receive mail addressed to 
[EMAIL PROTECTED]  and

[EMAIL PROTECTED]  to the 
same maildir.  If I send to [EMAIL PROTECTED] 


the mail get caught in the queue.

I can do this with Imail from IPSwitch by making an alias pointing to 
both names.

Could someone please help me in solving this problem.

 

John Morrow





RE: [vchkpw] Setting up domains

2003-06-08 Thread John Morrow
Thanks it worked, I miss the simple things and look for the complicated.

John

> -Original Message-
> From: Rick Macdougall [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 07, 2003 8:35 AM
> To: John Morrow
> Cc: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Setting up domains
> 
> Hi,
> 
> vaddaliasdomain smtp.clanmorrow.com clanmorrow.com
> 
> Regards,
> 
> Rick
> 





RE: [vchkpw] Question on 553 error

2003-06-08 Thread David Hubbard
If you search google for the error message you're wondering
about, the second match is the third-party patch that
is causing your qmail to produce the message.  

David

> -Original Message-
> From: Remo Mattei [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, June 07, 2003 9:47 PM
> To: David Hubbard; [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Question on 553 error
> 
> 
> This user is not even on my box :)
> She is just sending message to one of my client which is on 
> this box :) Thanks and I am open for more suggestions ..
> -- Remo Mattei   --cell 801-209-8554
>http://www.italy1.com
>Freelance Networking-Security/Consultant
>MCSE, MCP, MCP+I, MCT
>Linux Trainer & Firewall Development
>[EMAIL PROTECTED]
> 
> 
> > From: "David Hubbard" <[EMAIL PROTECTED]>
> > Date: Sat, 7 Jun 2003 20:11:44 -0400
> > To: <[EMAIL PROTECTED]>
> > Subject: RE: [vchkpw] Question on 553 error
> > 
> > That's an error from the SMTP server; unless you have
> > smtp auth or something like that built into it, vpopmail 
> would not be 
> > involved.
> > 
> > David
> > 
> > -Original Message-
> > From: Remo Mattei [mailto:[EMAIL PROTECTED]
> > Sent: Sat 6/7/2003 7:31 PM
> > To: '[EMAIL PROTECTED]'
> > Cc:
> > Subject: [vchkpw] Question on 553 error
> > 
> > 
> > 
> > Hi guys can someone give me more info on why someone that 
> is trying to 
> > send a message to me gets this error?
> > 
> > 553 sorry, your envelope sender has been denied
> > 
> > 
> > I am almost positive that her email client is not setup  
> correctly 
> > Any fee back are welcomed. Thanks,
> > 
> > 
> > -- Remo Mattei   --cell 801-209-8554
> >   http://www.italy1.com
> >   Freelance Networking-Security/Consultant
> >   MCSE, MCP, MCP+I, MCT
> >   Linux Trainer & Firewall Development
> >   [EMAIL PROTECTED]
> >   
> > 
> > 
> > 
> > 
> 



RE: [vchkpw] Question on 553 error

2003-06-08 Thread David Hubbard
That's an error from the SMTP server; unless you have
smtp auth or something like that built into it, vpopmail
would not be involved.
 
David

-Original Message- 
From: Remo Mattei [mailto:[EMAIL PROTECTED] 
Sent: Sat 6/7/2003 7:31 PM 
To: '[EMAIL PROTECTED]' 
Cc: 
Subject: [vchkpw] Question on 553 error 



Hi guys can someone give me more info on why someone that is trying to send
a message to me gets this error?

 553 sorry, your envelope sender has been denied


I am almost positive that her email client is not setup  correctly Any
fee back are welcomed.
Thanks,


-- Remo Mattei   --cell 801-209-8554
   http://www.italy1.com
   Freelance Networking-Security/Consultant
   MCSE, MCP, MCP+I, MCT
   Linux Trainer & Firewall Development
   [EMAIL PROTECTED]
   






[vchkpw] vpopmail, maildrop, and exitcodes

2003-06-08 Thread Clayton Weise
I'm having a strange issue with vpopmail and maildrop.  I'm running a spam
scanner called spamprobe.  Attached is the maildrop filter itself, and my
qmail-default file looks like this (all one line):

| /var/qmail/bin/preline /usr/local/bin/maildrop
/var/vpopmail/etc/maildroprc-spamprobe

The problem I'm running into happens after a message has been marked as
spam.  Basically, the jist of the filter is that if the message is larger
than 262144 bytes it is scanned.  If a message is scanned and marked as
spam, it's delivered to a .SPAM folder inside their Maildir which is then
readable via IMAP.  But, the problem I'm encountering is when a message is
marked as spam and to an invalid recipient, it goes to deliver to the .SPAM
directory of a user that doesn't exist.  When maildrop has a problem
delivering it exits with a EX_TEMPFAIL, which puts the message back in queue
for delivery later.  The message just sits in queue until finally qmail
bounces back saying it's been in queue too long.

To try and combat this problem, I had maildrop run a test to make sure that
the ~vpopmail/domains/iswest.net/user/Maildir existed, and if it didn't to
pipe the message to vdelivermail and exit.  This is where the weirdness
comes in.  Sometimes, and I can't figure out how to reproduce it, vpopmail
exits back to maildrop with a 0 error code so maildrop considers the message
delivered and it bounces back to the sender with the "no mailbox here by
that name" error.  Other times though, I get this in my log files:


@40003ee220592b6202ac status: local 6/10 remote 1/120
@40003ee220592b6788bc delivery 1708886: deferral:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writi
ng_to_mailbox.//usr/local/bin/maildrop:_Unable_to_deliver_to_mailbox./
@40003ee220592c32432c status: local 5/10 remote 1/120
@40003ee220592c3275f4 delivery 170: deferral:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writi
ng_to_mailbox.//usr/local/bin/maildrop:_Unable_to_deliver_to_mailbox./
@40003ee220592c32bc44 status: local 4/10 remote 1/120
@40003ee220592c32df6c delivery 1708889: deferral:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/maildrop:_error_writi
ng_to_mailbox.//usr/local/bin/maildrop:_Unable_to_deliver_to_mailbox./

I've had this same problem with vpopmail 5.3.8 and I just tried upgrading to
5.3.20 this morning but I still see the same things in the log files.  I am
not able to reproduce this myself, so I have no idea exactly why it happens,
but any input on this would be greatly appreciated.
##
mailfilter
##
import EXT
import HOST
import HOME
VHOME=`/var/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
VPOP="| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox"

# messages larger than X bytes are not scanned
if ($SIZE < 262144)
{
# message is scored and automatically added to the filter
#SCORE=`/usr/local/bin/spamprobe -d /var/spool/spamprobe -s 500 receive`

# message is scored but not added to the filter
SCORE=`/usr/local/bin/spamprobe -d /var/spool/spamprobe -s 500 score`

# header added to the email based defining it's score
xfilter "/usr/local/bin/reformail -i 'X-SpamProbe: $SCORE'"
}

# if the score is marked as "SPAM" it is delivered to a .SPAM dir
if ((/^X-SpamProbe: SPAM/:h))
{

   # check to see if user even exists, if not, send to vpopmail to boucne it
   `test -d $VHOME/Maildir/`
   if( $RETURNCODE == 1)
   {
   to "$VPOP"
   }

   # make sure the Maildir/.SPAM dir exists, if not, create it
   USER="vpopmail"
   GROUP="vchkpw"
   `test -d $VHOME/Maildir/.SPAM`
   if( $RETURNCODE == 1 )
   {
   `/usr/local/bin/maildirmake $VHOME/Maildir/.SPAM ; /usr/sbin/chown -R $USER:$GROUP 
$VHOME/Maildir/.SPAM`
   }

   # deliver spam to Maildir/.SPAM dir
   to "$VHOME/Maildir/.SPAM/"

   # find old spams and delete them
   `find $VHOME/Maildir/.SPAM -type f -mtime +7 -delete`
}

# everything else delivered normally
to "$VPOP"

Re: [vchkpw] MySQL registration from vpopmail

2003-06-08 Thread Toyoda Yasuyuki
Hello, Eduardo
(B
(B> say me, do you resolv the problem?
(B
(BYour clock is returned correct.
(BYour clock is No Problem.
(B
(B> send me address to NetworkTimeProtcol SERVER.
(B
(Bhttp://www.eecis.udel.edu/~mills/ntp/clock1a.html
(BIn the above URL,
(BYou can select ntp public server near your country.
(B
(B> do you have a web page, my web site is www.enzolutions.com, it's only in
(B> spanish sorry.
(B> see you later.
(B
(BSorry, I have no my web site.
(BBut, There is my company's web site.
(Bif you like, please refer my company's web site. the following,
(Bhttp://www.roadmap.co.jp/index_e.html
(B
(BRegards.
(BYasuyuki Toyoda
(B;-)