The Doctor {Who?} | 1 Dec 17:31 1996
Picon

Address ONLY Match/Variable Recipe?

I am looking for a recipe (for procmail) to grab any RFC-822 compliant
address (*) and parse ONLY the address, not the user's attached name, IF
ANY, into either MATCH or another variable.

I've tried one I had from a library, but it doesn't seem to work under
procmail 3.11pre4.  (It seemed terribly complicated, and for some reason, is
bringing the included rc's filepath as part of the string to match on.)

(*) Basically, this is to say either of these:
address <at> system.net
address <at> system.net (Nick Name)
Nick Name <address <at> system.net>

I need ONLY the "address <at> system.net" part of the samples above parsed out.

Joseph A. Chang | 1 Dec 21:41 1996

Re: procmail-d Digest V96 #170

replying to other sender problem

i would like a recipe that takes an address from the subject line, puts it
in the to line, attaches a text file to the message and sends it. 

could you help me? this is what i've come up with so far:
------------------
:0 c
*^To.*requesting <at> changer.com.*
*^Subject.*\ <at> .*
| ( formail -r -X"Subject" -R"Subject To" -A"Subject: hi there![biotech]!"
-A"cc:andres <at> dom.com"; \cat /home/jac/mailbots/textfile ) | $SENDMAIL -oi -t
------------------
could you cc: me in a reply? thanks.

joe

Dick Adams | 1 Dec 21:29 1996
Picon
Picon

Please unsubscribe me

Please unsubscribe me.

> ------------------------------
> 
> Content-Type: text/plain
> 
> procmail-d Digest				Volume 96 : Issue 170
> 
> Today's Topics:
>   Re: Virtual domain with his own user  [ Philip Guenther <guenther <at> gac.edu> ]
>   mail question - on delivery           [ Mark J Elkins <mje <at> mje99.posix.co.z ]
>   Re: Only doing stuff for one recipe   [ Jason Tang <jasont <at> padd.press.net> ]
>   Re: Only doing stuff for one recipe   [ Stephane Bortzmeyer <bortzmeyer <at> pas ]
>   Getting date to use in outputfile     [ Jason Tang <jasont <at> padd.press.net> ]
>   Re: mail question - on delivery       [ Philip Guenther <guenther <at> gac.edu> ]
>   Re: Getting date to use in outputfil  [ bodysurf <at> netcom.com (Tim) ]
>   Skimming files out of a mail folder   [ Bill Costa - NIS/CIS - University o ]
>   Re: Skimming files out of a mail fol  [ "Alan K. Stebbens" <aks <at> anywhere.en ]
>   Re: Skimming files out of a mail fol  [ Tony Nugent <tony <at> trishul.sci.gu.ed ]
>   Help needed with .procmailrc protect  [ Herbert Hotz <herbert.hotz <at> symmetri ]
>   Re: Procmail dumping core             [ Dave Horsfall <dave <at> fgh.oz.au> ]
>   Is this a bug?                        [ David Pesticcio <davidp <at> cableol.net ]
>   Re: Is this a bug?                    [ David Pesticcio <davidp <at> cableol.net ]
>   Frep 'Word list too long' ???         [ paul milligan <pjm <at> pobox.com> ]
>   Re: Frep 'Word list too long' ???     [ bodysurf <at> netcom.com (Tim) ]
>   Address ONLY Match/Variable Recipe?   [ Doctor <at> netcom.com (The Doctor {Who? ]
> 
> ------------------------------
> 
> Date: Wed, 27 Nov 1996 00:58:41 -0600
(Continue reading)

Soren Dayton | 1 Dec 22:04 1996

Re: Address ONLY Match/Variable Recipe?

Doctor <at> netcom.com (The Doctor {Who?}) writes:

> I've tried one I had from a library, but it doesn't seem to work under
> procmail 3.11pre4.  (It seemed terribly complicated, and for some reason, is
> bringing the included rc's filepath as part of the string to match on.)
> 
> 
> (*) Basically, this is to say either of these:
> address <at> system.net
> address <at> system.net (Nick Name)
> Nick Name <address <at> system.net>
> 
> I need ONLY the "address <at> system.net" part of the samples above parsed out.

errrrr.  Formail to the rescue:

echo 'From: Nick Name <address <at> system.net>' | formail -rtz -xTo:

gives me:

address <at> system.net

Soren

Stephen Frost | 2 Dec 04:08 1996

Procmail Capabilities

Attachment: application/octet-stream, 735 bytes
Philip Guenther | 2 Dec 07:55 1996
Picon

Re: Help needed with .procmailrc protection

Herbert Hotz <herbert.hotz <at> symmetrix.ch> writes:
...
>Every customer has also access to his/her web files via FTP. Since
>we don't want out customers to see the contents of the .procmailrc
>file, we are asking for a solution of our problem.

The .procmailrc files do not need to be world readable.  They only need
to be readable by the owner, and they can be owned by either the user
or root.

Philip Guenther

S. Young | 2 Dec 12:35 1996
Picon
Picon

Re: Address ONLY Match/Variable Recipe?

On  1 Dec 96 at 8:31, procmail <at> Informatik.RWTH-Aach wrote:

> I am looking for a recipe (for procmail) to grab any RFC-822
> compliant address (*) and parse ONLY the address, not the user's
> attached name, IF ANY, into either MATCH or another variable.
>

This is a bit off-topic, but I am curious about the RFC mentioned 
above.

I looked at RFC-822 and saw that an email address must look like 
this:

(word)*("." (word)) <at> (subdomain)*("."(subdomain))

Where can I find out which _characters_ are allowed in (word) and 
(subdomain)? I didn't see any reference to this question in RFC-822.

Sara

Philip Guenther | 2 Dec 08:15 1996
Picon

Re: Procmail dumping core

Dave Horsfall <dave <at> fgh.oz.au> writes:
>On Tue, 26 Nov 1996, Alan K. Stebbens wrote:
>[ I wrote ]
>>     > Is there any possibility of having Procmail read a bunch of addresses
>>     > from a file, like Sendmail can?
>> 
>> For what purpose?
>
>Because my spam filter is ~200 lines long, and growing...

Have you looked at using multigram (from Smartlist) to do this?  It
should be able to do 'smart' fuzzy address matching in an obscenely
efficient fashion, which I'm guessing to be the heart of your spam
filter, no?

BTW, is that 200 lines of procmailrc or 200 address to be grepped against?

Philip Guenther

Karl E. Vogel | 2 Dec 18:51 1996
Picon
Picon

Re: valid characters in a domain name

>> On Mon, 02 Dec 1996 11:37:03 +0002, 
>> syoung <at> actcom.co.il said:

S> I looked at RFC-822 and saw that an email address must look like this:

S> (word)*("." (word)) <at> (subdomain)*("."(subdomain))

S> Where can I find out which _characters_ are allowed in (word) and
S> (subdomain)? I didn't see any reference to this question in RFC-822.

   We recently set up our own DNS domain, and the folks at our network center
   told us that the root domains were starting to enforce stricter naming
   standards.  Host and subdomain names had to consist of [A-Za-z0-9-] ONLY,
   and they could not be all numbers.  This caused us some problems because the
   underscore was not on the approved list, so all of our PCs had to be
   renamed.

--

-- 
Karl Vogel                                           vogelke <at> c17.wpafb.af.mil
Control Data Systems, Inc.           ASC/YCOA, Wright-Patterson AFB, OH 45433

Gary GStyle Morse | 2 Dec 20:06 1996

ProcMail Auto-Response...

Hello All,

I am new to the ProcMail world (as of last week) so forgive my "newness."  :)

I am using a Sun Sparc 20 running Solaris 2.4, and I have just successfully
installed ProcMail v3.11pre4.  I want to be able to have an email address
that automatically returns a pre-written email message to the sender.

I already have an email alias setup like: info <at> domain.com which just comes
to me directly.  But if someone emails something like: biginfo <at> domain.com,
I want them to automatically receive a pre-written email message.

I know a fairly simple recipe can handle this, I just don't know how to do
it.  :)

Thanks for any help here...

- Gary


Gmane