[vchkpw] what is the meaning of the entries in $HOME/Maildir/maildirsize and the name of file

2003-03-31 Thread Jerry Chou
could anyone tell me what is the meaning of 
the entries in $HOME/Maildir/maildirsize ?
I am using the latest version.

[EMAIL PROTECTED] Maildir]# less maildirsize
2000S,1C
0 0
1410 1
   -1410   -1
1856 1
   -1856   -1
1886 1
   -1886   -1
1577 1
   -1577   -1
1440 1
   -1440   -1
2108 1
6183 1
2109 1
  -10400   -3
1554 1
7305913 1

***
and I want to know, if I want to copy or move some RFC822 format email 
into $HOME/Maildir/cur, do I have to rewrite the 
email files with such name?--
like this:
1049180141.28536.mail.test.com,S=39139
and after read by sqwebmail,
it change to
1049180141.28536.mail.test.com,S=39139:2,S
I wonder I need to use the folder 
$HOME/Maildir/cur
if I use java or c languge to read and move the email file directly in
the folder $HOME/Maildir/new ??
in other words, what is the usage of cur and new folders??

Any answer is appreciated.
Thanks.

T
  




[vchkpw] Re: Inter7 mail server doesn't have reverse DNS!

2003-03-31 Thread Peter Palmreuther
Hello Wil,

On Monday, March 31, 2003 at 8:46:37 PM you wrote (at least in part):

>> No, the above wouldn't. Please read this sentence again, and this time
>> completely:
>> "If you want to be a little more aggressive about it, use the 5th line
>> instead of the fourth." (in your example third instead of second).
>> Quite easy: comment the second line out and remove the comment mark on
>> the third line. Rather easy, even for a "copy/paste guy"

> Couldn't tell from your document whether it was a comment or not. The # sign
> isn't globally used by all applications. For instance try using it with
> Bind. Not a pretty sight.

First it wasn't 'may document', it is Matt's :-) Honor to where it
belongs :-)
Second: read the tcprules (_RULES_, not _server_) manual. It's pretty
good written down there what the syntax of a rule file is ... Somehow
important, and it explains as well how tcpserver looks up these rules.

> Maybe replacing "use the 5th line instead of the fourth" with "use
> the 5th line instead of the fourth by uncommenting it" would help
> give the viewer the impression that that # is actually a comment.

'instead of' somehow implements they're exclusive ORed :-) So at worst
one would have simply striped the line out if he didn't know for sure
about comment markers :-)

>> (which shouldn't administer a mail system at all if he don't want
>> to read documentation, but assumes all configuration is "ready to
>> be copied").

> An attempt at humor? :-)

desperate humor? :-)

> =:allow opens the gate wide, then :allow,RBLSMTPD="-Blocked -
> comment" locks out anybody that doesn't have a reverse dns entry
> with a permanent error.

Nope. Reading tcprules.1 would tell you:

=:allow opens the gate for those whose $TCPREMOTEHOST is set.
That has the implication:
- You have to enable reverse DNS lookup for tcpserver (-h or -p and
  avoiding '-H')

while ':allow' as last fall back rule sets RBLSMTPD to a value the
program 'rblsmtpd' interprets specially, as it's man page states. The
leading hyphen is an indicator to block the connection.
-- 
Best regards
Peter Palmreuther

"The other day I No, that wasn't me." -- Steven Wright




[vchkpw] Control/Me?

2003-03-31 Thread Wil Hatfield - HVHM Customer Care
Can somebody help me with the following?

- clip -
Received: from unknown (HELO ns1.a-zhost.com) (216.120.76.2)
  by h6.a-zhost.com with SMTP; 31 Mar 2003 21:03:59 -0800
Received: (qmail 3895 invoked by alias); 31 Mar 2003 21:03:52 -0800
- clip -

Where does the h6.a-zhost.com value come from shown above. I thought it came
from control/me which I have checked and double checked. This email did not
go through h6.a-zhost.com at all. Since h6 was my prototype I figure I must
have copied something over. But I swear I used fresh tarballs and
./configured everything.

