Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-20 Thread Eric "Shubes"
[EMAIL PROTECTED] wrote:
> Still no luck on this one - there are apparently 0 options for a "forward" 
> line
> in the .qmail file. An account is set up to either forward using &[address], 
> or
> to not forward at all.
> 
> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
> $subject !~/\*\*\* SPAM \*\*\*/)
> 
> This has become a huge issue, particularly for blackberry users.
> 

I'd look into customizing the /etc/mail/mailfilter script. It's part of the
maildrop-toaster package, so if you change it, be sure to keep a backup copy
handy because any changes would probably be clobbered by an upgrade of that
package.

-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-20 Thread curt . qt
I already tried modifying /etc/mail/mailfilter to get it to
dump local spam and TRY to abort the procedure. Here's what I inserted directly
after reading in
$VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
SPAMFORWARDDROP=1, the following executes:

if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
{
log "Message deleted as specified by .mailfilter\n"
exception {
to "/home/vpopmail/domains/[the 
domain]/postmaster/Maildir/.Spam/"
}
log "=== END ===\n"
EXITCODE=1
exit
}

This works perfectly without having to modify the smtp delivery pipe, but the
next line in .qmail which contains the forward (&[address]) still executes.

I've also tried setting EXITCODE=99 - no difference.

=


I'd look into customizing the /etc/mail/mailfilter script. It's part of the
maildrop-toaster package, so if you change it, be sure to keep a backup copy
handy because any changes would probably be clobbered by an upgrade of that
package.

--
-Eric 'shubes'

=

[EMAIL PROTECTED] wrote:
> Still no luck on this one - there are apparently 0 options for a "forward"
> line
> in the .qmail file. An account is set up to either forward using &[address],
> or
> to not forward at all.
>
> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
> $subject !~/\*\*\* SPAM \*\*\*/)
>
> This has become a huge issue, particularly for blackberry users.
>


-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-21 Thread Eric "Shubes"
Sounds like you'll need to add logic in .qmail to check the exit code from
mailfilter, and only do the forward if the exit code is 0.

[EMAIL PROTECTED] wrote:
> I already tried modifying /etc/mail/mailfilter to get it to
> dump local spam and TRY to abort the procedure. Here's what I inserted 
> directly
> after reading in
> $VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
> SPAMFORWARDDROP=1, the following executes:
> 
> if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
> {
> log "Message deleted as specified by .mailfilter\n"
> exception {
> to "/home/vpopmail/domains/[the 
> domain]/postmaster/Maildir/.Spam/"
> }
> log "=== END ===\n"
> EXITCODE=1
> exit
> }
> 
> This works perfectly without having to modify the smtp delivery pipe, but the
> next line in .qmail which contains the forward (&[address]) still executes.
> 
> I've also tried setting EXITCODE=99 - no difference.
> 
> =
> 
> 
> I'd look into customizing the /etc/mail/mailfilter script. It's part of the
> maildrop-toaster package, so if you change it, be sure to keep a backup copy
> handy because any changes would probably be clobbered by an upgrade of that
> package.
> 
> --
> -Eric 'shubes'
> 
> =
> 
> [EMAIL PROTECTED] wrote:
>> Still no luck on this one - there are apparently 0 options for a "forward"
>> line
>> in the .qmail file. An account is set up to either forward using &[address],
>> or
>> to not forward at all.
>>
>> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
>> $subject !~/\*\*\* SPAM \*\*\*/)
>>
>> This has become a huge issue, particularly for blackberry users.
>>



-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-25 Thread curt . qt
As I stated in the original request, there are apparently 0 options for a
"forward"  line in the .qmail file. An account is set up to either forward using
&[address], or to not forward at all.

How might I go about "adding logic" to a & line? (That's really the root of the
whole question)

===

Sounds like you'll need to add logic in .qmail to check the exit code from
mailfilter, and only do the forward if the exit code is 0.

[EMAIL PROTECTED] wrote:
> I already tried modifying /etc/mail/mailfilter to get it to
> dump local spam and TRY to abort the procedure. Here's what I inserted
> directly
> after reading in
> $VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
> SPAMFORWARDDROP=1, the following executes:
>
> if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
> {
> log "Message deleted as specified by .mailfilter\n"
> exception {
> to "/home/vpopmail/domains/[the
> domain]/postmaster/Maildir/.Spam/"
> }
> log "=== END ===\n"
> EXITCODE=1
> exit
> }
>
> This works perfectly without having to modify the smtp delivery pipe, but the
> next line in .qmail which contains the forward (&[address]) still executes.
>
> I've also tried setting EXITCODE=99 - no difference.
>
> =
>
>
> I'd look into customizing the /etc/mail/mailfilter script. It's part of the
> maildrop-toaster package, so if you change it, be sure to keep a backup copy
> handy because any changes would probably be clobbered by an upgrade of that
> package.
>
> --
> -Eric 'shubes'
>
> =
>
> [EMAIL PROTECTED] wrote:
>> Still no luck on this one - there are apparently 0 options for a "forward"
>> line
>> in the .qmail file. An account is set up to either forward using &[address],
>> or
>> to not forward at all.
>>
>> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
>> $subject !~/\*\*\* SPAM \*\*\*/)
>>
>> This has become a huge issue, particularly for blackberry users.
>>



--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-25 Thread Dan McAllister
Rather than using an & at the start of the line, I believe you can use a 
| and list an executable (bash or perl script)


I have NOT tried this... I'm working purely from memory back when I was 
trying to do everything in QMail by myself (that is, before I found the 
Toaster!)


I hope this helps someone!

Dan


Daniel McAllister, President

IT4SOHO, LLC
224 - 13th Avenue N
St. Petersburg, FL 33701

877-IT4SOHO: Toll Free
727-647-7646 In Pinellas
813-464-2093 In Hillsborough
727-507-9435 Fax Only

"When did you do your last backup?"

Ask me about unattended offsite backup solutions...
to protect your business, not just your data!



[EMAIL PROTECTED] wrote:

As I stated in the original request, there are apparently 0 options for a
"forward"  line in the .qmail file. An account is set up to either forward using
&[address], or to not forward at all.

How might I go about "adding logic" to a & line? (That's really the root of the
whole question)

===

Sounds like you'll need to add logic in .qmail to check the exit code from
mailfilter, and only do the forward if the exit code is 0.

[EMAIL PROTECTED] wrote:
  

I already tried modifying /etc/mail/mailfilter to get it to
dump local spam and TRY to abort the procedure. Here's what I inserted
directly
after reading in
$VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
SPAMFORWARDDROP=1, the following executes:

if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
{
log "Message deleted as specified by .mailfilter\n"
exception {
to "/home/vpopmail/domains/[the
domain]/postmaster/Maildir/.Spam/"
}
log "=== END ===\n"
EXITCODE=1
exit
}

This works perfectly without having to modify the smtp delivery pipe, but the
next line in .qmail which contains the forward (&[address]) still executes.

I've also tried setting EXITCODE=99 - no difference.

=


I'd look into customizing the /etc/mail/mailfilter script. It's part of the
maildrop-toaster package, so if you change it, be sure to keep a backup copy
handy because any changes would probably be clobbered by an upgrade of that
package.

--
-Eric 'shubes'

=

[EMAIL PROTECTED] wrote:


Still no luck on this one - there are apparently 0 options for a "forward"
line
in the .qmail file. An account is set up to either forward using &[address],
or
to not forward at all.

Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
$subject !~/\*\*\* SPAM \*\*\*/)

This has become a huge issue, particularly for blackberry users.

  




--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-25 Thread Eric "Shubes"
The .qmail file isn't a script, so you can't add logic there (that I'm aware
of). Sorry about that bit.

Have you tried
exit 99
in the maildrop script?

