Hi Jake and all,

Sorry to jump in the middle of a thread, but reading this sounds basically
the same as what I am after.  I want to forward a copy of all email aimed at
a particular user.  If I configure taps for
[EMAIL PROTECTED]:[EMAIL PROTECTED], will that basically match only email
aimed at [EMAIL PROTECTED], effectively matching the to address?

Is there any catch or is it that straight forward?  So my steps basically
are as follows?

1 touch /var/qmail/control/taps 
2 vi /var/qmail/control/taps
3 add [EMAIL PROTECTED]:other......

So is taps installed by default and all I need is to create the taps file,
or is there a particular toaster package that needs to be installed?

Thanks.

-----Original Message-----
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: 17 August 2008 11:52
To: [email protected]
Subject: Re: [qmailtoaster] Redirect Email via From Field..

BadServo wrote:
> Odd.  After sending another email, it suddenly began working.  I've no 
> idea why it failed to work in the past.  Could ClamAV have been 
> hindering Maildrop?  Becuase the only changes I've made since today's 
> testing and yesterdays attempts was to disable ClamAV.
>

Possible I guess. Maildrop is called by simscan, so if clam was tying it 
up you would have to wait for that to finish before it would reload it's 
process.

> Three other questions...
>
> Firstly, there's a ton of material in /etc/mail/mailfilter is it safe 
> to leave it and let it call the user-specific .mailfilter?  Or should 
> I strip it down?
> Secondly, how can I enable this globally for all users?  Instead of 
> creating a .qmail and .mailfilter file for each individual is there a 
> global setting that will make all incoming mail from the address get 
> redirected?
> Lastly, can I specify multiple copies of the redirection scripts in 
> .qmail in order to redirect mail from multiple addresses?
>
> That's so much for the help.  You've no idea how much I appreciate it.
>

The /etc/mail/mailfilter script is for spam.  If you read through it 
you'll see that it examines the score of messages, and if MATCH >= 12 (I 
think that's the default) it will deliver to the user's Spam folder.  
It's up to you, depending on your situation, whether or not to loave it in.
To turn it on for all users, you would need to recompile the qmailadmin 
package with the spambox option on (look in the wiki, it's well 
documented) and then turn the "Spam detection" on for each user and it 
would then use .mailfilter files if they exist for those users.  Or you 
can write a script that puts the needed .qmail entry in each user's folder.
And no, the .qmail file is only called when mail for that user is 
delivered.  You may be able to modify the .qmail-default file to do what 
you want.

And as a side note, you can forward mail while leaving a copy in the 
user's folder.  You may also want to look at taps (check the wiki) which 
for almost exactly what you're trying to do (archive mail).


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to