Any thoughts anyone?


Wil Hatfield





[vchkpw] RFC 3514

2003-03-31 Thread Chris Ochap
I know its not list related, but it could affect all of us...lol

-Chris

--
From: ftp://ftp.rfc-editor.org/in-notes/rfc3514.txt

Network Working GroupS. Bellovin
Request for Comments: 3514AT&T Labs Research
Category: Informational 1 April 2003

   The Security Flag in the IPv4 Header

Status of this Memo

This memo provides information for the Internet community.  It does
not specify an Internet standard of any kind.  Distribution of this
memo is unlimited.

Copyright Notice

Copyright (C) The Internet Society (2003).  All Rights Reserved.

Abstract

Firewalls, packet filters, intrusion detection systems, and the like
often have difficulty distinguishing between packets that have
malicious intent and those that are merely unusual.  We define a
security flag in the IPv4 header as a means of distinguishing the two
cases.

1. Introduction

Firewalls [CBR03], packet filters, intrusion detection systems, and
the like often have difficulty distinguishing between packets that
have malicious intent and those that are merely unusual.  The problem
is that making such determinations is hard.  To solve this problem,
we define a security flag, known as the "evil" bit, in the IPv4
[RFC791] header.  Benign packets have this bit set to 0; those that
are used for an attack will have the bit set to 1.

1.1. Terminology

The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD,
SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this
document, are to be interpreted as described in [RFC2119].

2. Syntax

The high-order bit of the IP fragment offset field is the only unused
bit in the IP header.  Accordingly, the selection of the bit position
is not left to IANA.


Bellovin Informational  [Page 1]
RFC 3514  The Security Flag in the IPv4 Header  1 April 2003


The bit field is laid out as follows:

  0
 +-+
 |E|
 +-+

Currently-assigned values are defined as follows:

0x0  If the bit is set to 0, the packet has no evil intent.  Hosts,
 network elements, etc., SHOULD assume that the packet is
 harmless, and SHOULD NOT take any defensive measures.  (We note
 that this part of the spec is already implemented by many common
 desktop operating systems.)

0x1  If the bit is set to 1, the packet has evil intent.  Secure
 systems SHOULD try to defend themselves against such packets.
 Insecure systems MAY chose to crash, be penetrated, etc.

3. Setting the Evil Bit

There are a number of ways in which the evil bit may be set.  Attack
applications may use a suitable API to request that it be set.
Systems that do not have other mechanisms MUST provide such an API;
attack programs MUST use it.

Multi-level insecure operating systems may have special levels for
attack programs; the evil bit MUST be set by default on packets
emanating from programs running at such levels.  However, the system
MAY provide an API to allow it to be cleared for non-malicious
activity by users who normally engage in attack behavior.

Fragments that by themselves are dangerous MUST have the evil bit
set.  If a packet with the evil bit set is fragmented by an
intermediate router and the fragments themselves are not dangerous,
the evil bit MUST be cleared in the fragments, and MUST be turned
back on in the reassembled packet.

Intermediate systems are sometimes used to launder attack
connections.  Packets to such systems that are intended to be relayed
to a target SHOULD have the evil bit set.

Some applications hand-craft their own packets.  If these packets are
part of an attack, the application MUST set the evil bit by itself.

In networks protected by firewalls, it is axiomatic that all
attackers are on the outside of the firewall.  Therefore, hosts
inside the firewall MUST NOT set the evil bit on any packets.



Bellovin Informational  [Page 2]

RFC 3514  The Security Flag in the IPv4 Header  1 April 2003


Because NAT [RFC3022] boxes modify packets, they SHOULD set the evil
bit on such packets.  "Transparent" http and email proxies SHOULD set
the evil bit on their reply packets to the innocent client host.

Some hosts scan other hosts in a fashion that can alert intrusion
detection systems.  If the scanning is part of a benign research
project, the evil bit MUST NOT be set.  If the scanning per se is
innocent, but the ultimate intent is evil and the destination site
has such an intrusion detection system, the evil bit SHOULD be set.

