Re: [vchkpw] Spam Protection with vpopmail and qmail

2003-06-27 Thread Tom Collins
On Thursday, June 26, 2003, at 01:23  PM, Jeff Garvas wrote:
I highly suggest installing qmail-scanner and reading the howto for 
using
spam assassin with it.
I don't like the overhead of qmail-scanner, so I'm just using 
qmail-spamc as a replacement for qmail-queue.  Take a look at the qmail 
directory of SpamAssassin for the source to qmail-spamc and 
instructions on how to use it.

--
Tom Collins
[EMAIL PROTECTED]



RE: [vchkpw] Spam Protection with vpopmail and qmail

2003-06-27 Thread Cream[DONut]
Jeff,

That sounds very interesting in regards to a project im currently working 
on, do you know if it would be possible to setup with smtproutes:

1. if it find virus in a mail, instead of relaying to original 
[EMAIL PROTECTED], it transfers it to another server/domain/account 
(fx. setup a vpopmail account on the relay server called [EMAIL PROTECTED])
2. same as above, just for spam mails instead (spamassasin score >= 5) and 
to [EMAIL PROTECTED]

3. if you just relay & scan why dont you use Messagewall?

4. OT: does anyone know if ClamAV works with Squid? (viruscanning http 
transfers)

Regards
Cream
At 16:23 26-06-2003 -0400, you wrote:

Gonzo,

I highly suggest installing qmail-scanner and reading the howto for using
spam assassin with it.
It works perfect.  You scan mail prior to the queue stage, and if you
configure it right, everything is hidden in the headers.  I scan it this way
for over 5000 people and most of them don't even realize its hidden in the
headers.
This also lets you do it on a separate machine, so if you want to hand it
off to a machine with /var/qmail/control/smtproutes you can.
qmail-scanner is not as hard to setup as it appears.  It requires the
QMAILQUEUE patch.
-jeff

> -Original Message-
> From: Gonzo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2003 4:09 PM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] Spam Protection with vpopmail and qmail
>
>
> Hello.
>
> I have qmail with vpopmail installed.
> I don't know how to filter out spam mails.
> SpamAssassin seems to not support virtual domains and even if it would
> support them, how to tell procmail to filter mails for vpopmail?
>
> Gonzo
>
>
Cream[DONut] - www.donut.dk
www.nethouse2000.dk - admin



Re: [vchkpw] aliases

2003-06-27 Thread Peter Palmreuther
Hi Francesco,

On Thu, 26 Jun 2003 12:32:42 +0200 Francesco Messere wrote:

> I done it, got qmail restart-command , 
 ^
 Why?

> and set an alias for root, 

How?

> but when i send a mail to it I get this error here is qmail log
> 
> 
> @40003efa9b001bb2c83c info msg 263648: bytes 635 from
> <[EMAIL PROTECTED]> qp 2072 uid 50
> 8
> @40003efa9b0022f4c8ac starting delivery 1: msg 263648 to local
> [EMAIL PROTECTED]
> @40003efa9b0022f53ddc status: local 1/10 remote 0/20
> @40003efa9b00261296f4 delivery 1: failure:
> Sorry,_no_mailbox_here_by_that_name._vpopmail
> _(#5.1.1)/

Obviously fastforward wasn't able to lookup the alias and find a forward
rules, else vpopmail wouldn't have been invoked.
So obviously you've set up the alias in a wrong way.

Why don't you simly stick with dot-qmail files in
~vpopmail/domains/ as intended unless you _know_ what you're
doing?

I don't see a single advantage in what you're trying to do over simply
putting

&[EMAIL PROTECTED]

into ~vpopmail/domains/test.com/.qmail-root

This way qmail-local already handles delivery, no additional program is
invoked -> no fork()'s, spawn()'s or exec()'s, more foolproof than
fastforward+vdelivermail, easier to maintain (via qmailadmin).

So either get a clue about how qmail works and you'll find out how to
invoke fastforward (albeit unnecessary and superfluous) or stick with
native qmail-local+vpopmail+qmailadmin solution.

P.S.: Top posting (answer above question) is the most efficient way of
  _not_ getting many answers. Think about it 
P.P.S.: No, using Outlook is no excuse for this. Only because this is default
  in Lookout this doesn't make it better (readable).
P.P.P.S.: A reply indicator of only 'R' isntead of 'Re' is uncommon and might
  destroy threading and "this is an answer" detection in some MUAs,
  especially if "References" headers are stripped as well. Try to get used
  to using 'Re' as zillion of other people too; makes life easier for all
  of us.
-- 
Ciao,
 Pit



Re: [vchkpw] maildirsize + vpopmail

2003-06-27 Thread Kenneth Ling
hi doods,
i have another question that. if I set the quota 50MB then later
change to 100MB . why it  still keep 50MB quota...ever I receive a new
mail...( i send a new email to myself )

tq

DOODS wrote:

> Yup. It is automatically modified. Good to hear it worked.
>
> Warm Regards,
> DOODS
>
> > TQ
> > it work...
> > it is mean once receive mail it will recalculate and generate
> > the
> > maildirsize ??
> >
> > tq
> >
> > DOODS wrote:
> >
> >> Try sending an email to that account and it will be
> >> automatically updated. Don't edit it manually.
> >>
> >> Warm Regards,
> >> DOODS
> >>
> >> > hi,
> >> > when I do vsetuserquota under vpopmail..
> >> > why the maildirsize in Maildir still remain unchange ?
> >> >
> >> > tq
> >> >
> >> > --
> >> > Regards
> >> >   Kenneth Ling
> >> >   ranhill engineers and constructors sdn bhd
> >> >
> >> >
> >> >
> >> >
> >>
> >> -
> >> Webmail service provided by GlobeLines.
> >> Visit us at http://www.glinesnx.com.ph.
> >
> > --
> > Regards
> >   Kenneth Ling
> >   ranhill engineers and constructors sdn bhd
> >
> >
> >
> >
>
> -
> Webmail service provided by GlobeLines.
> Visit us at http://www.glinesnx.com.ph.

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd





Re: [vchkpw] maildirsize + vpopmail

2003-06-27 Thread Kenneth Ling
I try on vqadmin

Kenneth Ling wrote:

> hi doods,
> i have another question that. if I set the quota 50MB then later
> change to 100MB . why it  still keep 50MB quota...ever I receive a new
> mail...( i send a new email to myself )
>
> tq
>
> DOODS wrote:
>
> > Yup. It is automatically modified. Good to hear it worked.
> >
> > Warm Regards,
> > DOODS
> >
> > > TQ
> > > it work...
> > > it is mean once receive mail it will recalculate and generate
> > > the
> > > maildirsize ??
> > >
> > > tq
> > >
> > > DOODS wrote:
> > >
> > >> Try sending an email to that account and it will be
> > >> automatically updated. Don't edit it manually.
> > >>
> > >> Warm Regards,
> > >> DOODS
> > >>
> > >> > hi,
> > >> > when I do vsetuserquota under vpopmail..
> > >> > why the maildirsize in Maildir still remain unchange ?
> > >> >
> > >> > tq
> > >> >
> > >> > --
> > >> > Regards
> > >> >   Kenneth Ling
> > >> >   ranhill engineers and constructors sdn bhd
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> > >> -
> > >> Webmail service provided by GlobeLines.
> > >> Visit us at http://www.glinesnx.com.ph.
> > >
> > > --
> > > Regards
> > >   Kenneth Ling
> > >   ranhill engineers and constructors sdn bhd
> > >
> > >
> > >
> > >
> >
> > -
> > Webmail service provided by GlobeLines.
> > Visit us at http://www.glinesnx.com.ph.
>
> --
> Regards
>   Kenneth Ling
>   ranhill engineers and constructors sdn bhd

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd





Re: [vchkpw] Corrupted Delivered-To header?

2003-06-27 Thread Doug Clements
On Thu, Jun 26, 2003 at 03:08:47AM +0100, Robin Szemeti wrote:
> On Thursday 26 June 2003 02:41, Doug Clements wrote:
> > Greetings,
> > We're getting a report of a bogus Delivered-To header from one of
> > our customers. Apparently, Exchange relies on this in some way.
> 
> it shouldn't.

I agree  :)

