Everything2
Near Matches
Ignore Exact
Full Text
Everything2

procmail recipe to auto-acknowledge receipt

created by ariels

(thing) by ariels (1.5 d) (print)   ?   (I like it!) 1 C! Sat Apr 29 2000 at 7:12:54

This procmail recipe will answer anybody who adds an "X-Ack: yes" header line, confirming that their mail was processed by your procmail system (of course, it doesn't mean you've seen it, yet). In fact, only the "X_Ack:" header is required (but by changing the first regexp line, this can easily be modified). You should initialise MY_MAIL_ADDR to your email address, e.g. by saying "MY_MAIL_ADDR=username@mail.server.net". Also, as usual SENDMAIL should be initialised to point to your sendmail program.
# Generate receipts to all who request it! 
:0 Hc                        
* ^X-Ack:                          
* !^FROM_DAEMON                        
* !$^X-Loop: $MY_MAIL_ADDR
| (formail -r -A"Precedence: bulk" -A"X-loop: $MY_MAIL_ADDR" ; echo "Ac\
knowledged, as per your request") | $SENDMAIL -t 

printable version
chaos

procmail javastation self-propelled vacuum cleaner honeymoon salad
program exim Recipe
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Benedictus de Spinoza
Jazz Pianists
How to give a hug
The Bible and same-sex marriage
Ornette Coleman
rules of killing (human edition)
Decrying political correctness without an understanding of its causes and intended consequences is little more than racism muttered under one's breath
Pompey
John Lennon, The Hippie Fanboy, Death, and "Gimme Some Truth"
Constitution of South Africa
It's the End of the World as We Know It
Ethical Discussion on the Internet Worm
May 19, 2007
New Writeups
XWiz
Trism(review)
artman2003
Briefcase Full of Souls - Part I(fiction)
Dreamvirus
Alan Ladd(person)
waverider37
Harold Holt(person)
The Debutante
Until death do us part(fiction)
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
E2 is a by-product of the existence of The Everything Development Company