4. Pr

Re: [vchkpw] Qmail +pine

2003-03-31 Thread Jens Jahr
Arquimedes Camacho Delgado wrote:

How can I use pine with qmail? is there a patch or a How to?

 

QUIT THE CRAP !

This is not the right place for that !!

What do you think a mailinglist concerning vpopmail is about ?!?

Jens Jahr




Re: [vchkpw] Qmail +pine

2003-03-31 Thread Cory Wright
On Mon, Mar 31, 2003 at 01:21:55PM -0600, Arquimedes Camacho Delgado wrote:
> How can I use pine with qmail? is there a patch or a How to?

That's not really a vpopmail question, nor is it clear what you mean.  I
suspect you want to use Pine with Maildirs, in which case the answer is
"yes".  Take a look at the Maildir section of qmail.org:

  http://qmail.org/top.html#maildir

There are patches to make Pine read its Inbox from a Maildir.  You might
want to take a look at Mutt or Gnus though, as both offer the ability to
read directly from Maildirs for any folder (not just Inbox).

If you are using mbox for delivery then the answer is simply "yes."

Good luck,

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/



[vchkpw] Qmail +pine

2003-03-31 Thread Arquimedes Camacho Delgado
How can I use pine with qmail? is there a patch or a How to?

Thanks in advanced




RE: [vchkpw] Re: Inter7 mail server doesn't have reverse DNS!

2003-03-31 Thread Wil Hatfield - HVHM Customer Care

> Yes, it is a comment, yes it should have a closing quotation mark.
> No, you haven't read the documentation of tcprules, have you?

Well Nope tcpserver is typically so easy I haven't gone back to read the
documentation. Guess it is about time I do since things are getting a bit
tricky now.

> No, the above wouldn't. Please read this sentence again, and this time
> completely:
> "If you want to be a little more aggressive about it, use the 5th line
> instead of the fourth." (in your example third instead of second).
> Quite easy: comment the second line out and remove the comment mark on
> the third line. Rather easy, even for a "copy/paste guy"

Couldn't tell from your document whether it was a comment or not. The # sign
isn't globally used by all applications. For instance try using it with
Bind. Not a pretty sight.  Maybe replacing "use the 5th line instead of the
fourth" with "use the 5th line instead of the fourth by uncommenting it"
would help give the viewer the impression that that # is actually a comment.

> (which
> shouldn't administer a mail system at all if he don't want to read
> documentation, but assumes all configuration is "ready to be copied").

An attempt at humor? :-)

> But PLEASE ... read the comments that describe lines 1-4 on the web
> site again and again, until you understood them. Line two might
> prevent you from blocking this lists server ...
> I guess you should block anything automatically, unless you finally
> understood what you're doing. You might annoy you and innocent third
> parties if you don't know what your finger actions results in ...

Yes I fully understand the ramifications. 209.218.8.2:allow will allow the
Inter7 lists to come through else they won't, =:allow opens the gate wide,
then :allow,RBLSMTPD="-Blocked - comment" locks out anybody that doesn't
have a reverse dns entry with a permanent error.

We are not worried about servers without a reverse lookup. I saw the post
about breaking ones email server on purpose {ridiculous}. Actually the one
without the reverse name lookup would be the broken one in my opinion. Not
that Ken has a broken server I am sure he has a good reason just not sure
what that reason is. Perhaps he left it that way so we can test the reverse
name lookup modification, yah thats it!


Wil Hatfield










[vchkpw] Re: Inter7 mail server doesn't have reverse DNS!

2003-03-31 Thread Peter Palmreuther
Hello Wil,

On Monday, March 31, 2003 at 6:54:46 PM you wrote (at least in part):

>> See the brand new FAQ entry. :)

>> http://matt.simerson.net/computing/mail/toaster/faq.shtml

> I don't know alot about the syntax used in tcp.smtp. I am a copy/paste kinda
> guy. So do I just drop this in as is?

