Hello:
Playing with procmail rules for the first time; created a rule to send those
messages allegedly sent from my own address to be sent to /dev/null.
But the rule is not matching, why? Syntax error?
Here are my files:
########################################
~/.procmailrc file:
#Preliminaries
VERBOSE=yes
SHELL=/bin/bash #Use the Bash shell (check your path!)
MAILDIR=/var/mail #First check what your mail directory is!
LOGFILE=/home/alex_computer/procmaillog.`date +%y-%m-%d`
#Send message from "myself" to /dev/null
:0:
* ^From: alex(_at_)spectrecom\(_dot_)com
/dev/null
# Accept all the rest to your default mailbox
:0:
${DEFAULT}
#########################################
~/procmaillog file
procmail: No match on "^From: alex(_at_)spectrecom\(_dot_)com"
procmail: Locking "/var/mail/alex_computer.lock"
procmail: Assigning "LASTFOLDER=/var/mail/alex_computer"
procmail: Opening "/var/mail/alex_computer"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/mail/alex_computer.lock"
procmail: Notified comsat: "alex_computer(_at_)1172:/var/mail/alex_computer"
From alex(_at_)spectrecom(_dot_)com Mon Mar 2 13:11:23 2009
Subject: sdfsd
Folder: /var/mail/alex_computer
8416
###########################################
Thank You,
Alex Rodriguez
Spectrecom Corporation
10773 Sherman Way
Sun Valley, CA 91352 U.S.A.
Tel: (818) 764-9500 ext14 Fax: (818) 764-9501
Email: <mailto:alex(_at_)spectrecom(_dot_)com> alex(_at_)spectrecom(_dot_)com
www.spectrecom.com
www.usgraphicsupply.com
www.usinkjetsupply.com
image002.gif
Description: GIF image
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail