Quick Procmail Question

Quick Procmail Question

am 12.08.2006 10:55:24 von Gushi

Does procmail have a pseudo-header that will match ALL recipients (i.e.
to, from, cc and possibly X-envelope-to) in an OR-ish fashion?

-Dan

Re: Quick Procmail Question

am 12.08.2006 19:15:53 von AK

Gushi wrote:
> Does procmail have a pseudo-header that will match ALL recipients (i.e.
> to, from, cc and possibly X-envelope-to) in an OR-ish fashion?
>
> -Dan
>

man procmailrc, procmailex.

TO_ is a macro.

Just to be clear, from is not a recipient Designation.

Post an example of what you mean where you want to match on all recipients.

Normally, if you want to match on all, you would not put a condition
that may preclude some.


an Or separator | can be used

ie. * ^(To|CC|X-Envelope-to|...) somthing

AK

Re: Quick Procmail Question

am 14.08.2006 23:24:11 von Gushi

AK wrote:
> Gushi wrote:
> > Does procmail have a pseudo-header that will match ALL recipients (i.e.
> > to, from, cc and possibly X-envelope-to) in an OR-ish fashion?
> >
> > -Dan
> >
>
> man procmailrc, procmailex.
>
> TO_ is a macro.
>
> Just to be clear, from is not a recipient Designation.
>
> Post an example of what you mean where you want to match on all recipients.

Not all recipients, all participants. My mistake. Similar to the pine
search feature which works the same way.

> Normally, if you want to match on all, you would not put a condition
> that may preclude some.
>
>
> an Or separator | can be used
>
> ie. * ^(To|CC|X-Envelope-to|...) somthing

That looks close to what I was looking for -- but is there a standard
way I could define that as a Macro? Or are macros only defined in the
source?

-Dan

Re: Quick Procmail Question

am 15.08.2006 00:03:57 von AK

Gushi wrote:
> AK wrote:
>
>>Gushi wrote:
>>
>>>Does procmail have a pseudo-header that will match ALL recipients (i.e.
>>>to, from, cc and possibly X-envelope-to) in an OR-ish fashion?
>>>
>>>-Dan
>>>
>>
>>man procmailrc, procmailex.
>>
>>TO_ is a macro.
>>
>>Just to be clear, from is not a recipient Designation.
>>
>>Post an example of what you mean where you want to match on all recipients.
>
>
> Not all recipients, all participants. My mistake. Similar to the pine
> search feature which works the same way.
>
>
>>Normally, if you want to match on all, you would not put a condition
>>that may preclude some.
>>
>>
>>an Or separator | can be used
>>
>>ie. * ^(To|CC|X-Envelope-to|...) somthing
>
>
> That looks close to what I was looking for -- but is there a standard
> way I could define that as a Macro? Or are macros only defined in the
> source?
>
> -Dan
>

you can predefine your pattern as a variable, have not dealt with
defining macros.

#you can ofcourse use a script to build the list on the fly using cat
and sed.
TOGROUP='user|user1|user2|user3'

:0
* $ ^To:.+($TOGROUP)
dosomething

or

TOGROUP='(To|Cc|From|X-addressed-To):'
:0
* $ $TOGROUP.+somepatern
dosomething

AK

Re: Quick Procmail Question

am 15.08.2006 00:36:23 von Alan Connor

On comp.mail.misc, in <1155372924.809553.261100@75g2000cwc.googlegroups.com>, "Gushi" wrote:

http://slrn.sourceforge.net/docs/README.offline>

I don't download posts from google groups. You are using a
throwaway alias and an anonymous web proxy and a throwaway mail
address at a vanity (fake) domain.

$ host gushi.org
gushi.org A 72.9.101.133

$ whois 72.9.101.133

OrgName: EZZI.NET
OrgID: EZZIN
Address: AccessIT - Hosting Services
Address: 75 Broad Street, Suite 1902
City: New York
StateProv: NY
PostalCode: 10004
Country: US

ReferralServer: rwhois://rwhois.s2.ezzi.net:4321

NetRange: 72.9.96.0 - 72.9.111.255
CIDR: 72.9.96.0/20
NetName: NETBLK2-EZZI
NetHandle: NET-72-9-96-0-1
Parent: NET-72-0-0-0-0
NetType: Direct Allocation
NameServer: S1.EZZI.NET
NameServer: S2.EZZI.NET
Comment:
RegDate: 2004-10-04
Updated: 2005-09-29

OrgAbuseHandle: EAA12-ARIN
OrgAbuseName: Ezzi Abuse Account
OrgAbusePhone: +1-866-438-3994
OrgAbuseEmail: abuse@ezzi.net

OrgTechHandle: AD125-ARIN
OrgTechName: Dhoon, Ali
OrgTechPhone: +1-646-375-3379
OrgTechEmail: adhoon@accessitx.com

/quote

Asking questions about one of the leading spam filters.

So I have to assume that you want to learn to bust procmail
filters, not use them.

Otherwise, why would you take so much trouble to hide your
tracks?

Spammer. Maybe a wannabee. Maybe just a troll who doesn't want us
to examine his real posting history, because he knows we wouldn't
help him then. And a pretty serious troll, too.

Either way, you are outta here. And I'm pretty good with
procmail.

Note: I won't be downloading any articles on this thread.

Alan

--
Challenge-Response Systems are the best garbage-mail blockers
in the world. Spammers and trolls can't beat them and you
don't need to be a geek to use them. A brief introduction:
http://home.earthlink.net/~alanconnor/cr.html

Re: Re: Quick Procmail Question

am 15.08.2006 00:36:26 von unknown

Post removed (X-No-Archive: yes)

Re: Quick Procmail Question

am 16.08.2006 00:09:19 von Gushi

So I have a vanity (fake) domain...and there's no fully-qualified
hostname? No fully qualified MX records? No domain servers that are
also authoritative for and hosting close to 400 other domains? No SWIP
records for my DNS servers?

My quite simple method of mail separation is that I use a unique alias
for each place my address might be found. In the case of Google
Groups, it's, yes, google@gushi.org.

For paypal, it's paypal@...and so on.

Guess how I sort them. That's right, procmail. Obviously, I must be a
spammer because I seek to improve the sorting.

And I suppose there's no possible way that my questions could be valid?

I'd like to thank whomever posted the FAQ afterwards. I might have
been actually offended otherwise.

Alan Connor wrote:
> On comp.mail.misc, in <1155372924.809553.261100@75g2000cwc.googlegroups.com>, "Gushi" wrote:
>
>

> http://slrn.sourceforge.net/docs/README.offline>
>
> I don't download posts from google groups. You are using a
> throwaway alias and an anonymous web proxy and a throwaway mail
> address at a vanity (fake) domain.
>
> $ host gushi.org
> gushi.org A 72.9.101.133
>
> $ whois 72.9.101.133
>
> OrgName: EZZI.NET
> OrgID: EZZIN
> Address: AccessIT - Hosting Services
> Address: 75 Broad Street, Suite 1902
> City: New York
> StateProv: NY
> PostalCode: 10004
> Country: US
>
> ReferralServer: rwhois://rwhois.s2.ezzi.net:4321
>
> NetRange: 72.9.96.0 - 72.9.111.255
> CIDR: 72.9.96.0/20
> NetName: NETBLK2-EZZI
> NetHandle: NET-72-9-96-0-1
> Parent: NET-72-0-0-0-0
> NetType: Direct Allocation
> NameServer: S1.EZZI.NET
> NameServer: S2.EZZI.NET
> Comment:
> RegDate: 2004-10-04
> Updated: 2005-09-29
>
> OrgAbuseHandle: EAA12-ARIN
> OrgAbuseName: Ezzi Abuse Account
> OrgAbusePhone: +1-866-438-3994
> OrgAbuseEmail: abuse@ezzi.net
>
> OrgTechHandle: AD125-ARIN
> OrgTechName: Dhoon, Ali
> OrgTechPhone: +1-646-375-3379
> OrgTechEmail: adhoon@accessitx.com
>
> /quote
>
> Asking questions about one of the leading spam filters.
>
> So I have to assume that you want to learn to bust procmail
> filters, not use them.
>
> Otherwise, why would you take so much trouble to hide your
> tracks?
>
> Spammer. Maybe a wannabee. Maybe just a troll who doesn't want us
> to examine his real posting history, because he knows we wouldn't
> help him then. And a pretty serious troll, too.
>
> Either way, you are outta here. And I'm pretty good with
> procmail.
>
> Note: I won't be downloading any articles on this thread.
>
> Alan
>
> --
> Challenge-Response Systems are the best garbage-mail blockers
> in the world. Spammers and trolls can't beat them and you
> don't need to be a geek to use them. A brief introduction:
> http://home.earthlink.net/~alanconnor/cr.html