Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Dump eMail image to directory Post 302525364 by kalak on Thursday 26th of May 2011 12:46:36 PM
Old 05-26-2011
you can use something like this in your .forward, or your .procmailrc (not sure if in procmail is safer or not):
Code:
| uudeview -a -d -i -q

uudeview is available as a CentOS rpm from the Dag section of the rpmforge repo: RPMforge/Using - RPMRepo Wiki

I've only tested this with a saved file, not with a live mailbox
This User Gave Thanks to kalak For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. Solaris

Shell script to send email alert for core dump

Friends, I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP. Please post the hints to achieve my goal. Thanks in advance. (1 Reply)
Discussion started by: rtatineni
1 Replies

3. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

4. UNIX for Advanced & Expert Users

Image in email

hi all I have to send a mail, that should have an image at the backgound of the text. i know to send it as an attachment, but how can i set it as backgound. Please help. Thanks (2 Replies)
Discussion started by: infyanurag
2 Replies

5. UNIX and Linux Applications

SMTP Server - dump email

Background: I am replicating a set of servers into a "bubble" for testing. Those systems cannot be aware they are in a "bubble" so I must replicate all external services. I have successfully replicated most of those services except SMTP. I would like to configure an SMTP server that collects... (0 Replies)
Discussion started by: NFN_NLN
0 Replies

6. Shell Programming and Scripting

bash dump raw email body txt from Maildir

I'm setting up a cronjob that will hopefully dump the contents of a email delivered to Maildir/new/ to /home/user/raw.txt (and then delete that email) I could manually remove the bottom line of the raw email, then place the contents in the next line up in the /home/user/raw.txt, but it seems to... (5 Replies)
Discussion started by: unclecameron
5 Replies

7. Shell Programming and Scripting

Multiple .gz decompress files and dump other directory

I have code below for i in *.gz; do gzip -dc $i /home/vizion/Desktop/gzipfile/; done one more for i in *.gz; do gunzip -dc $i /home/vizion/Desktop/gzipfile/; done both are getting error: "gunzip: /home/vizion/Desktop/gzipfile/ is a directory -- ignored " i have requirement below in... (3 Replies)
Discussion started by: Chenchireddy
3 Replies

8. UNIX for Dummies Questions & Answers

Count total image in directory

Dear all, I have a directory consisted of files in .jpg, .jpeg etc..all of them are image 20140411030143_62811159403_92886.jpg 5/11/2014 15:01 197K 20140415024737_62811618747_116460.jpg 4/15/2014 14:47 17K 20140415031003_62811618747_109192.jpg 4/17/2014 15:10 17K... (4 Replies)
Discussion started by: radius
4 Replies
Perlbal::Manual::LoadBalancer(3pm)			User Contributed Perl Documentation			Perlbal::Manual::LoadBalancer(3pm)

NAME
Perlbal::Manual::LoadBalancer - Using Perlbal as a Load Balancer VERSION Perlbal 1.78. DESCRIPTION How to configure a Perlbal Load Balancing service. READ ME FIRST Please read Perlbal::Manual::Configuration first for a better explanation on how to configure Perlbal. This document will make much more sense after reading that. Using Perlbal as a Load Balancer For a better understanding of how to set up Perbal as a Load Balancer, it should be noted that a Load Balancer and a Reverse Proxy can often be the same thing; not always, but often. A Load Balancer is a server (or device) that balances requests across a number of servers to spread the load. A Reverse Proxy can still do this but also have a number of other features. Perlbal as a Reverse Proxy provides features such as buffering content, preserving connections to the backend servers, starting connections ahead of time and a high priority queue, among others. You could almost say that a Load Balancer is a subset of a Reverse Proxy (it's not, but you could). When it comes to Perlbal, the Load Balancer is implemented as a Reverse Proxy without all the extra options, and that's why you set the role of a Load Balancer to "reverse_proxy": SET role = reverse_proxy Simple load balancing Let's assume you want to configure two machines to serve your website and you want to let Perlbal decide how to balance the requests. For the sake of this exercise let's assume you have two servers at: 10.0.0.1:80 10.0.0.2:80 And now you want to use these two machines to serve your website at: 10.0.0.3:80 Here's a sample configuration to make this happen: CREATE POOL mywebsite POOL mywebsite ADD 10.0.0.1:80 POOL mywebsite ADD 10.0.0.2:80 CREATE SERVICE service_mywebsite SET role = reverse_proxy SET pool = mywebsite SET listen = 10.0.0.3:80 ENABLE service_mywebsite The first line defines a pool of machines called "mywebsite". The second and third lines add your two machines to that pool (note that the indentation is not mandatory). After that you define a service called "service_mywebsite" with the role "reverse_proxy" set to listen on "10.0.0.3:80" and using the pool "mywebsite" to serve the requests. The last line is what allows you have several services configured in a file even if they are not currently active (a common scenario is to configure everything on the file and then enable/disable services on-the-fly as required; see Perlbal::Manual::Management for more information on this process). The Load Balancing algorithm Perlbal uses a highly efficient load balancing algorithm. It is very effective for distributing dynamic web requests among potentially heterogeneous hardware. First, backend servers must have their MaxClients (for apache, or equivalent) setting tuned to a reasonable limit. If your hardware can run 20 requests in parallel before running out of CPU, set MaxClients to 20. Next, by default Perlbal will distribute requests randomly. Opening a new connection to any available backend, and issuing the request. The proper algorithm is able to be used if "verify_backend", "backend_persist", "backend_persist_cache", and "connect_ahead" are enabled. SET persist_backend = on SET verify_backend = on SET backend_persist_cache = 5 SET connect_ahead = 2 In this configuration, Perlbal will only route client requests to backends that it knows are real processes, instead of the OS listen queue. It will attempt to reuse pre-verified backends, and will attempt to create slightly more idle connections than it needs in preparation of future requests. When you put all this together, it becomes less likely that a client will wait for Perlbal to find an available backend. By setting your MaxClients properly, backends are able to serve traffic without getting overwhelmed. If no backends are available, Perlbal will queue them internally, rather than overload backends. You would want to disable "verify_backend" if you are balancing across image servers, or other extremely lightweight requests. SEE ALSO Perlbal::Manual::Configuration, Perlbal::Manual::FailOver, Perlbal::Manual::Management, Perlbal::Manual::ReverseProxy. perl v5.14.2 2011-01-23 Perlbal::Manual::LoadBalancer(3pm)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy