Re: [SLUG] files for Paul

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Jan 20 2003 - 21:06:54 EST


On Mon, Jan 20, 2003 at 07:54:20PM -0500, John wrote:

> On Mon, 20 Jan 2003 18:10:11 -0500, Paul M Foster wrote:
>
> -> While you can do this, the .forward file is better used for
> things like
> -> forwarding mail destined for root to another user, and things
> like that.
> -> In order to have fetchmail hand off the mail directly to
> procmail, you
> -> can append the following line to your .fetchmailrc:
> ->
> -> mda "/usr/bin/procmail -d"
>
> AHA! I was wondering about that. This is how to skip the step
> of using sendmail as a transfer agent, right? Thanks!

Yep. Fetchmail just hands it off to procmail. Sendmail goes, "Wha--?"
;-}

Actually, I believe you can run procmail with no arguments. The -d
option requires a second argument which specifies the recipient, and is
really only useful if root is picking up mail for someone else (which
is, I guess in your case, what's going on). The full line I have in my
.fetchmailrc is:

mda "/usr/bin/procmail -d %T"

The %T is not documented in the man page, and I don't know what it
means. You might want it to be

mda "/usr/bin/procmail -d john"

I have it in there for some unknown historical reason. (Something like,
if it ain't broke....)

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:39:14 EDT