On Fri, 2006-01-06 at 14:07 +0100, Heinrich Rebehn wrote:
> Ron Johnson wrote:
> > On Thu, 2006-01-05 at 13:24 -0500, Marty Landman wrote:
> >>At 12:54 PM 1/5/2006, Ron Johnson wrote:
> >>>On Thu, 2006-01-05 at 11:27 -0500, celejar wrote:
> >>>
[snip]
> >>
> >>Couldn't you write something which reads /var/mail/$userid?
> > 
> > 
> > That's presuming the mail handler puts mail in the mail spool,
> > instead of POP (to be picked up by the MUA) or IMAP.
> > 
> Mail is always delivered to the mail spool. The POP or IMAP daemons pick 
          ^^^^^^
> it up from there and deliver it to the MUA.

I don't think so.

On my system, at least, mail is piped from fetchmail to postfix,
to spamassassin, back to postfix, and then to maildrop, which writes
it into the proper Maildir folder.

> How about piping in .forward? Like:
> 
> |/usr/local/bin/mailcmd.sh
> 
> This would feed your mail into mailcmd.sh
> 
> The script is executed under the account of the mail recipient. Note 
> that some MUAs refuse to execute scripts as root.


-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA

"The idea that a congressman would be tainted by accepting money
from private industry or private sources is essentially a
socialist argument."
Speaker Newt Gingrich (R-GA)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to