Re: procmail don't work
Timeboy <timohart@gmx.at> writes:
>
> I'ts bad! But i don't know that. In a RadHat book i've read that in
> most cases procmail will work automaticly with the installed MTA and
> there is no neccessery thing to do. In man procmail i've read that i
> need this .forward file if procmail is not installed as default MDA.
>
> I don't use the .forward file. And i don't know how to set procmail
> as dafault MDA. Is that so automaticly if i only have procmail
> installed as MDA?
If you use Exim then you should be able to use Procmail without a forward
file. Exim will find Procmail and use it.
>
> I only installed procmail and wrote this .procmailrc:
>
> MAILDIR=$HOME/mail
> DEFAULT=$MAILDIR/inbox
> LOGFILE=$MAILDIR/procmail
Hmmm Try somthing like this.......
SHELL=/bin/bash
LINEBUF=4096
PATH=/bin:/usr/bin:/usr/local/bin
VERBOSE=off
DEFAULT=$HOME/.incoming/other.spool
MAILDIR=$HOME/.incoming
LOGFILE=$HOME/Mail/procmaillog
FORMAIL=/usr/bin/formail
SENDMAIL=/usr/sbin/sendmail
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# RECIPE SECTION. first some useful tricks, then mailing list stuff.
# Back-p cache of 100 most recent messages in case of mistakes
:0 c
backup
:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,200d`
# Nuke duplicate messages
:0 Wh: msgid.lock
| $FORMAIL -D 8192 msgid.cache
# Regenerate "From" lines to make sure they are valid (old problem)
:0 fhw
| formail -I "From " -a "From "
# THE DEBIAN LISTS!
:0:
* ^TOdebian-user@lists.debian.org
debian.spool
:0:
* ^TOdebian-emacsen@lists.debian.org
debian-emacsen.spool
:0:
* ^TOdebian-devel@lists.debian.org
debian-devel.spool
Glyn
--
**************************************************
* Here we are then....... *
* http://members.tripod.co.uk/Christchurch2000uk *
**************************************************
Reply to: