Thank You so much you answered a much need question of mine.  How do you
pipe that alias to like nothing, /dev/null.  Thank you.
----- Original Message -----
From: "Peter Palmreuther" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 8:41 AM
Subject: Re: some troubles


> Hello Yuri,
>
> DG> Edit the .qmail-default file for all mail to a domain.  Also, if you
> DG> want an individuals' email to go to 2 or more addresses, make a .qmail
> DG> for their directory (not in the Maildir, just inside their directory).
> DG>  One email address per line.  Good luck.
>
> Or by applying a patch to qmail (and obviously recompile it).
>
> <----------------------------------------------------------------->
> diff -u -N qmail-1.03-orig/extra.h qmail-1.03/extra.h
> --- qmail-1.03-orig/extra.h     Mon Jun 15 04:53:16 1998
> +++ qmail-1.03/extra.h  Thu Jun 18 13:55:47 1998
> @@ -1,7 +1,7 @@
>  #ifndef EXTRA_H
>  #define EXTRA_H
>
> -#define QUEUE_EXTRA ""
> -#define QUEUE_EXTRALEN 0
> +#define QUEUE_EXTRA "Tmsglog\0"
> +#define QUEUE_EXTRALEN 8
>
>  #endif
> <----------------------------------------------------------------->
>
> This patch works for _ALL_ mail going through qmail on this system and is
> not 'domain based'. It sends a duplicate mail of every incoming or
outgoing
> mail to '[EMAIL PROTECTED]' with
> 'domain.com' = '`cat /var/qmail/control/me`'
>
> So you need a file in '~alias/' called '.qmail-msglog' that pipes into a
> script / program for filtering only mails to that specific domain you want
> 'to observe' based on environment variables (and/or)
>
> RECIPIENT (is  the  envelope  recipient address)
> HOST      (is the domain part of the recipient address)
> LOCAL     (is the local part)
> EXT       (is  the address extension, ext)
>
> For further information about this variables contact your local 'man'
> delivery system for 'qmail-command', e.g. 'man qmail-command' :-)))
>
> --
> Best Regards
> Peter Palmreuther                          mailto:[EMAIL PROTECTED]
> (The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)
>

Reply via email to