If you're satisfied with what it does: yes. Of course you've to
rebuild the CDB file after pasting.

> What is confusing me is line 3 below looks like a comment but maybe
> it is supposed to. Also is line 3 supposed to have a closing
> quotation mark?

Yes, it is a comment, yes it should have a closing quotation mark.
No, you haven't read the documentation of tcprules, have you?

> {The obvious localhost, etc.}
> =:allow
> :allow,RBLSMTPD="Blocked - Reverse DNS queries for your IP fail. You cannot
> send me mail."
> #:allow,RBLSMTPD="-Blocked - Reverse DNS queries for your IP fail. You
> cannot send me mail.

> I noticed your comment on "If you want to be a little more aggressive" in
> your docs. Yes I wan't to be very agressive. I want it to drop the attempt
> to connect on the floor with a permanent error.  Would the above do this?

No, the above wouldn't. Please read this sentence again, and this time
completely:

"If you want to be a little more aggressive about it, use the 5th line
instead of the fourth." (in your example third instead of second).
Quite easy: comment the second line out and remove the comment mark on
the third line. Rather easy, even for a "copy/paste guy" (which
shouldn't administer a mail system at all if he don't want to read
documentation, but assumes all configuration is "ready to be copied").

But PLEASE ... read the comments that describe lines 1-4 on the web
site again and again, until you understood them. Line two might
prevent you from blocking this lists server ...
I guess you should block anything automatically, unless you finally
understood what you're doing. You might annoy you and innocent third
parties if you don't know what your finger actions results in ...
-- 
Regards
Peter Palmreuther

Originality is the art of concealing your source.




RE: [vchkpw] Re: auth smtp

2003-03-31 Thread Wil Hatfield - HVHM Customer Care
Kenneth Ling,

TURN OFF YOUR READ RECEIPT ON EVERY MESSAGE FEATURE!! IT IS LAME AND
ANNOYING !!!

{then again so are caps}

