×
UNIX.COM Login
Username:
Password:  
Show Password






👤


Email Antispam Techniques and Email Filtering

Techniques Q&A and Procmail recipes for fighting spam.

frustrated "No match on" regular expression

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-17-2004
jones jones is offline
Registered User
 
Join Date: Feb 2004
Last Activity: 20 April 2004, 1:43 PM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
frustrated "No match on" regular expression

[frustrated "No match on" regular expression]
attempt to filter "dsl.[many].pacbell.net
. . .any pointers?

/etc/procmailrc
# attempt at egrep regular expression to match
# adsl-63-199-245-128.dsl.snd g02.pacbell.net [63.199.245.128]
VERBOSE = yes
:0
* ^Received:.*dsl+\.[-a-z0-9_]+\.pacbell+\.net
{
LOG="(PacBell DSL) "
:0
/zzPacbellDSL
}
VERBOSE = no

/var/log/procmail.log
procmail: [11390] Sat Apr 17 13:57:12 2004
procmail: No match on "^Received:*dsl+\.[-a-z0-9_]+\.pacbell+\.net"
procmail: Assigning "VERBOSE=no"
From VYYGRGPXNXV@msn.com Sat Apr 17 13:57:12 2004
Folder: /var/spool/mail/frank 1307

/var/log/maillog
Apr 17 13:57:12 mailhost sendmail[11384]: i3HHv4Q11384: from=, size=883, class=0, nrcpts=1, msgid=<200404171757.i3HHv4Q11384@mailhost.justjones.org>, proto=SMTP, daemon=MTA, relay=adsl-63-199-245-128.dsl.snd
g02.pacbell.net [63.199.245.128]
---end---
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
why "aab" matchs "ab" when using reglar expression ? 915086731 Shell Programming and Scripting 8 08-21-2011 11:35 AM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
Regular Expression doesn't match dot "." in a string ahmed_zaher Shell Programming and Scripting 3 12-20-2010 02:52 AM
cshell integer expression from "0000" to "1999" rockytodd Shell Programming and Scripting 3 11-04-2010 07:09 AM
Regular expression to extract "y" from "abc/x.y.z" .... i need regular expression rag84dec Linux 2 05-29-2008 04:05 AM



All times are GMT -4. The time now is 08:37 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.