05-30-2013
The language is usually irrelevant at run time. It is hard to envision your architecture. You might want to buffer emails into an RDBMS or directory and have one or more daemons sending emails.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ok i have exim installed on my redhat 8.0 server
the exim dir is:
/usr/local/exim
and the mail queue is:
/var/spool/exim_mail
this is what the mail queue looks like:
http://www.thedigitaldream.co.uk/images/exim.gif
the problem is, mail stays there, where is it meant to go???
... (1 Reply)
Discussion started by: matt2kjones
1 Replies
2. UNIX for Advanced & Expert Users
Hiya all,
Using exim v4.x and CentOS 4/5 on a bunch of servers at our company. We're having a tough time fighting spam relaying and such.
I basically want any tips and tricks for these, and one specific question.
How can I force ALL email that is sent from our box (no matter what form)... (0 Replies)
Discussion started by: bigshow911
0 Replies
3. Red Hat
Hello all
I installed apache in CentOS 5.5 ,after searching the web for tips on configuration
I did the fallowing stuff to unable connecting the http server from outside.
In /etc/httpd/conf/httpd.conf I changed the Listen value to 0.0.0.8011
Then checked with then check with: netstat -anp and I... (2 Replies)
Discussion started by: umen
2 Replies
4. Red Hat
Dear Linux Experts,
On my windows 7 desktop with the help of Vmware workstation (Version 7.1),
created virtual machine and installed Centos 5.7 successfully using ISO image.
Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies
5. IP Networking
Hello, when i tried to get whois on an .com domain, it automatically used tucows whois, it appears it cant connect that server, please how can i fix it, so it dont fail or use another server?
whois mydomainname.com -f
+ whoisout='
'
I have:
Linux * 2.6.18-348.3.1.el5.028stab106.2 #1... (5 Replies)
Discussion started by: postcd
5 Replies
6. UNIX for Dummies Questions & Answers
hello
I have 2 queries
1) I ran this command : exigrep root /var/log/exim_mainlog
and got a lot of results like this
2014-03-25 18:00:09 1WSO9R-000067-6n <= root@123.456.com U=root P=local S=690 T="lfd on 123.456.com: Excessive resource usage: xxx (344 (Parent PID:17477))" for... (0 Replies)
Discussion started by: johnchristy
0 Replies
7. UNIX for Dummies Questions & Answers
Hello
I have configured LFD alerts/Login failure alerts to be sent to "root"
However I'm unable to find/change root email.
I'm using exim and i dont want to use postfix. Therefore /etc/aliases will not work because newaliases command will not work
I tried creating a .forward file still... (0 Replies)
Discussion started by: johnchristy
0 Replies
8. Debian
Hi,
Recently, I experienced that exim was slow in sending outgoing mail, it was spending a lot of time in the queue, resulting in customer complains.
I came across an article in the internet to optimize the performance of exim in the server. However, the location of the exim.conf is not in... (0 Replies)
Discussion started by: anaigini45
0 Replies
9. Linux
Hello Guys
In my Server i have installed exim
when i send a mail on particular IP address i got the following error.
SMTP protocol synchronization error (next input sent too soon: pipelining was not advertised): rejected
"mail from:xyz.com" H=xyz.com (x.x.x.x) next input="\r\n"
I... (1 Reply)
Discussion started by: HarishMooly
1 Replies
10. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT DEBIAN
plack::app::cgibin
Plack::App::CGIBin(3pm) User Contributed Perl Documentation Plack::App::CGIBin(3pm)
NAME
Plack::App::CGIBin - cgi-bin replacement for Plack servers
SYNOPSIS
use Plack::App::CGIBin;
use Plack::Builder;
my $app = Plack::App::CGIBin->new(root => "/path/to/cgi-bin")->to_app;
builder {
mount "/cgi-bin" => $app;
};
# Or from the command line
plackup -MPlack::App::CGIBin -e 'Plack::App::CGIBin->new(root => "/path/to/cgi-bin")->to_app'
DESCRIPTION
Plack::App::CGIBin allows you to load CGI scripts from a directory and convert them into a PSGI application.
This would give you the extreme easiness when you have bunch of old CGI scripts that is loaded using cgi-bin of Apache web server.
HOW IT WORKS
This application checks if a given file path is a perl script and if so, uses CGI::Compile to compile a CGI script into a sub (like
ModPerl::Registry) and then run it as a persistent application using CGI::Emulate::PSGI.
If the given file is not a perl script, it executes the script just like a normal CGI script with fork & exec. This is like a normal web
server mode and no performance benefit is achieved.
The default mechanism to determine if a given file is a Perl script is as follows:
o Check if the filename ends with ".pl". If yes, it is a Perl script.
o Open the file and see if the shebang (first line of the file) contains the word "perl" (like "#!/usr/bin/perl"). If yes, it is a Perl
script.
You can customize this behavior by passing "exec_cb" callback, which takes a file path to its first argument.
For example, if your perl-based CGI script uses lots of global variables and such and are not ready to run on a persistent environment, you
can do:
my $app = Plack::App::CGIBin->new(
root => "/path/to/cgi-bin",
exec_cb => sub { 1 },
)->to_app;
to always force the execute option for any files.
AUTHOR
Tatsuhiko Miyagawa
SEE ALSO
Plack::App::File CGI::Emulate::PSGI CGI::Compile Plack::App::WrapCGI
See also Plack::App::WrapCGI if you compile one CGI script into a PSGI application without serving CGI scripts from a directory, to remove
overhead of filesystem lookups, etc.
perl v5.14.2 2011-11-02 Plack::App::CGIBin(3pm)