Re: [vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-16 Thread Joseph Santaniello

Thanks for the help everyone.

Since this is a prod box and people are breathing down my neck to get it
to work, I decided to hack qmailadmin instead.

Looking forward to the release!

Joseph


On Tue, 2002-10-15 at 23:17, Ken Jones wrote:
> Handling error code returns from "exec'd" scripts in vdelivermail
> has been added (two folks sent in patches including Dzuy).
> It will be released later this week after more testing.
> 
> Ken Jones
> 
> On Tuesday 15 October 2002 02:36 pm, Dzuy Nguyen wrote:
> > There is a bug in vdelivermail.c which was discussed in earlier threads.
> >  I suggested a fix for 5.3.7 but
> > am not sure if it made it into the latest version.  You can search on
> > past threads for details.
> >
> > [EMAIL PROTECTED] wrote:
> > >Hello All,
> > >
> > >I have:
> > >
> > >vpopmail-5.2.1
> > >qmail-1.03
> > >maildrop-1.4.0
> > >qmailadmin-1.0.6
> > >
> > >among other things running on RH 7.3
> > >
> > >I have the .qmail-default file for each of my virtual domains read like 
> this:
> > >| preline maildrop /home/vpopmail/mailfilter
> > >
> > >where mailfilter reads:
> > >
> > ># line below only wrapped in mail message...
> > >VPOP="| /home/vpopmail/bin/vdelivermail ''
> > >/home/vpopmail/domains/$HOST/postmaster"
> > >VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
> > >
> > >if ( $SIZE < 262144 )
> > >{
> > >exception {
> > >xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
> > >}
> > >}
> > >
> > >if (/^X-Spam-Flag: *YES/)
> > >{
> > >exception {
> > >to /home/vpopmail/domains/spam/postmaster/Maildir/
> > >}
> > >}
> > >else
> > >{
> > >exception {
> > >to "$VPOP"
> > >}
> > >}
> > >
> > >And this works fine, except for forwarding from a users .qmail file.
> > >..qmail-whatever files in the domain directory work fine, but $USER/.qmail
> > >doesn't work with the:
> > >
> > >&[EMAIL PROTECTED]
> > >
> > >format.
> > >
> > >|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
> > >
> > >When I disable my maildrop in the .qmail-default and just call vpopdeliver
> > >the &[EMAIL PROTECTED] format in $USER/.qmail works.
> > >
> > >What have I broken with my mailfilter?
> > >
> > >I want all my virtual domains to have postmaster as their catchall and I
> > >want all mail tagged as spam to end up in a common location. But I need
> > >the forwarding functionality to work via qmailadmin...
> > >
> > >All suggestions greatly appreciated.
> > >
> > >Joseph
> 
> 
-- 
Joseph Santaniello
UniWeb AS

33 33 38 20





Re: [vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread Ken Jones

Handling error code returns from "exec'd" scripts in vdelivermail
has been added (two folks sent in patches including Dzuy).
It will be released later this week after more testing.

Ken Jones

On Tuesday 15 October 2002 02:36 pm, Dzuy Nguyen wrote:
> There is a bug in vdelivermail.c which was discussed in earlier threads.
>  I suggested a fix for 5.3.7 but
> am not sure if it made it into the latest version.  You can search on
> past threads for details.
>
> [EMAIL PROTECTED] wrote:
> >Hello All,
> >
> >I have:
> >
> >vpopmail-5.2.1
> >qmail-1.03
> >maildrop-1.4.0
> >qmailadmin-1.0.6
> >
> >among other things running on RH 7.3
> >
> >I have the .qmail-default file for each of my virtual domains read like 
this:
> >| preline maildrop /home/vpopmail/mailfilter
> >
> >where mailfilter reads:
> >
> ># line below only wrapped in mail message...
> >VPOP="| /home/vpopmail/bin/vdelivermail ''
> >/home/vpopmail/domains/$HOST/postmaster"
> >VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
> >
> >if ( $SIZE < 262144 )
> >{
> >exception {
> >xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
> >}
> >}
> >
> >if (/^X-Spam-Flag: *YES/)
> >{
> >exception {
> >to /home/vpopmail/domains/spam/postmaster/Maildir/
> >}
> >}
> >else
> >{
> >exception {
> >to "$VPOP"
> >}
> >}
> >
> >And this works fine, except for forwarding from a users .qmail file.
> >..qmail-whatever files in the domain directory work fine, but $USER/.qmail
> >doesn't work with the:
> >
> >&[EMAIL PROTECTED]
> >
> >format.
> >
> >|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
> >
> >When I disable my maildrop in the .qmail-default and just call vpopdeliver
> >the &[EMAIL PROTECTED] format in $USER/.qmail works.
> >
> >What have I broken with my mailfilter?
> >
> >I want all my virtual domains to have postmaster as their catchall and I
> >want all mail tagged as spam to end up in a common location. But I need
> >the forwarding functionality to work via qmailadmin...
> >
> >All suggestions greatly appreciated.
> >
> >Joseph





Re: [vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread Dzuy Nguyen

There is a bug in vdelivermail.c which was discussed in earlier threads. 
 I suggested a fix for 5.3.7 but
am not sure if it made it into the latest version.  You can search on 
past threads for details.

[EMAIL PROTECTED] wrote:

>Hello All,
>
>I have:
>
>vpopmail-5.2.1
>qmail-1.03
>maildrop-1.4.0
>qmailadmin-1.0.6
>
>among other things running on RH 7.3
>
>I have the .qmail-default file for each of my virtual domains read like this:
>
>| preline maildrop /home/vpopmail/mailfilter
>
>where mailfilter reads:
>
># line below only wrapped in mail message...
>VPOP="| /home/vpopmail/bin/vdelivermail '' 
>/home/vpopmail/domains/$HOST/postmaster"
>VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
>
>if ( $SIZE < 262144 )
>{
>exception {
>xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
>}
>}
>
>if (/^X-Spam-Flag: *YES/)
>{
>exception {
>to /home/vpopmail/domains/spam/postmaster/Maildir/
>}
>}
>else
>{
>exception {
>to "$VPOP"
>}
>}
>
>And this works fine, except for forwarding from a users .qmail file.
>..qmail-whatever files in the domain directory work fine, but $USER/.qmail
>doesn't work with the:
>
>&[EMAIL PROTECTED]
>
>format.
>
>|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
>When I disable my maildrop in the .qmail-default and just call vpopdeliver
>the &[EMAIL PROTECTED] format in $USER/.qmail works.
>
>What have I broken with my mailfilter?
>
>I want all my virtual domains to have postmaster as their catchall and I
>want all mail tagged as spam to end up in a common location. But I need
>the forwarding functionality to work via qmailadmin...
>
>All suggestions greatly appreciated.
>
>Joseph
>
>
>
>
>






[vchkpw] Problems with forwarding from .qmail using maildrop

2002-10-15 Thread joseph

Hello All,

I have:

vpopmail-5.2.1
qmail-1.03
maildrop-1.4.0
qmailadmin-1.0.6

among other things running on RH 7.3

I have the .qmail-default file for each of my virtual domains read like this:

| preline maildrop /home/vpopmail/mailfilter

where mailfilter reads:

# line below only wrapped in mail message...
VPOP="| /home/vpopmail/bin/vdelivermail '' 
/home/vpopmail/domains/$HOST/postmaster"
VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`

if ( $SIZE < 262144 )
{
exception {
xfilter "/usr/bin/spamc -f -u $EXT@$HOST"
}
}

if (/^X-Spam-Flag: *YES/)
{
exception {
to /home/vpopmail/domains/spam/postmaster/Maildir/
}
}
else
{
exception {
to "$VPOP"
}
}

And this works fine, except for forwarding from a users .qmail file.
..qmail-whatever files in the domain directory work fine, but $USER/.qmail
doesn't work with the:

&[EMAIL PROTECTED]

format.

|forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format.
When I disable my maildrop in the .qmail-default and just call vpopdeliver
the &[EMAIL PROTECTED] format in $USER/.qmail works.

What have I broken with my mailfilter?

I want all my virtual domains to have postmaster as their catchall and I
want all mail tagged as spam to end up in a common location. But I need
the forwarding functionality to work via qmailadmin...

All suggestions greatly appreciated.

Joseph