I don't see how the EXITCODE variable would be passed back to whatever's
calling maildrop, unless maildrop is 'sourced'. I don't know off hand how
the maildrop script is invoked.

[EMAIL PROTECTED] wrote:
> As I stated in the original request, there are apparently 0 options for a
> "forward"  line in the .qmail file. An account is set up to either forward 
> using
> &[address], or to not forward at all.
> 
> How might I go about "adding logic" to a & line? (That's really the root of 
> the
> whole question)
> 
> ===
> 
> Sounds like you'll need to add logic in .qmail to check the exit code from
> mailfilter, and only do the forward if the exit code is 0.
> 
> [EMAIL PROTECTED] wrote:
>> I already tried modifying /etc/mail/mailfilter to get it to
>> dump local spam and TRY to abort the procedure. Here's what I inserted
>> directly
>> after reading in
>> $VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
>> SPAMFORWARDDROP=1, the following executes:
>>
>> if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
>> {
>> log "Message deleted as specified by .mailfilter\n"
>> exception {
>> to "/home/vpopmail/domains/[the
>> domain]/postmaster/Maildir/.Spam/"
>> }
>> log "=== END ===\n"
>> EXITCODE=1
>> exit
>> }
>>
>> This works perfectly without having to modify the smtp delivery pipe, but the
>> next line in .qmail which contains the forward (&[address]) still executes.
>>
>> I've also tried setting EXITCODE=99 - no difference.
>>
>> =
>>
>>
>> I'd look into customizing the /etc/mail/mailfilter script. It's part of the
>> maildrop-toaster package, so if you change it, be sure to keep a backup copy
>> handy because any changes would probably be clobbered by an upgrade of that
>> package.
>>
>> --
>> -Eric 'shubes'
>>
>> =
>>
>> [EMAIL PROTECTED] wrote:
>>> Still no luck on this one - there are apparently 0 options for a "forward"
>>> line
>>> in the .qmail file. An account is set up to either forward using &[address],
>>> or
>>> to not forward at all.
>>>
>>> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
>>> $subject !~/\*\*\* SPAM \*\*\*/)
>>>
>>> This has become a huge issue, particularly for blackberry users.
>>>
> 
> 
> 
> --
> -Eric 'shubes'
> 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-26 Thread curt . qt
I just tried changing "exit" to "exit 99" - stopped delivery of everything
completely... apparently, the exit command won't take arguments in this language

===

The .qmail file isn't a script, so you can't add logic there (that I'm aware
of). Sorry about that bit.

Have you tried
exit 99
in the maildrop script?

I don't see how the EXITCODE variable would be passed back to whatever's
calling maildrop, unless maildrop is 'sourced'. I don't know off hand how
the maildrop script is invoked.

[EMAIL PROTECTED] wrote:
> As I stated in the original request, there are apparently 0 options for a
> "forward"  line in the .qmail file. An account is set up to either forward
> using
> &[address], or to not forward at all.
>
> How might I go about "adding logic" to a & line? (That's really the root of
> the
> whole question)
>
> ===
>
> Sounds like you'll need to add logic in .qmail to check the exit code from
> mailfilter, and only do the forward if the exit code is 0.
>
> [EMAIL PROTECTED] wrote:
>> I already tried modifying /etc/mail/mailfilter to get it to
>> dump local spam and TRY to abort the procedure. Here's what I inserted
>> directly
>> after reading in
>> $VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
>> SPAMFORWARDDROP=1, the following executes:
>>
>> if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
>> {
>> log "Message deleted as specified by .mailfilter\n"
>> exception {
>> to "/home/vpopmail/domains/[the
>> domain]/postmaster/Maildir/.Spam/"
>> }
>> log "=== END ===\n"
>> EXITCODE=1
>> exit
>> }
>>
>> This works perfectly without having to modify the smtp delivery pipe, but the
>> next line in .qmail which contains the forward (&[address]) still executes.
>>
>> I've also tried setting EXITCODE=99 - no difference.
>>
>> =
>>
>>
>> I'd look into customizing the /etc/mail/mailfilter script. It's part of the
>> maildrop-toaster package, so if you change it, be sure to keep a backup copy
>> handy because any changes would probably be clobbered by an upgrade of that
>> package.
>>
>> --
>> -Eric 'shubes'
>>
>> =
>>
>> [EMAIL PROTECTED] wrote:
>>> Still no luck on this one - there are apparently 0 options for a "forward"
>>> line
>>> in the .qmail file. An account is set up to either forward using &[address],
>>> or
>>> to not forward at all.
>>>
>>> Is there no way to forward ONLY IF the message meets certain criteria? (i.e.
>>> $subject !~/\*\*\* SPAM \*\*\*/)
>>>
>>> This has become a huge issue, particularly for blackberry users.
>>>
>
>
>
> --
> -Eric 'shubes'
>


