Gary Cox | 3 Oct 2000 23:35

Re: is there a way to evade /etc/procmailrc ?

At 02:46 PM 10/3/2002 -0600, you wrote:
>procmail <at> Lists.RWTH-Aachen.DE

http://spamassassin.org/sitewide.html

Look under "Stuff To Note:"

Regards,
Gary

_______________________________________________
procmail mailing list
procmail <at> lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

Jim Toth | 1 Oct 2000 04:30
Picon
Favicon

Re: Procmail and maildir format

On Sat, Sep 30, 2000 at 06:04:02PM +0000, Subba Rao
(subb3 <at> attglobal.net) said:
[snip]
> How can I make Procmail deliver mail in maildir format? The version of
> procmail on my system is v3.15

By putting a trailing slash on the name of the maildir you want it to
deliver it to.

--

-- 
Jim Toth
jjtoth <at> vcu.edu
Subba Rao | 1 Oct 2000 11:21

Logging selctive info

Currently, I have VERBOSE set "yes". This feature does log lot of information.
All I want to see is the "Subject" and "Folder" information.

Is there anyway that procmail would allow you to log such selective info?
Can I customize the logging info like,

----
Subject: XYZ
Folder: work-related
----
Subjet: ABC
Folder: personal
----

Would such customization effect the "mailstat" command?

Thank you in advance for any help.
--

-- 

Subba Rao
subb3 <at> attglobal.net
http://pws.prserv.net/truemax/
Volker Kuhlmann | 2 Oct 2000 01:31
Picon
Picon

Re: Anonymous Email

> You can override the Return-Path by running sendmail with the -f option.
> Mind you, that -f can only be used by "trusted users" (defined, also in
> sendmail.cf,) or if the person you are trying to become is the same as the
> person you are.

This "trusted users" is no hindrance. Copy /etc/sendmail.cf to $HOME,
enter $USER behind T, set up your own mail spool dir (create dir,
enter path in $HOME/sendmail.cf), and remove authwarnings from O
PrivacyOptions= to turn off the added headers. Format email with to:,
from: cc:, bcc, subject: and pipe into sendmail -i -t -v -f whatever -C
"$HOME/sendmail.cf" -O QueueDirectory="$queuedir"

This is useful to me to make email appear as if it was sent from a
web based email facility which I use (or rather, don't use for sending
because they're a pain).

My IP shows up somewhere in the Received-by:, is it possible to get
around that?

Volker
Subba Rao | 1 Oct 2000 23:48

^TO or ^TO_


I have seen the use of this condition in many recipes. Both of them seem to
work.

* ^TOsomeone <at> place.com

and

* ^TO_someone <at> place.com

Which of these options is the recommended for use by the procmail developers?

--

-- 

Subba Rao
subb3 <at> attglobal.net
http://pws.prserv.net/truemax/
John Summerfield | 2 Oct 2000 13:58
Picon

Re: Anonymous Email


> 
> My IP shows up somewhere in the Received-by:, is it possible to get
> around that?

The Received: headers are inserted by each recipient MTA specifically to 
facilitate tracking mail.

It's very useful for identifying the source of spam.
David W. Tamkin | 2 Oct 2000 17:46
Picon
Favicon

Re: ^TO or ^TO_

Subba Rao asked,

| I have seen the use of this condition in many recipes. Both of them seem to
| work.
| 
| * ^TOsomeone <at> place.com
| 
| and
| 
| * ^TO_someone <at> place.com
| 
| Which of these options is the recommended for use by the procmail developers?

^TO_ came later as a tweak on ^TO.  The principal difference is that ^TO
can match an expression that ends in a hyphen while ^TO_ will not, so you
^TO_string will match only if the string is at the beginning of an element
of an address, while ^TOstring will also match if a hyphen appears
immediately before the string.

If you don't want a match if the string is preceded by a hyphen (in contrast
to a space, a quote, a left-side angle bracket, a comma, a colon, or a tab,
for some examples), and your version of procmail supports ^TO_, use ^TO_.

If you want to accept a match if the string follows a hyphen, or if your
version of procmail is too old to have ^TO_ (but not so old that it doesn't
have ^TO either), use ^TO.
Ralph SOBEK | 2 Oct 2000 18:26
X-Face
Picon
Picon
Favicon

Re: non-Western chars

For dealing with non-Western, non ISO-Latin-1, characters, I use the
following variables:

i	= "[a-zà-öø-ÿß\"]"		# lower-case ISO and "
I	= "[A-ZÀ-ÖØ-Þ]"		# upper-case ISO
x	= "[A-Za-zÀ-ÖØ-öø-ÿ\"]"	# mixed-case ISO and "
X	= "[^A-Za-zÀ-ÖØ-öø-ÿ]"	# non ISO values
Y	= "[^A-Za-zÀ-ÖØ-öø-ÿ:]"	# non ISO values and :

I use the " for ASCII-fied umlauts, such as u" or "u.

For what it is worth...

Cheers,

	--Ralph

Dr. Ralph P. Sobek		  Disclaimer: The above ruminations are my own.
Ralph.Sobek  <at>  irit.fr		
sobek  <at>  irit.fr                                    http://beeline.to/genealogy/
Ph:(+33)[0]561558618   FAX:(+33)[0]561556258   http://www.irit.fr/~Ralph.Sobek/
===============================================================================
Estimates are that one-third to two-thirds of animal and plant species will 
disappear in forseeable future!  AWFUL!
  SPAMMERS Beware: http://www.irit.fr/~Ralph.Sobek/welcome.shtml#Mail-Warning
Matt Dunford | 2 Oct 2000 18:32

Re: Detect Mail Size

perhaps something like this (untested, of course!)

:0hc
* > 2000000
| (formail -A"X-Loop: your <at> own.mail.address" ; \
 echo "message too big!") | $SENDMAIL -t

On Sun, 1 Oct 2000, Joe Cheong wrote:

>How could I detect an email file size if more than 2MB then bounced it back?
>
>Thanks,
>Joe
>
>
Collin Park | 2 Oct 2000 19:43
Picon

Re: Need your help to set Auto-respond function in procmail

Charles, I'm sending the reply to the list also.

"KLYang" wrote:
> ===========================================
> log file
...
> procmail: Assigning "LASTFOLDER=(formail -rt -IPrecedence:junk "
> >From charles <at> localhost.localdomain  Sun Sep 30 14:08:24 2007
>  Subject: Hello
>   Folder: (formail -rt -IPrecedence:junk  				    553
> procmail: Notified comsat: "bobcats <at> :(formail -rt -IPrecedence:junk "
> procmail: [2111] Sun Sep 30 14:08:25 2007
> procmail: Executing "(formail,-rt,-IPrecedence:junk,"

There is something wrong with the syntax of your recipe.
If you had it as...

| (formail -rt -I"Precedence:junk" \
 -I"FROM:<charles <at> localhost.localdomain>; \
 -A"X-LOOP:bobcats <at> localhost.localdomain"; \
 echo "Mail received") | $SENDMAIL -t

then the above line should have said

procmail: Executing "(formail,-rt,-IPrecedence:junk \
 -I"FROM:<charles <at>   [[ etc ]] "

So I think there must be a space or tab after the '\' character on the 
"formail" line.  Did you edit with "vi" and say ":se list" so you
could see the end of line?  If you say "grep Precedence .procmailrc |
(Continue reading)


Gmane