Dettaglio dell'articolo:

venerdì 13 luglio 2007

Posta elettronica: messaggio di risposta automatico con Procmail e Formail e Regular Expressions

Se il nostro sistema di posta è basato su Linux, è possibile utilizzare procmail , formail e le regular expressions per impostare messaggi di risposta automatici (AUTOREPLY).
Prendiamo in considerazione un sistema basato su Fedora e Sendmail e supponiamo che un nostro utente voglia impostare una risposta automatica che avvisa chi gli scrive di essere assente per ferie. Di seguito riportiamo il file .procmailrc da utilizzare come template e copiare nella home directory del nostro utente. Perché il sistema funzioni è necessario che l'utente sia abilitato all'uso di una shell (es: /bin/sh).

# .procmailrc Template
# Definizione delle VARIABILI utilizzate nello script
SHELL = /bin/sh
#Note: On some systems -xSubject: has to be -x"Subject: "
SUBJ_=`formail -c -xSubject: \
| sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
#MAILDIR=$HOME #default
#LOGFILE=$HOME/procmail.log #da utilizzare in caso di errore

# Controlliamo se il messaggio è indirizzato all'utente
* ^TO_utente@tecnes.com
# Ignore messages for daemons
# Avoid email loops
* ! ^X-Loop: utente@tecnes.com
:0 Whc:dejatold.lock # controlla la presenza del mittente nella cache
| formail -rD 8192 $HOME/dejatold.cache
:0 ehc # se il mittente non viene trovato nella cache
| (formail -r \
-A"X-Loop: utente@tecnes.com" \
-I"Subject: Out of Office Reply: $SUBJ_" ; \
echo "Sarò assente dal 15/08/2007 al 31/08/2007." ; \
echo "" ; \
echo "Per urgenze potete far riferimento al collega Pippo" ; \
echo " pippo@tecnes.com" ; \
echo "" ; \
echo "testprocmail" ; \
echo "" ; \
echo "Tecnes Milano Srl" ; \
echo "Via Schiaparelli, 2" ; \
echo "20125 - Milano" ; \
echo "tel. +39 02 67101036" ) \
| /usr/lib/sendmail -oi -t

NOTE su formail
"formail -rD 8196 nomefile" controlla la presenza del sender all'interno del file
"formail -r" prepara un messaggio di risposta


just wanted you to know, you are doing great work here.

Inviato da: Geeky il: 2019-11-18 14:12:27.083079

best info glad to be here

Inviato da: Apple Card il: 2019-07-11 08:18:39.767321

awsome work really enjoyable Wiggly racing on PC

Inviato da: Wiggly racing on PC il: 2018-10-17 08:12:19.147628

Je vous remercie de l'information! Je cherchais et ne pouvait pas trouver. Vous me aidé! godaddy.com 480-505

Inviato da: Sophie Miller il: 2018-10-03 13:50:05.276385 Useful information for all. It's exactly what I tell my corporate clients(ESL/EFL students)when doing a writing workshop. The main difficulty for us teachers, and/or educators, is when people are so convinced that their Franglais, or Germanglais, or whatever, is correct. On the other hand, the non-native speakers go nuts when bosses, or collaborators, don't write proper emails themselves. https://is.gd/WTU8yj

Inviato da: IRNPost il: 2019-02-26 12:21:17.487324 getroutingnumber https://droid4x.pro 1921681254.club https://antirevokeios.xyz/ antirevokeios.xyz 1921681254

Inviato da: priyani il: 2019-11-20 12:15:13.669122 I would like to thank you for the efforts you have made in writing this article. happy wheels

Inviato da: jedy mark il: 2018-06-22 04:35:26.521403 Your share is great, I found a lot of things in your post the impossible quiz

Inviato da: real stack il: 2019-08-12 11:00:03.154127 Thanks for Nice and Informative Post. This article is really contains lot more information about This Topic gmail sign up

Inviato da: gmail sign up il: 2019-10-15 04:43:20.692074 hacked games free unblocked games online

Inviato da: fbram il: 2018-06-14 13:32:35.686341 Every word in this piece of work is very clear and your passion for this topic shines. Please continue your work in this area and I hope to see more from you in the future. chat rooms

Inviato da: james thomas il: 2019-02-16 18:57:59.254776 I have read some good things here. Definitely worth bookmarking for the review Android Stock Firmware

Inviato da: Adam il: 2018-09-10 13:57:50.222474 sbi Customer Care Number,

Inviato da: Tinku il: 2019-09-16 08:11:21.819427 Thanks for sharing informative post

Inviato da: Bigfoot APK File il: 2019-07-04 13:02:54.135776 really helpful post qp

Inviato da: DeRev il: 2019-09-10 15:27:17.852561 Thank you you have been shared the message to install the automatic message that it help to many much for me.

Inviato da: run 3 il: 2018-08-31 03:50:03.12778 the nice blog recently i am searching about imvu and fond some interesting thing about it to earn free credit in imvu

Inviato da: kelvin nox il: 2019-02-17 17:50:17.124247 I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.

Inviato da: RajputSeo il: 2019-02-21 15:11:44.118644 A lot of dissertation webpages on line as you may get hold of secured Shoreline Amphitheatre tickets in a dark listed during the webpage.

Inviato da: james thomas il: 2019-01-16 16:30:29.039008 Shoe Net Feb. 24, the cheap jordan shoes flourishing age of jeans has never stopped. Fine clothes louboutin shoes can cheap christian louboutin make you stand out from the crowd. This makes jeans get rid louboutin shoes of the adidas superstar public image of pedestrian armour. christian louboutin sale The cascade of jeans adidas sneakers mixing and fabrics louboutin shoes interesting transformation red bottom heels provide a adidas stan smith cooler choice for jordans on sale loyal jeans fans, which adidas originals is irresistible. Here's jordan 5 a list cheap christian louboutin of jeans jordan 11 cheap jordans for you. The christian louboutin shoes denim jacket in the lamb's christian louboutin outlet christian louboutin shoes wool and red bottom shoes the lamb's christian louboutin sale wool are very warm. Inside the jacket, waistcoat, shirt red bottom heels and T-shirt are folded. Under the jacket, slim trousers and short boots are put on, and the street style is worn. Thickened design of christian louboutin shoes the shirt jacket, jordans for sale the overall louboutin shoes cotton adidas yeezy design, warm and cheap christian louboutin shoes comfortable, fresh christian louboutin sale water wash treatment, red bottom heels jordan 11 highlighting the simple charm. Put down your cheap christian louboutin sports pants adidas yeezy and boots and wear a casual cheap jordan shoes style. Simple and elegant suit, christian louboutin shoes striped christian louboutin sale T-shirt inside cheap christian louboutin shoes wear a sense of leisure, washed jeans jacket worn out by the outer jordans for sale tower, jordan 5 the worn design adds a sense of nostalgia and cheap christian louboutin shoes retro, creating a leisure charm. Nostalgia and leisure jeans jacket, basic style design, natural and handy washing treatment, two side pockets, add red bottom shoes a red bottom shoes sense of leisure. The matching of shirts, adidas outlet knitted shirts and cheap jordans casual trousers adidas nmd makes fashionable clothes. christian louboutin outlet christian louboutin outlet Simple jeans red bottom shoes jacket, light paint wash, nostalgic atmosphere, simple T-shirt and overalls, canvas shoes cheap christian louboutin shoes and red bottom heels printed scarves enhance your sense of chic. (Cooperative Media: jordans on sale Clothing christian louboutin outlet cheap christian louboutin Matching)

Inviato da: Cady il: 2019-04-24 20:10:24.578469 getroutingnumber https://droid4x.pro 1921681254.club https://antirevokeios.xyz/ antirevokeios.xyz 1921681254

Inviato da: priyani il: 2019-11-19 18:11:21.541891 Hi, I'm Aditi Ray Check out the best Health & Beauty

Inviato da: Aditi Ray il: 2019-05-25 08:53:44.908859 pregnancy pillow nz

Inviato da: pregnancy pillow nz il: 2019-06-26 09:41:20.211794 have a nice day

Inviato da: gmail login il: 2019-10-21 06:43:47.06604 Definitely worth bookmarking for the review usb drivers hub

Inviato da: Decia il: 2018-08-29 07:55:24.419725 this content is really good, gmail com login

Inviato da: simson il: 2019-05-29 06:30:23.551219 am searching about imvu and fond some interesting thing about it to earn free credit

Inviato da: Best Epub Readers il: 2019-04-13 10:29:19.345921 I favor your post. It happens to be exceptional to determine somebody explain in words from a center plus good quality using this type of vital subject theme could possibly be quickly seen. amir arazi

Inviato da: amir arazi il: 2019-01-10 21:11:20.14013 Cool and awesome i love it Run, sausage, run For PC

Inviato da: Nabil il: 2018-09-28 12:14:03.305936 Soon the page may perhaps irrefutably finally end up mythical in the middle every last posting lots of individuals best depression quotes, by reason of rigorous article content together with critical reviews together with recommendations.

Inviato da: james thomas il: 2019-02-06 19:57:20.908329 it amazing

Inviato da: PC-Apps Online il: 2018-10-13 10:25:24.592813 I would like to thank you for the efforts you have made in writing tele mods

Inviato da: Dewani il: 2018-08-29 08:07:52.238819 Je vous remercie de l'information! Je cherchais et ne pouvait pas trouver. Vous me aidé! 192.168.l.254

Inviato da: Sophie Miller il: 2019-02-25 09:06:14.839746 Shoe Net, October 9, news, shirts as the most versatile red bottom shoes cheap christian louboutin nike roshe run items, but also cheap christian louboutin shoes the christian louboutin shoes nike store most cheap christian louboutin basic essential under armour stephen curry items in the early autumn nike store period. jordans on sale This red bottom shoes season's nike outlet online christian louboutin outlet most popular simple adidas originals and red bottom shoes modern christian louboutin shirt jordan 5 items, but most of the shirts cheap jordan shoes are air max similar adidas yeezy in style, nike air max it is difficult to wear a prominent personal color red bottom heels cheap christian louboutin shoes dress. If you want to deduce the other eye-catching shirt dress, it is suggested that skillfully use under armour outlet the cheap christian louboutin printed pattern elements of the shirt, will make the nike outlet store overall dress up to enhance the christian louboutin sale fashion shine. red bottom heels Star pattern shirt, jeans texture, leisure and natural, with self-cultivation of pure color nike factory store trousers and hat, showing a simple and modern style. Chao Faner's full nike air max camouflage pattern adidas superstar shirt, the middle part is the camouflage pattern decoration, sleeve monochrome stitching, nike roshe run with striped T-shirt and nike outlet online military christian louboutin sale trousers, appears leisure and nike shoes stylish. nike roshe run Blue pattern shirts, nike factory store various small patterns, nike factory outlet very special, moderate version, rolled sleeves on jordan 11 the christian louboutin shoes adidas outlet collocation worn out the design of jeans, wearing a jordans on sale mature eye-raising style. Light camouflage pattern shirt, dark design, christian louboutin outlet very suitable for autumn and winter wear, moderately christian louboutin shoes fitted with narrow-legged christian louboutin sale pants, wearing under armour a leisure style. Small aircraft embroidered jeans shirt, unique under armour shoes patterns, concise jordans for sale charm, Harun pants style pants with, nike outlet store wear a handsome style of able personality. red bottom heels (Cooperative Media: Clothing Matching) nike roshe run

Inviato da: Cady il: 2019-04-11 15:54:40.845629 Ho letto alcune buone cose qui. Sicuramente vale la pena segnalibro per la rivisitazione. Mi stupisco di quanto impegno hai messo per creare un sito web informativo così grande hotmail login

Inviato da: David il: 2018-07-18 17:31:32.013207 There a few interesting points on time on this page but I don’t determine if these center to heart. You can find some validity but I most certainly will take hold opinion until I look into it further. Great article , thanks so we want more! Included with FeedBurner too บาคาร่า

Inviato da: jack il: 2018-12-16 08:57:57.875616 perfetto! grazie 1000 Pol

Inviato da: Pol il: 2012-05-28 12:00:33.866247 I am thoroughly enjoying your blog

Inviato da: Run, sausage, run For PC il: 2018-09-28 12:11:47.177064 Hello! I am thoroughly enjoying your blog. Do you have any helpful hints for rookie blog writers? I'd certainly appreciate it. Thank you. www.vicsolar.com.au

Inviato da: Martin il: 2018-07-23 10:14:50.530868 it was really best art Apk uploads

Inviato da: Dami il: 2018-08-29 08:01:37.407297 Wiggly racing on PC

Inviato da: Mike Rock il: 2018-10-17 08:14:42.66087 There are specific dissertation web-sites by way of the web to produce safe apparently documented inside your website. Kodi

Inviato da: umair il: 2019-03-03 14:38:39.308761 I would like to thank you for the efforts you have made in writing this article Apk uploads

Inviato da: Dori il: 2018-08-29 07:58:16.009965 This approach is normally how it looks quite best. Every one about health issues demonstrates really are made using many different ways of life proficiency. I propose you the technology rather a lot. Offer Financing to Customers

Inviato da: james thomas il: 2019-01-28 08:12:58.496613 hey there is the best ways to earn credit in IMVU and enjoy it.

Inviato da: kelvin nox il: 2019-02-17 17:54:26.092687 here you can download free turbo vpn for PC, Laptop (Windows 10 – Mac).

Inviato da: techpcwin il: 2019-05-18 08:33:49.40701 Very interesting topic, thanks for posting.

Inviato da: mywifiext il: 2018-11-26 12:35:42.052061 Everybody enjoys the majority of the discussion posts, When i basically encountered, I had desire additional information on that, simply because it truly is brilliant., Having on account of receive distribution. Best Charging Station

Inviato da: james thomas il: 2019-01-11 07:29:24.060475 BKp4OE ikpfvvaisbiy, [url=http://fzbivsbnyqql.com/]fzbivsbnyqql[/url], [link=http://vuhccpkftwbu.com/]vuhccpkftwbu[/link], http://jfollkpcqiww.com/

Inviato da: bhzekxukvkz il: 2015-09-10 17:44:30.487778 this information is really useful

Inviato da: gmail com login il: 2019-05-29 06:28:48.262678 Ottimo articolo, grazie!

Inviato da: Smartphone il: 2015-09-15 21:29:30.148043 awsome work really enjoyable firmware feeds

Inviato da: Dasil il: 2018-08-29 08:05:01.3387 thanks for sharing it i would love to share it Arc Welder for Mac

Inviato da: Arc Welder for Mac il: 2019-04-10 10:45:29.733671 The article is worth to read. The clarity and balance that reflects from this blog post. These days blogs are used everywhere. The idea that we recieve from them are unevitable. The art needed is the power of creativity within yourself via learning, thinking, creating and rigorous study. Therefore the article is truely helpful for the readers. Thanks a lot for writing such a wonderful article. I await your next article with great egarness. car detailing dubai

Inviato da: james thomas il: 2019-01-19 18:04:11.257894 hope so its useful for everyone techwikies

Inviato da: deciaq il: 2018-08-29 08:10:05.382157 Check out my site guys.

Inviato da: cheap outdoor furniture nz il: 2019-06-26 09:38:49.678424 its so useful for everyone https://appspcfaq.com/download-and-play-wiggly-racing-on-pc/

Inviato da: Mike Rock il: 2018-10-17 08:08:45.630169 October 8, shoe net news, elementary christian louboutin sale school, air max art teachers adidas stan smith told us that christian louboutin shoes the red bottom heels most basic color of all colors nike factory outlet is red, yellow, blue tricolor, also known as jordans on sale "three primary louboutin shoes colors", because these three colors can not be mixed nike outlet online through other colors, but these under armour stephen curry three colors can jordan 5 produce other new colors through different proportions of cheap jordan shoes mixing. nike store This red bottom heels autumn, start dressing up and let the original colors brighten up your life. jordans on sale Suki Waterhouse, Red + Blue America, appears in Times Square at cheap christian louboutin a new air max height. She was wearing a red cheap jordan shoes double-breasted windbreaker, a blue lace perspective dress red bottom shoes and camel suede nike air max nike outlet heels. Kayla Ewell adidas originals wore a red and blue nike air max striped nike factory store breast dress, under armour boots showing attractive clavicle, elegant. christian louboutin sale Hilary nike shoes Duff's nike factory store red and nike outlet store jordans for sale blue patchwork body-wrapping skirt is amazing. Red + yellow incarnation Autumn nike air max Warm Sun Rita nike roshe run Euler cheap christian louboutin wears Moschino yellow striped bow-tie shirt adidas sneakers nike shoes + Red cheap christian louboutin shoes high-waisted broad-legged pants. Sun Li wears nike air max a John Galliano yellow geometric nike outlet dress and nike outlet store red bottom heels Jimmy jordan 5 Choo red water cheap jordans drill christian louboutin fishmouth shoes. Katy Perry, the nike store Fruit Sister, appeared wearing a jordan 11 red nike store McDonald's logo skirt and nike outlet store a McDonald's logo backpack. Olivia Culpo, nike outlet online wearing a nike factory store yellow knitted cardigan and blue high-waisted jeans shorts, skillfully elongated red bottom heels his legs. Shoulder chain bag, black lacquered cheap christian louboutin shoes high-heeled boots, sweet and pleasant. Street photographers wear yellow christian louboutin shoes casual jackets with red bottom shoes straight jeans. They are handsome and impressive. Yellow casual jacket with straight jeans, handsome and compelling. more wonderful content, under armour welcome to nike outlet store scan the two-dimensional jordans for sale code below and pay attention to the official tweets of shoe webs!

Inviato da: Cadence il: 2019-04-20 00:04:26.780795

Scrivi un commento: