10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9.
I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a different domain as well as to the original recipient. Can I achieve this with... (1 Reply)
Discussion started by: simplemind
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a few questions.
I am new to UNIX/Linux. At work I notice that our mail server uses sendmail. When I looked in the sendmail.cf file I see that it is using PROCMAIL as the Local Delivery Agent.
Questions:-
I looked for /etc/procmail to see its configuration file but I see none.... (0 Replies)
Discussion started by: mojoman
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am running a email server on Centos 5.3 (dovecot, postfix, with emails for a few domains) and I am wondering whether I am using procmail or not.
I know procmail is installed because
procmail -version
returns:
Locking strategies: dotlocking, fcntl()
Default rcfile: ... (0 Replies)
Discussion started by: JCR
0 Replies
4. UNIX for Dummies Questions & Answers
Hello, this is my first visit to your forum and I've searched previous threads for my answer but have not been able to find one. Apologies if there is one that I didn't discover.
Is there a way of bouncing or deleting spam that contains non-existent addresses in TO: field but is delivered due... (1 Reply)
Discussion started by: WendyTinley
1 Replies
5. Shell Programming and Scripting
I need to find out for sure whether or not Solaris 10x86 comes with procmail installed? I only need it for mail subscription "Only"
WE have about 51 mailing lists subscriptions from listproc.
I need help just doing mailing lists.
How to best go about this?
I downloaded version for Solaris... (0 Replies)
Discussion started by: parente
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I was wondering if my code is correct on a procmail recipe I am trying to use. I am trying to set up custom filter for for my email address. What needs to happen is any email NOT addressed to me in the to: or cc: field is deleted.
For the time being it is set it up to go to another... (0 Replies)
Discussion started by: Hexabah
0 Replies
7. Email Antispam Techniques and Email Filtering
I can tell this is not a recently active formum, but here goes, "why doesn't this procmail rule block
messages with víagra or v1agra appearing in
the subject header
:0
* ^Subject:.*(víagra¦v1agra¦pénis¦prescripti0n¦Medicati0n¦M0rtgage¦Xanaxz)
{
LOG="(THE 7 DIRTY WORDS) "
:0
... (4 Replies)
Discussion started by: jones
4 Replies
8. Email Antispam Techniques and Email Filtering
Hello all. I want some help procmail receipe. I tried to get some mails' sender and receiptient. Then tried to send them a bash script. But it didnot work. I try a lot of variation of the below receipe. Could anyone can help what is wrong on my receipe? Or if the recepie is correct what can be... (0 Replies)
Discussion started by: kedi
0 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I want to make a filter with procmail, using the day of the week ant the hour to filter the message.
If the day is Tuesday, the message is redirected to one address. On the other days, the message goes to another address. The messages will be redirected at 8 am to 17 pm.
I tried... (1 Reply)
Discussion started by: luiz_fer10
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
Somebody knows a good procmail tutorial in the net?
Thanks!:) (1 Reply)
Discussion started by: luiz_fer10
1 Replies
MAILFILTER(1) User Manuals MAILFILTER(1)
NAME
mailfilter - Filters e-mail, gets rid of spam
SYNOPSIS
mailfilter [OPTION]...
DESCRIPTION
Mailfilter is a very flexible utility to get rid of unwanted spam mails, before having to go through the trouble of downloading them into
the local computer. It offers support for one or many POP accounts and is especially useful for dialup connections via modem, ISDN, etc.
Mailfilter connects to any POP mail box and compares part of its content to a set of user defined filter rules. That way the spam gets
deleted directly on the mail server.
With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste.
Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as procmail(1) for example.
RETURN VALUE
The mailfilter program normally returns 0 but -1 if an error occurs. However, if it has been invoked with the return-value command line
switch, it gives back a positive integer in case there are messages on the POP server. Empty POP accounts would then result in a return
value of 0. Using the switch, mailfilter can be embedded into a shell script more easily.
CONFIGURATION
The behaviour of Mailfilter is controlled by command-line options and a configuration file. The program will not start without it. Example
configurations can be looked up in the mailfilterex(5) man page, in the INSTALL document or inside the doc/ directory of the Mailfilter
distribution.
By default Mailfilter tries to read $HOME/.mailfilterrc to get all its settings from. This is the place where all changes should be made,
unless it is explicitly specified otherwise. A comprehensive list of all supported options and keywords can be found in the mailfilterrc(5)
man page.
OPTIONS
-h, --help
Display help information
-L, --logfile=FILE
Specify logfile location
-M, --mailfilterrc=FILE
Specify rcfile location
-r, --return-value
Enable additional return values
-t, --test
Simulate deletes
-i, --ignore-time-stamps
Ignore invalid Message-ID time stamps (Do not use unless you know better!)
-v, --verbose=LEVEL
Specify level of verbosity
-V, --version
Display version information
SEE ALSO
mailfilterrc(5), mailfilterex(5), procmail(1), regex(7)
COPYRIGHT
Copyright (C) 2000-2012 Andreas Bauer <baueran@gmail.com>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Mailfilter January 2009 MAILFILTER(1)