> -Original Message-
> From: Kenneth Ling [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 8:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Re: auth smtp
>




[vchkpw] Which are correct procedures ?

2003-03-31 Thread Breno Cardoso Perucchi



Hello,I've been installed the Vpopmail 5.2.1 in my Freebsd 4.6. I 
installed thevpopmail in package binary /usr/ports/   .  Now 
I want to do 2 things.To update my version of vpopmail to more recent 
version.And to put some software to control spam .I've domains 
registered in vpopmail and being used. I like to know how toprocedure for 
this.I install source recent version of vpopmail over my version ? Or I 
uninstall?Which controller spam I install? I can to this in my old 
version ? Or Ireinstall my version.Somebody can help me in that . Which 
are correct procedures ?Breno[EMAIL PROTECTED]


RE: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-31 Thread Wil Hatfield - HVHM Customer Care
Matt,

I don't know alot about the syntax used in tcp.smtp. I am a copy/paste kinda
guy. So do I just drop this in as is? What is confusing me is line 3 below
looks like a comment but maybe it is supposed to. Also is line 3 supposed to
have a closing quotation mark?

{The obvious localhost, etc.}
=:allow
:allow,RBLSMTPD="Blocked - Reverse DNS queries for your IP fail. You cannot
send me mail."
#:allow,RBLSMTPD="-Blocked - Reverse DNS queries for your IP fail. You
cannot send me mail.

I noticed your comment on "If you want to be a little more aggressive" in
your docs. Yes I wan't to be very agressive. I want it to drop the attempt
to connect on the floor with a permanent error.  Would the above do this?

Thanks for all your help,

Wil Hatfield



> -Original Message-
> From: Matt Simerson [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 29, 2003 7:13 PM
> To: Wil Hatfield - HVHM Customer Care
> Cc: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!
>
>
> See the brand new FAQ entry. :)
>
> http://matt.simerson.net/computing/mail/toaster/faq.shtml
>
> Matt
>
> On Saturday, March 29, 2003, at 06:18  PM, Wil Hatfield - HVHM Customer
> Care wrote:
>
> > Can we get some instructions for how to lock out the servers that
> > don't have
> > a reverse name lookup. About 60% of our spam coming in meets this
> > criteria
> > and it sure would be nice to get rid of it.
> >
> > Wil Hatfield
>
>




Re: [vchkpw] Re: auth smtp

2003-03-31 Thread Kenneth Ling
it working already

my mistake: i delete the rcpthosts file
once i restore the file everything go fine..

tq

Peter Palmreuther wrote:

> Hi Kenneth,
>
> On Mon, 31 Mar 2003 16:51:48 +0800 Kenneth Ling wrote:
>
>
> > how authenticated relay control on my qmail smtp server
>
> >>> the result.. is smtp auth is working
> >>> but on email client if you not set smtp auth also working
>
> >> So you have a general "relaying allowed" rules somewhere ...
> >> If you're using tcpserver from ucspi-tcp check the corresponding .cdb
> >> file if there's something that let the client relay because of their
> >> IP address.
> >>
> >> If you have the IP-address the client uses to connect the server you
> >> can do a
> >>
> >> TCPREMOTEIP= tcprulescheck <.cdb file used by qmail-smtpd tcpserver>
> >>
> >> to figure out if RELAYCLIENT is set (albeit hopefully empty).
> >> If this is the case: go figure why it is set.
>
> > my tcp.smtp content is below
> > 127.:allow,RBLSMTPD="",REQUIREAUTH=""
>
> Well .. what should I say? There is is not set, but that doesn't mean
> it's not in the corresponding .cdb file.
>
> I'd suggest you contact the qmail mailing list [1] or qmail news group
> [2], there are the experts that are able to tell you what to do exactly
> to figure out where your _qmail_ problem might be located.
>
> [1] [EMAIL PROTECTED]
> [2] alt.comp.mail.qmail
> --
> Peter





[vchkpw] Problem with mail quota

2003-03-31 Thread Jesus Bernardo Ruiz Flores
Title: Message



I have a rpoblem 
with my mail quota i'm using qmail and vpopmail5.2.1. The problem is when a 
client access the mail using outlook, outlook express or any pop mail 
client. When i delete a file, the quota of my disk didn't update, and our client 
are always out of quota space.
 
Thanks,
Jesus


Re: [vchkpw] vuserinfo

2003-03-31 Thread Peter Palmreuther
Hi [EMAIL PROTECTED],

On Mon, 31 Mar 2003 15:31:23 +0200 (CEST) [EMAIL PROTECTED] wrote:

> I'm using qmail+vpopmail and I have a problem with the vuserinfo: the
> command is not giving back any information when I type
> 
> ./vuserinfo [EMAIL PROTECTED]
> 
> I've straced the vuserinfo command. In the end of the strace output, I
> can see that vuserinfo tries to load a vpasswd from the directory
> /home/vpopmail/user/vpasswd, but this directory doesn't exist... So
> I've tried to make a link in this dir, but this would work only for one
> domain, and there are many.
> 
> Does anybody have an idea how to tell vuserinfo to open the vpasswd
> from the domaindir??

Two things:

1.) Don't you think it could be _VERY_ useful if you'd include the
  versions of software you're using, especially vpopmail version?
  I hope you do and just forgotten it because your problem is _so_
  important you had to drop the note immediately.

2.) Guess why this list is archived.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg11972.html

should give you an idea about the "work around solution" to your
problem.
-- 
Peter



RE: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Tom Walsh
I just want to aplogize for the miscommunication. I have re-read the post
again... And I am wrong.

Not enough coffee this morning

"Oh... Nevermind."

Tom "sleepy" Walsh