--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-02-26 Thread Eric "Shubes"
Wrong conclusion. maildrop is a shell script, so the exit command is built
in, and takes a single optional argument, the exit status (aka return code).

You'll need to find where/how the maildrop script is invoked to see what's
happening there, and why delivery is terminated. I don't know off hand where
that is.

[EMAIL PROTECTED] wrote:
> I just tried changing "exit" to "exit 99" - stopped delivery of everything
> completely... apparently, the exit command won't take arguments in this 
> language
> 
> ===
> 
> The .qmail file isn't a script, so you can't add logic there (that I'm aware
> of). Sorry about that bit.
> 
> Have you tried
> exit 99
> in the maildrop script?
> 
> I don't see how the EXITCODE variable would be passed back to whatever's
> calling maildrop, unless maildrop is 'sourced'. I don't know off hand how
> the maildrop script is invoked.
> 
> [EMAIL PROTECTED] wrote:
>> As I stated in the original request, there are apparently 0 options for a
>> "forward"  line in the .qmail file. An account is set up to either forward
>> using
>> &[address], or to not forward at all.
>>
>> How might I go about "adding logic" to a & line? (That's really the root of
>> the
>> whole question)
>>
>> ===
>>
>> Sounds like you'll need to add logic in .qmail to check the exit code from
>> mailfilter, and only do the forward if the exit code is 0.
>>
>> [EMAIL PROTECTED] wrote:
>>> I already tried modifying /etc/mail/mailfilter to get it to
>>> dump local spam and TRY to abort the procedure. Here's what I inserted
>>> directly
>>> after reading in
>>> $VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
>>> SPAMFORWARDDROP=1, the following executes:
>>>
>>> if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
>>> {
>>> log "Message deleted as specified by .mailfilter\n"
>>> exception {
>>> to "/home/vpopmail/domains/[the
>>> domain]/postmaster/Maildir/.Spam/"
>>> }
>>> log "=== END ===\n"
>>> EXITCODE=1
>>> exit
>>> }
>>>
>>> This works perfectly without having to modify the smtp delivery pipe, but 
>>> the
>>> next line in .qmail which contains the forward (&[address]) still executes.
>>>
>>> I've also tried setting EXITCODE=99 - no difference.
>>>
>>> =
>>>
>>>
>>> I'd look into customizing the /etc/mail/mailfilter script. It's part of the
>>> maildrop-toaster package, so if you change it, be sure to keep a backup copy
>>> handy because any changes would probably be clobbered by an upgrade of that
>>> package.
>>>
>>> --
>>> -Eric 'shubes'
>>>
>>> =
>>>
>>> [EMAIL PROTECTED] wrote:
 Still no luck on this one - there are apparently 0 options for a "forward"
 line
 in the .qmail file. An account is set up to either forward using 
 &[address],
 or
 to not forward at all.

 Is there no way to forward ONLY IF the message meets certain criteria? 
 (i.e.
 $subject !~/\*\*\* SPAM \*\*\*/)

 This has become a huge issue, particularly for blackberry users.

