[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-procmail method of filtering email and bypassing /var/mail/<user> storage?



Removing the \ehood section of the .forward file prevented the email getting 
to MHonArc.
Does anyone have any other ideas on these issues?

TIA.

Harvey

Harvey Tokunaga wrote: 
Gunnar Hjalmarsson wrote: 

http://www.mhonarc.org/MHonArc/doc/faq/archives.html#forward


Also, I wrote a help script for MHonArc that, among other things,
can be used as such a wrapper:

http://www.gunnar.cc/mhonarc/mhastart.pl.html 

I've browsed your doc but I don't think it addresses my issues.


My questions are:
1.  How do I sort emails titled "Subject 1" to archive 1 and
"Subject 2" to archive 2?  I don't have access to procmail at this
time.
2.  How do I avoid sending emails to /var/mail/<user> and, instead,
process them directly into MHonArc?  It seems that using a .forward
file still keeps a copy in my Unix mbox.  I know there are methods
to remove mbox entries after the fact but can I bypass it
completely?

Sorry, I should have said that I didn't even try to address the first
question, and maybe I misunderstood the second. :(

This is the example in the FAQ:

\ehood, "|/home/ehood/bin/webnewmail #ehood"


If I haven't misunderstood anything, you prevent that a copy is kept
by skipping the

\ehood,

part.


As regards the first question, and provided that you are using a
wrapper program, I suppose that you would need to write some code that
parses the message headers and make the -outdir option dependent on
"Subject:".

HTH


--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl





---- Original message ----
>Date: Fri, 9 Jan 2004 08:05:07 -0800
>From: Harvey Tokunaga <harvey@xxxxxxxxxxxxx>  
>Subject: Re: Non-procmail method of filtering email and 
bypassing /var/mail/<user> storage?  
>To: mhonarc-users@xxxxxxxxxxx
>
>Gunnar,
>I've browsed your doc but I don't think it addresses my issues.  
>
>My questions are:
>1.  How do I sort emails titled "Subject 1" to archive 1 and "Subject 2" to 
>archive 2?  I don't have access to procmail at this time.
>2.  How do I avoid sending emails to /var/mail/<user> and, instead, process 
>them directly into MHonArc?  It seems that using a .forward file still keeps 
a 
>copy in my Unix mbox.  I know there are methods to remove mbox entries after 
>the fact but can I bypass it completely?
>
>Thanks,
>Harvey
>
>
>---- Original message ----
>>Date: Fri, 09 Jan 2004 06:52:02 +0100
>>From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>  
>>Subject: Re: Non-procmail method of filtering email and 
>bypassing /var/mail/<user> storage?  
>>To: mhonarc-users@xxxxxxxxxxx
>>
>>Harvey Tokunaga wrote:
>>> I've read the posts about using procmail's "recipe" method to sort
>>> emails into MHonArc archives.  Is there another method I can use if
>>> procmail isn't available on my server?
>>> 
>>> I currently use the .forward file to process my emails and am also
>>> wondering if there is a way to bypass storing emails in
>>> /var/mail/<user> and processing directly into MHonArc.
>>
>>That is discussed in the FAQ:
>>
>>     http://www.mhonarc.org/MHonArc/doc/faq/archives.html#forward
>>
>>Also, I wrote a help script for MHonArc that, among other things, can
>>be used as such a wrapper:
>>
>>     http://www.gunnar.cc/mhonarc/mhastart.pl.html
>>
>>-- 
>>Gunnar Hjalmarsson
>>Email: http://www.gunnar.cc/cgi-bin/contact.pl
>>
>>
>


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]