Re: [vchkpw] dot qmail processing

2004-06-15 Thread Jeremy Kitchen
On Wednesday 09 June 2004 07:46 pm, Paul Oehler wrote:
  A .qmail file with a one line comment will discard mail.
 
  .qmail-blackhole:
  --
  #
  --
 
  Rick

 Out of curiosity, is this a documented feature?  I don't remember ever
 reading this anywhere.

I think it's more of a pleasant bug than a 'feature'.  It's indirectly 
documented (and works exactly as documented) however, I'm not entirely sure 
that djb originally intended for that to happen :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



Re: [vchkpw] dot qmail processing

2004-06-12 Thread Paul Oehler
  It's in the qmail docs.
 
  man dot-qmail
 
  It isn't in there explicitly, but it says that lines starting with # are
  ignored, and that qmail-local will only process .qmail files that aren't
  empty.

Is this how qmailadmin creates a blackhole e-mail address?



Re: [vchkpw] dot qmail processing

2004-06-12 Thread Rick Widmer

Paul Oehler wrote:
It's in the qmail docs.
man dot-qmail
It isn't in there explicitly, but it says that lines starting with # are
ignored, and that qmail-local will only process .qmail files that aren't
empty.

Is this how qmailadmin creates a blackhole e-mail address?
I don't think there is a way to create a blackhole address within 
qmailadmin yet, but I plan to use it in the version I am working on.



Re: [vchkpw] dot qmail processing

2004-06-12 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rick Widmer wrote:


 Paul Oehler wrote:

 It's in the qmail docs.

 man dot-qmail

 It isn't in there explicitly, but it says that lines starting with #
 are
 ignored, and that qmail-local will only process .qmail files that
 aren't
 empty.



 Is this how qmailadmin creates a blackhole e-mail address?


 I don't think there is a way to create a blackhole address within
 qmailadmin yet, but I plan to use it in the version I am working on.


I don't know where you get your info, but qmailadmin certainly does.

Breached# cat .qmail
|/usr/bin/true delete
Breached# pwd
/usr/storage/mail/x-istence.com/blackhole/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAy1+nJukONu5DUaQRAvWIAJ9dQMZP9tbN8T911jTbCSV0wBaeDgCeMDqc
5qaAs+W2CpZQmWsoijFpRf4=
=ag+u
-END PGP SIGNATURE-


Re: [vchkpw] dot qmail processing

2004-06-12 Thread Tom Collins
On Jun 12, 2004, at 12:55 PM, X-Istence wrote:
I don't know where you get your info, but qmailadmin certainly does.
Breached# cat .qmail
|/usr/bin/true delete
Breached# pwd
/usr/storage/mail/x-istence.com/blackhole/
Yes, you can blackhole a POP/IMAP account.  Note that we had to do it 
this way, as older versions of vdelivermail couldn't handle comments in 
.qmail files.

I'm updating user.c in qmailadmin 1.2.x to use # delete instead.  We 
keep the delete in there, as that's what qmailadmin uses later to 
determine that it's a blackhole (code that should be updated as well).

Note that in the unreleased 1.2.2, I've added an undocumented feature 
to the create new forward page.  If you enter # as the forwarding 
address, it will create a blackhole alias.

I'll try to get 1.2.2 out soon...
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] dot qmail processing

2004-06-11 Thread X-Istence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Collins wrote:
 On Jun 9, 2004, at 5:46 PM, Paul Oehler wrote:

 Out of curiosity, is this a documented feature?  I don't remember ever
 reading this anywhere.


 It's in the qmail docs.

 man dot-qmail

 It isn't in there explicitly, but it says that lines starting with # are
 ignored, and that qmail-local will only process .qmail files that aren't
 empty.

Bug and feature :P


 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/


X-Istence
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAyl2iJukONu5DUaQRAgroAKCMgD0SYqrXL4s7phNRA1lhJx/q4wCfTKMe
mG+/NcFhgkmm7uH5FC8VdPs=
=rmst
-END PGP SIGNATURE-


Re: [vchkpw] dot qmail processing

2004-06-10 Thread Tom Collins
On Jun 9, 2004, at 5:46 PM, Paul Oehler wrote:
Out of curiosity, is this a documented feature?  I don't remember ever
reading this anywhere.
It's in the qmail docs.
man dot-qmail
It isn't in there explicitly, but it says that lines starting with # 
are ignored, and that qmail-local will only process .qmail files that 
aren't empty.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] dot qmail processing

2004-06-09 Thread Pascal DeMilly
Hi,

I have a question in regards to .qmail file processing. I am trying to
setup a simple filtering to move spammed message to another folder using
.qmail files. Basically something like that:

| condredirect [EMAIL PROTECTED] grep 'Subject: [SPAM]'
./name/Maildir/

For simple address like [EMAIL PROTECTED], creating a .qmail-name in the
domain directory works, but for more complex address
[EMAIL PROTECTED] .qmail-first.lastname doesn't seem to be
processed.

Is the syntax of a .qmail file different if there is a . in the address
name?

Also why do I have to specify the full path for Maildir. In the doc it
seems that I should have only to specify ./Maildir/. But doing so
doesn't work

I am using vpopmail 5.4

TIA

Pascal



Re: [vchkpw] dot qmail processing

2004-06-09 Thread Ken Jones
On Wednesday 09 June 2004 7:53 am, Pascal DeMilly wrote:
 Hi,

 I have a question in regards to .qmail file processing. I am trying to
 setup a simple filtering to move spammed message to another folder using

 .qmail files. Basically something like that:
 | condredirect [EMAIL PROTECTED] grep 'Subject: [SPAM]'

 ./name/Maildir/

 For simple address like [EMAIL PROTECTED], creating a .qmail-name in the
 domain directory works, but for more complex address
 [EMAIL PROTECTED] .qmail-first.lastname doesn't seem to be
 processed.

 Is the syntax of a .qmail file different if there is a . in the address
 name?

 Also why do I have to specify the full path for Maildir. In the doc it
 seems that I should have only to specify ./Maildir/. But doing so
 doesn't work

It might be as simple as . characters are not allowed in .qmail file names.
Instead use a : like: .qmail-first:lastname

Check the dot-qmail man page.

Ken Jones


Re: [vchkpw] dot qmail processing

2004-06-09 Thread Pascal DeMilly
Thanks that did it. Another question. How can I drop a message? (kind of
like contredirect /dev/null)

Thanks again

Pascal

On Wed, 2004-06-09 at 07:18, Ken Jones wrote:
 On Wednesday 09 June 2004 7:53 am, Pascal DeMilly wrote:
  Hi,
 
  I have a question in regards to .qmail file processing. I am trying to
  setup a simple filtering to move spammed message to another folder using
 
  .qmail files. Basically something like that:
  | condredirect [EMAIL PROTECTED] grep 'Subject: [SPAM]'
 
  ./name/Maildir/
 
  For simple address like [EMAIL PROTECTED], creating a .qmail-name in the
  domain directory works, but for more complex address
  [EMAIL PROTECTED] .qmail-first.lastname doesn't seem to be
  processed.
 
  Is the syntax of a .qmail file different if there is a . in the address
  name?
 
  Also why do I have to specify the full path for Maildir. In the doc it
  seems that I should have only to specify ./Maildir/. But doing so
  doesn't work
 
 It might be as simple as . characters are not allowed in .qmail file names.
 Instead use a : like: .qmail-first:lastname
 
 Check the dot-qmail man page.
 
 Ken Jones



Re: [vchkpw] dot qmail processing

2004-06-09 Thread Rick Widmer

Pascal DeMilly wrote:
Thanks that did it. Another question. How can I drop a message? (kind of
like contredirect /dev/null)
A .qmail file with a one line comment will discard mail.
.qmail-blackhole:
--
#
--
Rick


Re: [vchkpw] dot qmail processing

2004-06-09 Thread Pascal DeMilly
But what if I want to drop some mail based on the criteria but accept
other for a particular address.

On Wed, 2004-06-09 at 14:59, Rick Widmer wrote:
 Pascal DeMilly wrote:
 
  Thanks that did it. Another question. How can I drop a message? (kind of
  like contredirect /dev/null)
 
 A .qmail file with a one line comment will discard mail.
 
 .qmail-blackhole:
 --
 #
 --
 
 
 Rick
 



Re: [vchkpw] dot qmail processing

2004-06-09 Thread Ken Jones
On Wednesday 09 June 2004 5:09 pm, Pascal DeMilly wrote:
 But what if I want to drop some mail based on the criteria but accept
 other for a particular address.

You might want to look around on the net for the answer to that one.
Basicly, you will need to send the email through a program that will make that 
decision and return the proper exit codes

Ken Jones


Re: [vchkpw] dot qmail processing

2004-06-09 Thread Paul Oehler
 A .qmail file with a one line comment will discard mail.

 .qmail-blackhole:
 --
 #
 --

 Rick

Out of curiosity, is this a documented feature?  I don't remember ever
reading this anywhere.

Paul