>>
>>
>> --
>> -Eric 'shubes'
>>
> 
> 
> --
> -Eric 'shubes'
> 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-05-22 Thread Eric Shubert
[EMAIL PROTECTED] wrote:
> I've been having problems with accounts which are set up to simply to external
> addresses. For a standard account, the /home/vpopmail/[domain]/[user]/.qmail
> file contains the following:
> 
> |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: 
> maildrop-toaster'
> /etc/mail/mailfilter
> 
> This works perfectly. For a forwarded account, the .qmail file simply contains
> 
> &[address to forward to]
> 
> While the email does get forwarded, the forwarding of tagged spam is causing
> gray/blacklisting problems with recipient servers. Messages are still 
> processed
> via spamassassin, and the subjects rewritten with ***SPAM***, but the messages
> forward no matter what I try. I realize that this is by design and that these
> messages should be forwarded due to the possibility of false positives, but
> Yahoo keeps spitting out "451_Message_temporarily_deferred", we get greylisted
> some places, etc. The goal is to NOT forward messages tagged as spam to Yahoo,
> AOL, etc (along with a disclaimer published in the HTML of SquirrelMail), but 
> I
> have no idea how to make this happen. Can I change the .qmail "&" line to make
> it pipe through an external process which checks the spam x-header? Any help
> would be greatly appreciated.
> 

What is it you'd like to do with messages tagged as spam?

If you want to reject them, simply bring down the value for spam_hits in
/var/qmail/simcontrol to equal the value of required_score in
/etc/mail/spamassassin/local.cf. Then anything which would have been tagged
will be rejected up front.

-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-05-22 Thread curt . qt


I would like to completely dump messages tagged as spam, but only for accounts 
set to forward to an
external domain. Local spam should go to its normal .Spam folder.



What is it you'd like to do with messages tagged as spam?



If you want to reject them, simply bring down the value for spam_hits in

/var/qmail/simcontrol to equal the value of required_score in

/etc/mail/spamassassin/local.cf. Then anything which would have been tagged

will be rejected up front.



--

-Eric 'shubes'





[EMAIL PROTECTED] wrote:

> I've been having problems with
accounts which are set up to simply to external> addresses. For a standard
account, the /home/vpopmail/[domain]/[user]/.qmail> file contains the
following:>> |/var/qmail/bin/preline /usr/bin/maildrop -A
'Content-Filter:> maildrop-toaster'> /etc/mail/mailfilter>> This works 
perfectly. For a forwarded account, the .qmail file
simply contains>> &[address to forward to]>> While the email does get 
forwarded, the forwarding of tagged spam
is causing> gray/blacklisting problems with recipient servers.
Messages are still> processed> via spamassassin, and the subjects rewritten
with ***SPAM***, but the messages> forward no matter what I try. I
realize that this is by design and that these> messages should be forwarded
due to the possibility of false positives, but> Yahoo keeps spitting out
"451_Message_temporarily_deferred", we get greylisted> some
places, etc. The goal is to NOT forward messages tagged as spam to
Yahoo,> AOL, etc (along with a disclaimer published in the HTML of
SquirrelMail), but> I> have no idea how to make this happen. Can I
change the .qmail "&" line to make> it pipe through an
external process which checks the spam x-header? Any help> would
be greatly appreciated.>



-

QmailToaster hosted by: VR Hosted 

-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]







Re: [qmailtoaster] How to not forward messages marked as spam

2008-05-22 Thread Eric Shubert
You can specify only that domain in a separate record in simcontrol, with
the appropriate value for spam_hits so they'll be rejected.

