[TriLUG] help with procmail/postfix

Tom Woods twoods at tomnkim.us
Tue Jul 29 23:33:07 EDT 2003


Yes... mostly!  The TriLUG recipe seems to work fine.  I had trouble with
the check for duplicates recipe, so I've #'d it out until I can try to
figure out exactly what it's doing.  Below is my .procmailrc as it stands
today (much of it directly "borrowed" from your file.)

Also, the backup of 100 messages seems to actually backup 32 messages,
each in their own file.  Is that right?

One more question...  In the mail class, someone mentioned that they use
the trilug server as their backup mail server for their domain, I think. 
Is that something that's allowed?  If so, what needs to be done to set it
up?

Thanks again for your help!  I'm starting to get hooked on this stuff.

<.procmailrc>

LOGFILE=$HOME/logs/procmail.log
MAILDIR=$HOME/mail
MAILINGLISTDIR=$MAILDIR/Lists

#################################################################
# Create a backup cache of 100 most recent messages in case of
# mistakes.  Backups are left in the directory $MAILDIR/backup/
#################################################################
:0 c
backup

:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`

#################################################################
# Check for duplicate messages.
#################################################################
#:0 Wh: msgid.lock
#| formail -D 8192 $HOME/logs/msgid.cache

# Here's my trilug list recipe. :-)
# Note that the List-Id line should be all on one line.
:0 :
* ^List-Id: Triangle Linux Users Group discussion list <trilug.trilug.org>
* ^Subject.*\[TriLUG
$MAILINGLISTDIR/TriLUG

:0 :
* List-Id: User mailinglist for the IPCop project.
<ipcop-user.lists.sourceforge.net>
* Subject.*\[IPCop
$MAILINGLISTDIR/IPCop-user

# Catch spam :-)
:0:
* ^X-Spam-Status: Yes
$MAILINGLISTDIR/Spam

:0:
* ^X-Spam-Flag: YES
$MAILINGLISTDIR/Spam

</.procmailrc>


> Tom Woods wrote:
>
>> Great info!  Thanks!  I've incorporated a lot of this into my own
>> file.  Here's hoping this message makes it into my TriLUG list folder.
>>
>> Thanks to everyone who helped.
>>
>> Tom
>>
>
> So, inquiring minds want to know? Did it work? :-)
> Just curious because I noticed I may have screwed up my
> trilug recipe:
>
>>># Here's my trilug list recipe. :-)
>>># Note that the List-Id line should be all on one line.
>>>
>>>:0 :
>>>* ^List-Id: Triangle Linux Users Group discussion list
>>><trilug.trilug.org> * ^Subject.*\[TriLUG
>>>$MAILINGLISTDIR/trilug
>
> Each * is supposed to start a new line like this:
>
> :0 :
> * ^List-Id.*<trilug.trilug.org>
> * ^Subject.*\[TriLUG
> $MAILINGLISTSDIR/trilug
>
> (Note that I shortened the List-Id line this time, but it should
> still work ok).
>
> Cheers,
> Tanner
>
> --
> Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
> --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- GPG
> Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4 GPG Key
> can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
> --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
>   This would be a very good time to hang out with the Open Source
>   people, before they get formally reclassified as a national security
> threat. -- Bruce Sterling
>
>
>
> --
> TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ
> : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc






More information about the TriLUG mailing list