> The header lines are not normally used in mail routing.  exchange *should* be 
> using the smtp envelope (ie the "RCPT [EMAIL PROTECTED]" that is 
> passed in the SMTP exchange) to route the message, rather than information in 
> a message header, which is purely for post-event audit purposes.

They're retrieving the mail via POP after it's been delivered to our mail system, so 
there's no RCPT for them to use, unfortunately.

> sadly I don't know of a 'fix' ... but there may be one ...  I suspect this is 
> a qmail issue rather than a vchkpw issue,( although really, all its doing is 

Well, the problem started when I moved from using a .qmail file for each user (which 
was calling Maildrop to deliver mail) to using vdelivermail. So I was pretty sure it 
had something to do with vpopmail..

Thanks for your input! I'll see if they can alias systems.com on their side while I 
try to figure out a better way to generate a Delivered-To header..

--Doug



Re: [vchkpw] Spam Protection with vpopmail and qmail

2003-06-27 Thread Cream[DONut]
Nice, that looks like a very nice toaster (so nice im going to dedicate a 
machine to testing it out), only 2 comments

1. when installing SpamAssasin you should always install Razor2 first 
(spamassasin will automaticaly use it, and razor is great for those clever 
spammers that uses tricks) 
http://razor.sourceforge.net

2. its a pretty old file, a few of the titles have new versions out, so you 
should check every site before downloading.

Cream

At 17:57 26-06-2003 -0400, you wrote:
I have not tried the full implementation of SA yet with my domains as I am
on a temp test of seeing how much mail actually gets tagged as spam, and so
far I am impressed .. it is only missing 1 out of every 30 or so, but if you
go here ...
http://www.jerfu.com/toaster/FullToaster_1.0.6.html

there is instructions on how to edit vopmail, and create the sorting script.

Regards,
Rob G
[EMAIL PROTECTED]
Cream[DONut] - www.donut.dk
www.nethouse2000.dk - admin



[vchkpw] Return usage problem

2003-06-27 Thread David du SERRE-TELMON
Hi,

I've got problems with some users mailboxs.
usage give by vuserinfo command return a different value than real folder
size (du).

Here, folder have a size of 1.9 Mo.
vuserinfo return than 80% of the mailbox is use, the quota is 20 Mo.


[EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo
[EMAIL PROTECTED]
name:   cyril.lefevre
passwd: $1$E0dEN$HkBIWFsNHE7Ek1jxatPvX/
clear passwd: x
uid:1
gid:4096
has qmailadmin administrator privileges
dir:   /home/vpopmail/domains/mydomain.com/cyril.lefevre
quota: 2000
usage: 80%
last auth: Fri Jun 27 07:58:26 2003
last auth ip: 192.168.0.16

[EMAIL PROTECTED] Maildir]# du -hs
/home/vpopmail/domains/myadomain.com/cyril.lefevre
1.9M/home/vpopmail/domains/mydomain.com/cyril.lefevre

I think there is a problem in maildirsize file. Can I delete it ? Or how can
I build a new one ?

Regards





Re: [vchkpw] Return usage problem

2003-06-27 Thread David du SERRE-TELMON
I answer to my own problem :
I've remove the maildirsize, and do vuserinfo on mailbox user which have
rebuild the file.

Someone can say me if it's normal ? Can I avoid that ?

David

- Original Message - 
From: "David du SERRE-TELMON" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 2:26 PM
Subject: [vchkpw] Return usage problem


> Hi,
>
> I've got problems with some users mailboxs.
> usage give by vuserinfo command return a different value than real folder
> size (du).
>
> Here, folder have a size of 1.9 Mo.
> vuserinfo return than 80% of the mailbox is use, the quota is 20 Mo.
>
>
> [EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo
> [EMAIL PROTECTED]
> name:   cyril.lefevre
> passwd: $1$E0dEN$HkBIWFsNHE7Ek1jxatPvX/
> clear passwd: x
> uid:1
> gid:4096
> has qmailadmin administrator privileges
> dir:   /home/vpopmail/domains/mydomain.com/cyril.lefevre
> quota: 2000
> usage: 80%
> last auth: Fri Jun 27 07:58:26 2003
> last auth ip: 192.168.0.16
>
> [EMAIL PROTECTED] Maildir]# du -hs
> /home/vpopmail/domains/myadomain.com/cyril.lefevre
> 1.9M/home/vpopmail/domains/mydomain.com/cyril.lefevre
>
> I think there is a problem in maildirsize file. Can I delete it ? Or how
can
> I build a new one ?
>
> Regards
>
>
>
>
>
>





SV: [vchkpw] Return usage problem

2003-06-27 Thread Geir Høgberg
sorry if an "out of office reply" was sent out to the list... my bad.

-- 
Geir O. Høgberg
Priority Telecom Norway AS 




Re: [vchkpw] Spam Protection with vpopmail and qmail

2003-06-27 Thread Lars Gustafson
On Thu, 2003-06-26 at 22:08, Gonzo wrote:
> Hello.
> 
> I have qmail with vpopmail installed.
> I don't know how to filter out spam mails.
> SpamAssassin seems to not support virtual domains and even if it would
> support them, how to tell procmail to filter mails for vpopmail?
> 
> Gonzo

I have a setup that my users are happy with. 

In short, this is what it does...
It filter out spam to the users .spam directory with a sitewide ruleset
It lets the users toogle filtering on or off from qmailadmin
It doesn't use qmail-scanner   

Install spamassasssin, according to the manual, perform the tests to
make sure it is working.

Install a recent qmailadmin (>= 1.0.21) , compile it with the following
options, among the other ones.

Install a recent version of promail (3.22 or later) or you will notice
that the files insade the maildirs looks sorta strange... erlier
procmail doesnt use the maildir name-style format of the files.

(watch out for lne wrapping here...)
--enable-modify-spam=y \
--enable-spam-command='|preline /usr/bin/spamc -e /usr/bin/procmail -mp
../procmailfilter'

The recent versions of qmailadmin has a "detect-spam" option which the
user can toogle on/off as they like. 

~vpopmail/domains/example.net/user/.qmail will look like this when
detect-spam is checked;

|preline /usr/bin/spamc -e /usr/bin/procmail -mp ../procmailfilter'


create a decent procmailrc file and put it in the path defined withteh
--enable-spam-command option. in this example it would be;

~vpopmail/domains/example.net/procmailfilter


# Example of a global procmailfilter for qmail-vpopmail 
# -
# 
# This file should be be named as stated below
# ~/vpopmail/domains//procmailfiler
#
# This procmailfilter is supposed to be invoked
# from ~vpopmail/domains///.qmail
#
# The .qmailfile should contain the following line
# |preline /usr/bin/procmail -mp ../procmailfilter
# 
# It is possible to make the line default for any
# .qmail files  created by users through qmailadmin 
# versions 1.0.21 or later.
#

# Shell to execute commands inside.
SHELL="/bin/bash"

# Verbose mode (yes|no)
# If set to "yes" you qmail-send log
# will be full of verbose stuff.
#VERBOSE="yes"
VERBOSE="no"

# Make sure that we have a .SPAM folder to sort SPAM into.
# This will create a ~vpopmail/domains///Maildir/.SPAM
# direcory. This directory will be created as soon as the user 
# recives any mail. Spam or ham doesn't matter.  It simply creates
# the .SPAM directory, as well as subscribes it to courier-imap 
:0wic
* ? test ! -d ./Maildir/.SPAM
|( /var/qmail/bin/maildirmake ./Maildir/.SPAM ; \
/bin/echo "INBOX.SPAM" >> ./Maildir/courierimapsubscribed )

# Sort anything marked as SPAM into the users Maildir/.SPAM/ .
:0:
* ^X-Spam-Status: YES
./Maildir/.SPAM/

# Everything else goes to the users default Maildir/ .
:0:
*
./Maildir/

#EOF





 
-- 
i3 micro technology ab
Lars Gustafson
System Administrator
phone: +46(0)850638856
mobile:+46(0)708472037
[EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


[vchkpw] rebuild automaticaly tcp.smtp.cdb

2003-06-27 Thread Emil Slavov
I run clearopensmtp with crontab on every minute to enable relayng
for my pop users. How to rebuild tcp.smtp.cdb automaticaly when
user logs to pop account ? Thanks



[vchkpw] POP authentication error

2003-06-27 Thread matiaslambert
Hi,
I use vpopmail in a Debian server.
I have no problem until yesterday night when I recompile vpopmail for log 
all authentications.
My configuration string is
./configure --enable-defaultquota=5000S,500C --enable-popuser=vpopmail 
--enable-tcpserver-file=/etc/tcp.smtp --enable-clear-passwd=y 
--enable-vpopgroup=vchkpw --enable-roaming-users=y --enable-logging=y
UID for vpopmail user is 1009
GID for vchkpw group is 1001
( that was working ok until yesterday ) 

Now when some user authenticate pop some vchkcw process never go down.
And then all users are rejected with the this error: File busy try again 
later!
I check it with strace and it say that:
strace -p 3128
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes)
wait4(-1, 0xbcb8, 0, NULL)  = -1 ECHILD (No child processes) 

When clearopensnmp start it have the same problem ( the same trace too ).
And it have an error in the UID and GUI of open-smtp ( it was ok after 
install the software ).
noc-m4alt:~/src/vpopmail-5.2.1#  /var/vpopmail/bin/clearopensmtp 2>&1 > 
/dev/null &
[1] 6092
noc-m4alt:~/src/vpopmail-5.2.1# ls -lisa /var/vpopmail/etc/
total 28
5873204 drwxr-xr-x2 vpopmail vchkpw   4096 Jun 27 14:04 .
18740994 drwxr-xr-x9 root root 4096 Jun 27 12:59 ..
5873224 -rw-r--r--1 vpopmail vchkpw 24 Jun 27 13:11 inc_deps
5873234 -rw-r--r--1 vpopmail vchkpw 31 Jun 27 13:11 lib_deps
5896894 -rw-r--r--1 89   89   1323 Jun 27 14:04 
open-smtp
5873250 -rw-r--r--1 vpopmail vchkpw  0 Jun 27 13:59 
open-smtp.lock 

Please HELP
Thanks a lot 

Matias Lambert
OSInet Telecomunicaciones
Argentina
[EMAIL PROTECTED]
http://www.osinet.com.ar
“I don’t know what kind of weapons will be used in the third world war,
assuming there will be a third world war.  But I can tell you what the
fourth world war will be fought with sticks and stones.”  Albert Einstein 



RE: [vchkpw] POP authentication error

2003-06-27 Thread Dallas L. Engelken
> -Original Message-
> From: matiaslambert [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 27, 2003 12:14 PM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] POP authentication error
> 
> 
> Hi,
> I use vpopmail in a Debian server.
> I have no problem until yesterday night when I recompile 
> vpopmail for log 
> all authentications.
> My configuration string is
> ./configure --enable-defaultquota=5000S,500C 
> --enable-popuser=vpopmail 
>  --enable-tcpserver-file=/etc/tcp.smtp --enable-clear-passwd=y 
>  --enable-vpopgroup=vchkpw --enable-roaming-users=y 
> --enable-logging=y UID for vpopmail user is 1009 GID for 
> vchkpw group is 1001 ( that was working ok until yesterday ) 

should be --enable-vpopuser=vpopmail, not --enable-popuser=vpopmail

re-compile!



[vchkpw] Re: POP authentication error

2003-06-27 Thread matiaslambert
Sorry, I use --enable-vpopuser=vpopmail
I deleted when I posted the email to the list.
This is my compile result: 

creating config.h
 vpopmail 5.2.1
  Current settings
--- 

vpopmail directory = /var/vpopmail
 uid = 1009
 gid = 1004
ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
   roaming users = ON  --enable-roaming-users=y
  tcpserver file = /etc/tcp.smtp
  open_smtp file = /var/vpopmail/etc/open-smtp
  user quota = 5000S,500C -enable-hardquota=5000S,500C
table optimization = many domains --enable-many-domains=y default
 auth module = cdb default
system passwords = OFF --enable-passwd=n default
file locking = ON  --enable-file-locking=y default
   file sync = OFF --enable-file-sync=n default disable vdelivermail 
fsync
auth logging = ON  --enable-auth-logging=y default
   mysql logging = OFF --enable-mysql-logging=n default
clear passwd = ON  --enable-clear-passwd=y (default)
valias processing = OFF --enable-valias=n
  pop syslog = show successful and failure login attempts
   --enable-logging=y
  default domain =  --enable-default-domain=
auth inc = -Icdb
auth lib = 

Dallas L. Engelken writes: 

-Original Message-
From: matiaslambert [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 12:14 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] POP authentication error 

Hi,
I use vpopmail in a Debian server.
I have no problem until yesterday night when I recompile 
vpopmail for log 
all authentications.
My configuration string is
./configure --enable-defaultquota=5000S,500C 
--enable-popuser=vpopmail 
 --enable-tcpserver-file=/etc/tcp.smtp --enable-clear-passwd=y 
 --enable-vpopgroup=vchkpw --enable-roaming-users=y 
--enable-logging=y UID for vpopmail user is 1009 GID for 
vchkpw group is 1001 ( that was working ok until yesterday ) 
should be --enable-vpopuser=vpopmail, not --enable-popuser=vpopmail 

re-compile!




Re: [vchkpw] Re: POP authentication error

2003-06-27 Thread Chris Pugh
Hi,

Just out of interest, are you using Debian Woody?  

If so, did you recompile from source on top the 
existing Debian versions of vpopmail/qmail?  Or 
was it source installs for all?

Chris.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



Re: [vchkpw] Re: POP authentication error

2003-06-27 Thread Chris Pugh
Is it possible that when posting to the list, you all
use '[EMAIL PROTECTED]' in the To field *instead* of
in the Cc:/Bcc:??  

Then we can just hit reply instead of having to edit
addresses and/or inadvertently duplicating messages!

( I'm sure Peter P. will concur )

Cheers,


Chris. 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



[vchkpw] Re: POP authentication error

2003-06-27 Thread matiaslambert
Yes and I recompile the source from the developers for all
( http://cr.yp.to/qmail.html and http://www.inter7.com/vpopmail.html ). 



Chris Pugh writes: 

Hi, 

Just out of interest, are you using Debian Woody?   

If so, did you recompile from source on top the 
existing Debian versions of vpopmail/qmail?  Or 
was it source installs for all? 

Chris. 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com




[vchkpw] Strange Behaviour

2003-06-27 Thread Sérgio Manuel Rosa
Hi all,
I'm new to the list and If this post has allready discoused, sorry. 

I've installed and compiled vpopmail-5.3.20 with this options,
./configure  --enable-clear-passwd \
--enable-roaming-users=y \
--enable-vpopuser=vpopmail \
--enable-vpopgroup=vchkpw \
--enable-tcprules-prog=/usr/local/bin/tcprules \
--enable-tcpserver-file=/home/vpopmail/vmail/etc/tcp.smtp \
--enable-relay-clear-minutes=30 \
--enable-learn-passwords=y \
--enable-logging=v \
--enable-log-name=vpopmail \
--enable-default-domain=gosecure.pt \
--enable-harquota \
--enable-learn-passwords=y \
--enable-users-big-dir=y \
--enable-md5-passwords=y \
--enable-file-locking=y \
--enable-defaultquota=50M \
--enable-domainquotas=y \
--enable-many-domains=y 

After that I replaced /var/qmail/bin/qmail-local with vqmaillocal, and I 
bellieved that everything was running smothly but It was'nt. I started to 
see a lot, really a lot of bounced mail, take a look at this bounced message
--- Below this line is a copy of the message. 

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 32538 invoked by uid 89); 27 Jun 2003 10:43:43 -
Message-ID: <[EMAIL PROTECTED]>
(null)Delivered-To:
Received: (qmail 32530 invoked for bounce); 27 Jun 2003 10:43:43 -
Date: 27 Jun 2003 10:43:43 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice 

Hi. This is the qmail-send program at gosecure.pt.
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. 

<@gosecure.pt>:
/home/vpopmail/vmail/domains/gosecure.pt,,gosecure.pt
message is looping
mail is looping 

--- Below this line is a copy of the message. 

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 32521 invoked by uid 89); 27 Jun 2003 10:43:42 -
(null)Delivered-To:
Received: (qmail 32430 invoked from network); 27 Jun 2003 10:43:36 -
Received: from qmail by qscan (mail filter); 27 Jun 2003 10:43:36 +
Received: from unknown (HELO viking.sophos.com) (194.203.134.132)
by 0 with SMTP; 27 Jun 2003 10:43:36 -
Received: by viking.sophos.com (Postfix, from userid 500)
	id BD05FF206E; Fri, 27 Jun 2003 11:43:35 +0100 (BST)
Received: from lundy.sophos.com (lundy.sophos.com [194.203.134.150])
	by viking.sophos.com (Postfix) with ESMTP id AF13BF2063
	for <[EMAIL PROTECTED]>; Fri, 27 Jun 2003 10:43:35 + (GMT)
Received: (from [EMAIL PROTECTED])
	by lundy.sophos.com (8.11.6p2/8.11.6) id h5RAhZs22981;
	Fri, 27 Jun 2003 11:43:35 +0100 (BST)
	(envelope-from apache)
Date: Fri, 27 Jun 2003 11:43:35 +0100 (BST)
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "www.sophos.com" <[EMAIL PROTECTED]>
Subject: Sophos evaluation 

Qmail, or vpopmail, or whatever lost the From: and replaced the [EMAIL PROTECTED] 
with [EMAIL PROTECTED] 

This only stopped when I replaced vqmaillocal with the original qmail-local. 

What happend? 

I'm running qmail, vpopmail, sqwebmail, on a RedHat 8 box. 

Sorry for the long post...
Regards
SRosa 





Re: [vchkpw] Strange Behaviour

2003-06-27 Thread Tom Collins
On Friday, June 27, 2003, at 11:36  AM, Sérgio Manuel Rosa wrote:
After that I replaced /var/qmail/bin/qmail-local with vqmaillocal, and 
I bellieved that everything was running smothly but It was'nt. I 
started to see a lot, really a lot of bounced mail, take a look at 
this bounced message
I've never replaced qmail-local with vqmaillocal on my servers.  Is 
this standard procedure?  If not, perhaps you should stick with 
qmail-local.

After reading README.vqmaillocal and looking at the date on 
vqmaillocal.c, I'd say that it's currently an incomplete replacement 
for qmail-local.

--
Tom Collins
[EMAIL PROTECTED]



Re: [vchkpw] Re: POP authentication error

2003-06-27 Thread Chris Pugh
Mat,

All I can say is that I tried this on Deb Woody and 
ran into all sorts of authentication problems ( some
caused no doubt by my own inexperience ). 

I ended up using dpkg / apt to remove all the Deb
software versions then compiled and installed qmail,
tcpserver, vpopmail, qmailadmin etc, from source.
With everything then in the default locations, and no
Deb Woody stuff getting in the way,way, the problems
just seemed to evaporate...


Chris.

> Yes and I recompile the source from the developers
> for all 

> Chris Pugh writes: 
> > Just out of interest, are you using Debian Woody? 

> > If so, did you recompile from source on top the 
> > existing Debian versions of vpopmail/qmail?

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



Re: [vchkpw] Re: POP authentication error

2003-06-27 Thread Ajai Khattri
Chris Pugh wrote:

I ended up using dpkg / apt to remove all the Deb
software versions then compiled and installed qmail,
tcpserver, vpopmail, qmailadmin etc, from source.
With everything then in the default locations, and no
Deb Woody stuff getting in the way,way, the problems
just seemed to evaporate...
Probably the packages installed themselves into various Debian-specific 
locations and then conflicted with the install from source.

For important stuff, I find it generally better to always install from 
source and use the package systems just to manage the underlying OS.

--
Aj.
Systems Administrator / Developer



[vchkpw] Moving a virtual domain

2003-06-27 Thread Dallas Wright



Hi
 
I haven't done anything yet, and I was hoping to 
get a guide or a hint at least as to the bast way to move accounts from one 
virtual domain to another. I have host.org, and I want all its accounts to now 
be on newhost.net.
 
Thanks
Dallas


[vchkpw] Compile error - version 5.2.1

2003-06-27 Thread Vinod Kurup
I get the following error when I try to compile on Debian GNU/Linux 
i686.

root:/usr/local/src/vpopmail-5.2.1# make
...
gcc -I. -Icdb  -g -O2 -Wall -c vconvert.c
In file included from vconvert.c:35:
vmysql.h:53:22: missing terminating " character
vmysql.h:60:35: missing terminating " character
make[2]: *** [vconvert.o] Error 1
Looks like vmysql.h is missing a backslash on line 54 and 58. I see 
that this is still present in 5.3.20


Vinod




RE: [vchkpw] Re: POP authentication error

2003-06-27 Thread Matias G. Lambert \( OSInet \)
Thanks for all the advice,
I don't know what happened, but I installed all again ( from source ) and it
start working.
I tried to install with the Debian precompiled packaged ( with apt-get ), Is
really good, it have no problem, but I couldn't import all my
virtualdomains, users and emails, any way to do that???
What is the best way to backup or import/export all users information?
Thanks again.

Matias Lambert
OSInet Telecomunicaciones
Panama 933 12 E
Capital Federal - Buenos Aires
Argentina - CA1185ACA
[EMAIL PROTECTED]
http://www.osinet.com.ar
"I don't know what kind of weapons will be used in the third world war,
assuming there will be a third world war.  But I can tell you what the
fourth world war will be fought with sticks and stones."  Albert Einstein





Re: [vchkpw] Compile error - version 5.2.1

2003-06-27 Thread Tom Collins
On Friday, June 27, 2003, at 07:59  PM, Vinod Kurup wrote:
I get the following error when I try to compile on Debian GNU/Linux 
i686.

root:/usr/local/src/vpopmail-5.2.1# make
...
gcc -I. -Icdb  -g -O2 -Wall -c vconvert.c
In file included from vconvert.c:35:
vmysql.h:53:22: missing terminating " character
vmysql.h:60:35: missing terminating " character
make[2]: *** [vconvert.o] Error 1
Looks like vmysql.h is missing a backslash on line 54 and 58. I see 
that this is still present in 5.3.20


Vinod
Ken, please apply this patch to 5.3.20.  When can we expect the release 
of 5.3.21?  You've got a lot of patches in there, and it would be great 
if people could start testing them.  The last stable release, 5.2.1, 
was made over a year ago.  We've got a lot of improvements in the 5.3 
series and we're not far from having a stable release.

diff -u vpopmail-5.3.20/vmysql.h vpopmail-5.3.20-tc/vmysql.h
--- vpopmail-5.3.20/vmysql.h2003-03-18 17:27:18.0 -0700
+++ vpopmail-5.3.20-tc/vmysql.h 2003-06-27 22:35:09.0 -0700
@@ -48,11 +48,11 @@
 primary key (pw_name, pw_domain ) "
 #else
 #define TABLE_LAYOUT "pw_name char(32) not null, \
-pw_domain char(64) not null,
+pw_domain char(64) not null, \
 pw_passwd char(40), \
 pw_uid int, pw_gid int, \
 pw_gecos char(48), \
-pw_dir char(160),
+pw_dir char(160), \
 pw_shell char(20), \
 primary key (pw_name, pw_domain ) "
 #endif
--
Tom Collins
[EMAIL PROTECTED]