[EMAIL PROTECTED] wrote:
> I would like to completely dump messages tagged as spam, but only for
> accounts set to forward to an external domain. Local spam should go to
> its normal .Spam folder.
> 
> 
> What is it you'd like to do with messages tagged as spam?
> 
> If you want to reject them, simply bring down the value for spam_hits in
> /var/qmail/simcontrol to equal the value of required_score in
> /etc/mail/spamassassin/local.cf. Then anything which would have been tagged
> will be rejected up front.
> 
> --
> -Eric 'shubes'
> 
> 
> 
> [EMAIL PROTECTED] wrote:
>> I've been having problems with accounts which are set up to simply to
> external
>> addresses. For a standard account, the
> /home/vpopmail/[domain]/[user]/.qmail
>> file contains the following:
>>
>> |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
>> maildrop-toaster'
>> /etc/mail/mailfilter
>>
>> This works perfectly. For a forwarded account, the .qmail file simply
> contains
>>
>> &[address to forward to]
>>
>> While the email does get forwarded, the forwarding of tagged spam is
> causing
>> gray/blacklisting problems with recipient servers. Messages are still
>> processed
>> via spamassassin, and the subjects rewritten with ***SPAM***, but the
> messages
>> forward no matter what I try. I realize that this is by design and that
> these
>> messages should be forwarded due to the possibility of false positives, but
>> Yahoo keeps spitting out "451_Message_temporarily_deferred", we get
> greylisted
>> some places, etc. The goal is to NOT forward messages tagged as spam to
> Yahoo,
>> AOL, etc (along with a disclaimer published in the HTML of
> SquirrelMail), but
>> I
>> have no idea how to make this happen. Can I change the .qmail "&" line
> to make
>> it pipe through an external process which checks the spam x-header? Any
> help
>> would be greatly appreciated.
>>
> 
> -
> QmailToaster hosted by: VR Hosted 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] How to not forward messages marked as spam

2008-05-23 Thread curt . qt


If I understand simscan / simcontrol functions, you can only specify global,
local domain, or specific user settings. There are many virtual domains hosted
on the server, and I don't want to just specify spam dropping for any single
domain - I want to be able to drop spam if any single account is set to forward
its email to an external domain.



In other words, for all local domains, I want to drop spam if any account is set
up to forward its email to an external server. Ideally, this would also be set
up for simple forwards as well.



So, I need to drop spam for:


Forwards (ideally, only forwards to external domains... [EMAIL PROTECTED],
[EMAIL PROTECTED], etc)
Standard accounts with the "Forward To:" radio button selected
in qmailadmin. (user's .qmail file = &[EMAIL PROTECTED])





You can specify only that domain in a separate record in simcontrol, with

the appropriate value for spam_hits so they'll be rejected.



[EMAIL PROTECTED] wrote:

> I would like to completely dump messages tagged as spam, but only for

> accounts set to forward to an external domain. Local spam should go to

> its normal .Spam folder.

> 

>

> What is it you'd like to do with messages tagged as spam?

>

> If you want to reject them, simply bring down the value for spam_hits in

> /var/qmail/simcontrol to equal the value of required_score in

> /etc/mail/spamassassin/local.cf. Then anything which would have been
tagged

> will be rejected up front.

>

> --

> -Eric 'shubes'

>

> 

>

> [EMAIL PROTECTED] wrote:

>> I've been having problems with accounts which are set up to simply to

> external

>> addresses. For a standard account, the

> /home/vpopmail/[domain]/[user]/.qmail

>> file contains the following:

>>

>> |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:

>> maildrop-toaster'

>> /etc/mail/mailfilter

>>

>> This works perfectly. For a forwarded account, the .qmail file simply

> contains

>>

>> &[address to forward to]

>>

>> While the email does get forwarded, the forwarding of tagged spam is

> causing

>> gray/blacklisting problems with recipient servers. Messages are still

>> processed

>> via spamassassin, and the subjects rewritten with ***SPAM***, but the

> messages

>> forward no matter what I try. I realize that this is by design and
that

> these

>> messages should be forwarded due to the possibility of false positives,
but

>> Yahoo keeps spitting out "451_Message_temporarily_deferred",
we get

> greylisted

>> some places, etc. The goal is to NOT forward messages tagged as spam
to

> Yahoo,

>> AOL, etc (along with a disclaimer published in the HTML of

> SquirrelMail), but

>> I

>> have no idea how to make this happen. Can I change the .qmail
"&" line

> to make

>> it pipe through an external process which checks the spam x-header?
Any

> help

>> would be greatly appreciated.

>>

>

> -

> QmailToaster hosted by: VR Hosted 

> -

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

>

>





--

-Eric 'shubes'



-

QmailToaster hosted by: VR Hosted 

-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]