::-Original Message-
::From: Tom Walsh [mailto:[EMAIL PROTECTED]
::Sent: Monday, March 31, 2003 9:49 AM
::To: Justin Heesemann; [EMAIL PROTECTED]
::Subject: RE: [vchkpw] bogofilter with vpopmail?
::
::
> > furthermore you might want to try move the .qmail-bogo-spam  file to
> > /home/vpopmail/domains/robinbowes.com/.qmail-bogo-spam
> > and move the .qmail file to
> > /home/vpopmail/domains/robinbowes.com/.qmail-robin
> Would this catch everything delivered to [EMAIL PROTECTED]

the problem is: i think vpopmail completly ignores
~vpopmail/domain.com/user/.qmail-ext  files.
::
::Clarification on this one point...
::
::Vpopmail doesn't ignore .qmail-ext files... the mail actually
::never makes it
::to vpopmail when you use a .qmail-ext file.
::
::The reason is order of precedence of .qmail files and how qmail treates
::them.
::
::.qmail-ext files placed in the domain directory are processed by
::qmail-local
::before the .qmail-default file for the domain. As such, vpopmail
::(vdelivermail, which is contained in .qmail-default) is never called.
::
::Like I said before... just a clarification.
::
::Tom Walsh
::Network Administrator
::http://www.ala.net/
::
::
::
::





RE: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Tom Walsh
::> > furthermore you might want to try move the .qmail-bogo-spam  file to
::> > /home/vpopmail/domains/robinbowes.com/.qmail-bogo-spam
::> > and move the .qmail file to
::> > /home/vpopmail/domains/robinbowes.com/.qmail-robin
::> Would this catch everything delivered to [EMAIL PROTECTED]
::
::the problem is: i think vpopmail completly ignores
::~vpopmail/domain.com/user/.qmail-ext  files.

Clarification on this one point...

Vpopmail doesn't ignore .qmail-ext files... the mail actually never makes it
to vpopmail when you use a .qmail-ext file.

The reason is order of precedence of .qmail files and how qmail treates
them.

.qmail-ext files placed in the domain directory are processed by qmail-local
before the .qmail-default file for the domain. As such, vpopmail
(vdelivermail, which is contained in .qmail-default) is never called.

Like I said before... just a clarification.

Tom Walsh
Network Administrator
http://www.ala.net/





Re: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Robin Bowes

On Mon, March 31, 2003 2:51 pm, "Justin Heesemann" said:
>
> the problem is: i think vpopmail completly ignores
> ~vpopmail/domain.com/user/.qmail-ext  files.

Does it? Bummer! Is this a design decision, or a "feature"?

> so you could stick with your
> /home/vpopmail/domains/robinbowes.com/robin/.qmail
> file to catch all [EMAIL PROTECTED] mail

Yeah, I was going to reply again and say that part of my setup was working
in as much as mail was being sent to [EMAIL PROTECTED]

> and use a /home/vpopmail/domains/robinbowes.com/.qmail-robin-bogo-spam
> file to catch mail for
> [EMAIL PROTECTED]  (mail to this adress won't be processed by
> the robin/.qmail file)

OK, I'll give that a whirl.

Have you got anything special in your /etc/bogofilter.cf to work with
vpopmail? I'm just using it out of the box at the moment (then again, I've
not got a tested working set up yet!)

Cheers,

R.

-- 
Robin Bowes | http://robinbowes.com



Re: [vchkpw] auth smtp

2003-03-31 Thread JB
Why are you reqeusting a read confirmation on every email?



Kenneth Ling wrote:

hi,
   how authenticated relay control on my qmail smtp server
tq



 





Re: [vchkpw] Re: auth smtp

2003-03-31 Thread Peter Palmreuther
Hi Kenneth,

On Mon, 31 Mar 2003 16:51:48 +0800 Kenneth Ling wrote:

 
> how authenticated relay control on my qmail smtp server

>>> the result.. is smtp auth is working
>>> but on email client if you not set smtp auth also working

>> So you have a general "relaying allowed" rules somewhere ...
>> If you're using tcpserver from ucspi-tcp check the corresponding .cdb
>> file if there's something that let the client relay because of their
>> IP address.
>>
>> If you have the IP-address the client uses to connect the server you
>> can do a
>>
>> TCPREMOTEIP= tcprulescheck <.cdb file used by qmail-smtpd tcpserver>
>>
>> to figure out if RELAYCLIENT is set (albeit hopefully empty).
>> If this is the case: go figure why it is set.

