Tis best not to top post, Phil. But I can adapt....
I use personalized procmail. So I have a ~/.procmailrc for each
user. Mine contains lines like this resulting from people, sites,
or incidents that irritated me enough I don't want to be reminded.
===8<---
:0:
* ^From: Postmaster@xxxxxxxxxxxxxxxxxx
/dev/null
:0:
* ^From: AntiSpam UOL <.*@uol.com.br>
#/dev/null
$HOME/mail/uol_crap
:0:
* ^From: .*(peter.whalley)
$HOME/mail/peter_whalley_whailings
:0:
* ^From: MAILER-DAEMON@xxxxxxxxxx
/dev/null
:0:
* ^From: .*spamfreemail.de
$HOME/mail/jens-scraps
:0:
* From: postmaster@xxxxxxxxxxxxxxxx
/dev/null
===8<---
I also have this for running SpamAssassin:
===8<---
#############################################################################
# Then we install some potential forged markups
#############################################################################
:0
* ^X-Spam-Status:
{
:0 fw
| formail -R "X-Spam-Status:" "X-False-Spam-Status:"
}
:0
* ^X-Spam-Level
{
:0 fw
| formail -R "X-Spam-Level" "X-False-Spam-Level"
}
:0
* ^X-Spam-Checker-Version:
{
:0 fw
| formail -R "X-Spam-Checker-Version:" "X-False-Spam-Checker-Version:"
}
#############################################################################
# Announce customer email.
#############################################################################
:0
* ^From: .*\@CCCCCC\.com
{
:0 ic
| play /usr/share/sounds/KDE_Startup.wav -v 1.0
# ... some other stuff deleted for privacy
}
##############################################################################
# run spamassassin on things not from the spamassassin list
##############################################################################
:0
* < 500000
* !^List-Id: .*(spamassassin\.apache.\org)
{
:0 fw: spamassassin.lock
| /usr/bin/spamc -t 150 -u jdow
}
# Sometimes, such as right after a reload for the daemon testing might
# get skipped. If there is no markup and there should have been, do it
# again the slow way.
:0 fw
* !^X-Spam-Checker-Version:
* < 500000
* !^List-Id: .*(spamassassin\.apache.\org)
{
:0 fw: spamassassinFailed.lock
| nice -n 1 /usr/bin/spamassassin
# debugging "stuff" removed
}
# I run the clamassassin plugin for SpamAssassin. If it catches something
# I figured I don't need to check the email on the Windows system. I
# simply stash it and review weakly (sic).
:0:
* ^X-Spam-Status: .*CLAMAV.*
$HOME/jdvirus/ClamAV_Quarantine
===8<---
Procmail is NOT a list manager.
{^_-}
----- Original Message -----
From: "Phil" <plabonte@xxxxxxxxx>
yes but I am accepting mail from the /var/spool/mail/user folder for a
ticketing system, so with procmail can I filter it before it gets put into
the folder? Not sure I understand how procmail works I thought it was a
mailing list manager...?
On 6/19/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
On Mon, 2006-06-19 at 10:26 -0400, Phil wrote:
> Is is possible to block specific email addresses from being fetched?
> Or perhaps drop emails?
You could run the mail through procmail after being fetched and use that
to drop the mail you don't want.
Paul.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--------------------------------------------------------------------------------
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list