Re: [qmailtoaster] How to not forward messages marked as spam

2008-05-23 Thread Eric Shubert
You'd need to add a simcontrol record for each user that is forwarded
externally. This would need to be done manually, and could be an
administrative nightmare at an ISP level. I suppose you could modify
qmailadmin to handle it automatically though.

[EMAIL PROTECTED] wrote:
> If I understand simscan / simcontrol functions, you can only specify
> global, local domain, or specific user settings. There are many virtual
> domains hosted on the server, and I don't want to just specify spam
> dropping for any single domain - I want to be able to drop spam if any
> single account is set to forward its email to an external domain.
> 
> In other words, for all local domains, I want to drop spam if any
> account is set up to forward its email to an external server. Ideally,
> this would also be set up for simple forwards as well.
> 
> So, I need to drop spam for:
> 
> * Forwards (ideally, only forwards to external domains...
>   [EMAIL PROTECTED], [EMAIL PROTECTED], etc)
> * Standard accounts with the "Forward To:" radio button selected in
>   qmailadmin. (user's .qmail file = &[EMAIL PROTECTED])
> 
> 
> 
> 
> You can specify only that domain in a separate record in simcontrol, with
> the appropriate value for spam_hits so they'll be rejected.
> 
> [EMAIL PROTECTED] wrote:
>> I would like to completely dump messages tagged as spam, but only for
>> accounts set to forward to an external domain. Local spam should go to
>> its normal .Spam folder.
>> 
>>
>> What is it you'd like to do with messages tagged as spam?
>>
>> If you want to reject them, simply bring down the value for spam_hits in
>> /var/qmail/simcontrol to equal the value of required_score in
>> /etc/mail/spamassassin/local.cf. Then anything which would have been
> tagged
>> will be rejected up front.
>>
>> --
>> -Eric 'shubes'
>>
>> 
>>
>> [EMAIL PROTECTED] wrote:
>>> I've been having problems with accounts which are set up to simply to
>> external
>>> addresses. For a standard account, the
>> /home/vpopmail/[domain]/[user]/.qmail
>>> file contains the following:
>>>
>>> |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
>>> maildrop-toaster'
>>> /etc/mail/mailfilter
>>>
>>> This works perfectly. For a forwarded account, the .qmail file simply
>> contains
>>>
>>> &[address to forward to]
>>>
>>> While the email does get forwarded, the forwarding of tagged spam is
>> causing
>>> gray/blacklisting problems with recipient servers. Messages are still
>>> processed
>>> via spamassassin, and the subjects rewritten with ***SPAM***, but the
>> messages
>>> forward no matter what I try. I realize that this is by design and that
>> these
>>> messages should be forwarded due to the possibility of false
> positives, but
>>> Yahoo keeps spitting out "451_Message_temporarily_deferred", we get
>> greylisted
>>> some places, etc. The goal is to NOT forward messages tagged as spam to
>> Yahoo,
>>> AOL, etc (along with a disclaimer published in the HTML of
>> SquirrelMail), but
>>> I
>>> have no idea how to make this happen. Can I change the .qmail "&" line
>> to make
>>> it pipe through an external process which checks the spam x-header? Any
>> help
>>> would be greatly appreciated.
>>>
>>
>> -
>> QmailToaster hosted by: VR Hosted 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> --
> -Eric 'shubes'
> 
> -
> QmailToaster hosted by: VR Hosted 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] How to not forward messages marked as spam

