[olug] Procmail?
Brian Roberson
roberson at olug.org
Wed Oct 16 20:28:13 UTC 2002
I am no postfix guru, but are you sure .forward files are enabled in the MTA configuration? Your procmail config looks fine BTW.
And just for grins, I know I have learned ALOT about procmail over the years just by looking at other people's recipe's.... so here is mine...
############################################
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/unfiltered
LOGFILE=$MAILDIR/procmail.log
LOCKFILE=$HOME/.lockmail
:0:
* ^Subject:.*\[olug\]
olug
:0:
* ^Subject:.*\[nsp\]
cisco-nsp
:0:
* ^To:.*qmail at list.cr.yp.to
qmail
:0:
* ^To:.*@bstc.net
bstc
:0:
* ^To:.*@samba.org
samba
:0:
* ^Subject:.*\[brian-save\]
save
:0:
* ^To:.*@list.nessus.org
nessus
########################################################
On Wed, Oct 16, 2002 at 03:41:21PM -0500, William E. Kempf wrote:
> Bear with me... yet another Linux setup frustration on my part, and I am a
> newbie.
>
> Running Mandrake 9.0 (finally settled on a Distro, I think, as this is one
> nice setup). Running Postfix as the MTA, and that configuration appears to
> check out. I can send e-mail to an outside account, as well to an inside
> account, which appears in the /var/spool/mail/wekempf file. I've also got
> Fetchmail configured and running, and it's polling my Cox mail account and
> depositing the mail in /var/spool/mail/wekempf.
>
> I've tried to configure procmail to route the e-mail to my $HOME/Mail
> directory structure. Here's the relevant files in my $HOME directory.
>
> # .procmailrc
> SHELL=/bin/sh
> PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin
> MAILDIR=$HOME/Mail
> DEFAULT=$MAILDIR/inbox
> PMDIR=$HOME/tmp/procmail
> LOGFILE=$PMDIR/log
> :0:
> * ^TO_wekempf at cox.net
> inbox
>
> # .forward
> |/usr/bin/procmail
>
> Mail still winds up in /var/spool/mail/wekempf file instead of $HOME/Mail.
> What do I not understand about either the configuration or how things are
> supposed to work here?
>
> Bill Kempf
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list