> my tcp.smtp content is below
> 127.:allow,RBLSMTPD="",REQUIREAUTH=""

Well .. what should I say? There is is not set, but that doesn't mean
it's not in the corresponding .cdb file.

I'd suggest you contact the qmail mailing list [1] or qmail news group
[2], there are the experts that are able to tell you what to do exactly
to figure out where your _qmail_ problem might be located.

[1] [EMAIL PROTECTED]
[2] alt.comp.mail.qmail
-- 
Peter



Re: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Justin Heesemann
On Monday 31 March 2003 14:53, Robin Bowes wrote:
> Hi Justin,
>
>
> > furthermore you might want to try move the .qmail-bogo-spam  file to
> > /home/vpopmail/domains/robinbowes.com/.qmail-bogo-spam
> > and move the .qmail file to
> > /home/vpopmail/domains/robinbowes.com/.qmail-robin
> Would this catch everything delivered to [EMAIL PROTECTED]

the problem is: i think vpopmail completly ignores  
~vpopmail/domain.com/user/.qmail-ext  files.

so you could stick with your
/home/vpopmail/domains/robinbowes.com/robin/.qmail
file to catch all [EMAIL PROTECTED] mail
and use a /home/vpopmail/domains/robinbowes.com/.qmail-robin-bogo-spam file to 
catch mail for 
[EMAIL PROTECTED]  (mail to this adress won't be processed by the 
robin/.qmail file)


-- 
Mit internetten Grüßen
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




[vchkpw] vuserinfo

2003-03-31 Thread adragicevic
Hi Folks,

I'm using qmail+vpopmail and I have a problem with the vuserinfo: the
command is not giving back any information when I type

./vuserinfo [EMAIL PROTECTED]

I've straced the vuserinfo command. In the end of the strace output, I
can see that vuserinfo tries to load a vpasswd from the directory
/home/vpopmail/user/vpasswd, but this directory doesn't exist... So
I've tried to make a link in this dir, but this would work only for one
domain, and there are many.

Does anybody have an idea how to tell vuserinfo to open the vpasswd
from the domaindir??



Re: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Robin Bowes
Hi Justin,

On Mon, March 31, 2003 12:54 pm, "Justin Heesemann" said:
> On Monday 31 March 2003 09:01, Robin Bowes wrote:
>> Hi,
>>
>> Has anyone got much experience using bogofilter with vpopmail?
>>
>> I'm looking into implementing it but not having much look.
>>
>> Here's what I've got so far:
>>
>> In /home/vpopmail/domains/robinbowes.com/robin/.qmail:
>> |condredirect robin-bogo-spam /usr/bin/bogofilter
>>
>> ./Maildir/
>>
>> In /home/vpopmail/domains/robinbowes.com/robin/.qmail-bogo-spam:
>>
>> ./Maildir/.Spam.unverified
>
> at least you should add a / to that line. and use maildirmake to create
> .Spam.unverified