2008-05-23 Thread Tim Mancour
There is the following on the wiki -
http://wiki.qmailtoaster.com/index.php/Simscan 

-Original Message-
From: Eric Shubert [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 23, 2008 11:56 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] How to not forward messages marked as spam

You'd need to add a simcontrol record for each user that is forwarded
externally. This would need to be done manually, and could be an
administrative nightmare at an ISP level. I suppose you could modify
qmailadmin to handle it automatically though.

[EMAIL PROTECTED] wrote:
> If I understand simscan / simcontrol functions, you can only specify 
> global, local domain, or specific user settings. There are many 
> virtual domains hosted on the server, and I don't want to just specify 
> spam dropping for any single domain - I want to be able to drop spam 
> if any single account is set to forward its email to an external domain.
> 
> In other words, for all local domains, I want to drop spam if any 
> account is set up to forward its email to an external server. Ideally, 
> this would also be set up for simple forwards as well.
> 
> So, I need to drop spam for:
> 
> * Forwards (ideally, only forwards to external domains...
>   [EMAIL PROTECTED], [EMAIL PROTECTED], etc)
> * Standard accounts with the "Forward To:" radio button selected in
>   qmailadmin. (user's .qmail file = &[EMAIL PROTECTED])
> 
> 
> --
> --
> 
> You can specify only that domain in a separate record in simcontrol, 
> with the appropriate value for spam_hits so they'll be rejected.
> 
> [EMAIL PROTECTED] wrote:
>> I would like to completely dump messages tagged as spam, but only for 
>> accounts set to forward to an external domain. Local spam should go 
>> to its normal .Spam folder.
>> -
>> ---
>>
>> What is it you'd like to do with messages tagged as spam?
>>
>> If you want to reject them, simply bring down the value for spam_hits 
>> in /var/qmail/simcontrol to equal the value of required_score in 
>> /etc/mail/spamassassin/local.cf. Then anything which would have been
> tagged
>> will be rejected up front.
>>
>> --
>> -Eric 'shubes'
>>
>> -
>> ---
>>
>> [EMAIL PROTECTED] wrote:
>>> I've been having problems with accounts which are set up to simply 
>>> to
>> external
>>> addresses. For a standard account, the
>> /home/vpopmail/[domain]/[user]/.qmail
>>> file contains the following:
>>>
>>> |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter:
>>> maildrop-toaster'
>>> /etc/mail/mailfilter
>>>
>>> This works perfectly. For a forwarded account, the .qmail file 
>>> simply
>> contains
>>>
>>> &[address to forward to]
>>>
>>> While the email does get forwarded, the forwarding of tagged spam is
>> causing
>>> gray/blacklisting problems with recipient servers. Messages are 
>>> still processed via spamassassin, and the subjects rewritten with 
>>> ***SPAM***, but the
>> messages
>>> forward no matter what I try. I realize that this is by design and 
>>> that
>> these
>>> messages should be forwarded due to the possibility of false
> positives, but
>>> Yahoo keeps spitting out "451_Message_temporarily_deferred", we get
>> greylisted
>>> some places, etc. The goal is to NOT forward messages tagged as spam 
>>> to
>> Yahoo,
>>> AOL, etc (along with a disclaimer published in the HTML of
>> SquirrelMail), but
>>> I
>>> have no idea how to make this happen. Can I change the .qmail "&" 
>>> line
>> to make
>>> it pipe through an external process which checks the spam x-header? 
>>> Any
>> help
>>> would be greatly appreciated.
>>>
>>
>> -
>> QmailToaster hosted by: VR Hosted <http://www.vr.org>
>> -
>> To unsubscribe, e-mail: 
>> [EMAIL PROTECTED]
>> For additional commands, e-mail: 
>> [EMAIL PROTECTED]
>>
>>
> 
> 
> --
> -Eric 'shubes'
> 
> -
> QmailToaster hosted by: VR Hosted <http://ww