Mail Processing
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Jan 31 16:49:01 EET 2001
On Wed, Jan 31, 2001 at 01:03:56PM +0200, Dimitris Papadiotis wrote:
> Kalhmera,
>
> Mipos kseri kanis pos ginete to akoloutho (an gineten, giati komataki
> diskolo mou fenete)? Thelo otan erxete ena e-mail ston mailserver mou
> (Sendmail 8.11.0), an ine apo ena sigekrimeno sender, na psaxni o mailserver
> sto message body tou minimatos (text messages) kai an bri sigekrimena
> keywords na mou alazi to subject tou iserxomenou e-mail se kati pou thelo
> ego.
>
> "Ligo" Paranoiki epetisi?
Katholou.
Etsi filtraro viruses me to procmail sto mail server pou exei h etaireia
pou douleuo tora :-)
# if the header matches a certain sender
:0 H
* From[: ].*sugkekrimenos at sender.kapou.sto.internet
{
# if the body matches a certain pattern
:0 Bc
* ^.*[cC]ontent-[tT]ype:.*application/.*
{
# do something funny
}
:0
# do normal delivery
}
Procmail bluidy rules, wres wres :-)
- giorgos
More information about the Linux-greek-users
mailing list