That's a typo - I have the trailing slash in my .qmail-xxx file, and I did
use maildirmake to create the Maildir (or perhaps I created it from a MUA
via Courier-IMAP - either way it's created correctly!)

> furthermore you might want to try move the .qmail-bogo-spam  file to
> /home/vpopmail/domains/robinbowes.com/.qmail-bogo-spam
> and move the .qmail file to
> /home/vpopmail/domains/robinbowes.com/.qmail-robin

Would this catch everything delivered to [EMAIL PROTECTED]

> I'm using bogofilter but instead of moving mail to some other Maildir, i'm
> using the -p option to add a X-Bogosity Header and have my MUA filter it
> (Outlook Express can't but most others can filter userdefined headers)

I'd be happy to consider that approach, in fact, when I get round to it, I
intend integrating bogofilter into qmail to process messages for my whole
server instead of just me, and then using maildrop to filter the
X-Bogosity-tagged messages.

There are two things stopping me:

1. I need to install a patched version of qmail. I'm currently running
1.03 vanilla.

2. I've previously struggled with maildrop and vpopmail, and haven't made
the time to bottom it out.

I'll give your suggestions a go.

Cheers,

R.
-- 
Robin Bowes | http://robinbowes.com



Re: [vchkpw] bogofilter with vpopmail?

2003-03-31 Thread Justin Heesemann
On Monday 31 March 2003 09:01, Robin Bowes wrote:
> Hi,
>
> Has anyone got much experience using bogofilter with vpopmail?
>
> I'm looking into implementing it but not having much look.
>
> Here's what I've got so far:
>
> In /home/vpopmail/domains/robinbowes.com/robin/.qmail:
> |condredirect robin-bogo-spam /usr/bin/bogofilter
>
> ./Maildir/
>
> In /home/vpopmail/domains/robinbowes.com/robin/.qmail-bogo-spam:
>
> ./Maildir/.Spam.unverified

at least you should add a / to that line. and use maildirmake to create 
.Spam.unverified

furthermore you might want to try move the .qmail-bogo-spam  file to 
/home/vpopmail/domains/robinbowes.com/.qmail-bogo-spam
and move the .qmail file to 
/home/vpopmail/domains/robinbowes.com/.qmail-robin



I'm using bogofilter but instead of moving mail to some other Maildir, i'm 
using the -p option to add a X-Bogosity Header and have my MUA filter it 
(Outlook Express can't but most others can filter userdefined headers)



-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org




[vchkpw] vmysql.c / RBLSMTPD

2003-03-31 Thread Thomas Krwawecz III
It looks like vmysql.c doesn't allow authenticated users to be excluded from
rblsmtpd. This is a problem since we use DUL blacklists and valid users are
not able to send out mail. This line (vmysql.c line 761 in version 5.3.16):

snprintf(SqlBufRead, SQL_BUF_SIZE, "%s:allow,RELAYCLIENT=\"\"\n",row[0]);

should probably look like:

snprintf(SqlBufRead, SQL_BUF_SIZE,
"%s:allow,RELAYCLIENT=\"\",RBLSMTPD=\"\"\n", row[0]);


Correct? I'm not sure if this is the best way to approach, but perhaps
someone can offer a suggestion. Is INSERTing the IP into the vpopmail.relay
table the best way to handle authenticated users/relaying? Is there a better
method - such as requiring SMTP authentication?

Any feedback would be appreciated.

Thomas Krwawecz III
--
Blue Gravity Communications, Inc.
3495 Haddonfield Rd, Suite 6
Pennsauken, NJ 08109

Toll Free: 1-877-8 HOSTING
Tel: (856) 662-9100, Fax: (856) 662-9101
Web: http://www.bluegravity.com





Re: [vchkpw] Re: auth smtp

2003-03-31 Thread Kenneth Ling
my tcp.smtp content is below
127.:allow,RBLSMTPD="",REQUIREAUTH=""

tq

Peter Palmreuther wrote:

> Hello Kenneth,
>
> On Monday, March 31, 2003 at 9:01:59 AM you wrote (at least in part):
>
> >>> how authenticated relay control on my qmail smtp server
>
> > the result.. is smtp auth is working
> > but on email client if you not set smtp auth also working
>
> So you have a general "relaying allowed" rules somewhere ...
> If you're using tcpserver from ucspi-tcp check the corresponding .cdb
> file if there's something that let the client relay because of their
> IP address.
>
> If you have the IP-address the client uses to connect the server you
> can do a
>
> TCPREMOTEIP= tcprulescheck <.cdb file used by qmail-smtpd tcpserver>
>
> to figure out if RELAYCLIENT is set (albeit hopefully empty).
> If this is the case: go figure why it is set.
> --
> Best regards
> Peter Palmreuther
>
> People say I'm indecisive.  Am I?  I don't know.