6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to resolve the below scenario by writing bash script.
On my managed linux server I have about 30 accounts and there is not enough space to generate full 30 accounts backup in one go and transfer it via SFTP to my Backup Synology Server. What I'm thinking of doing is breaking the... (3 Replies)
Discussion started by: humble_learner
3 Replies
2. UNIX for Dummies Questions & Answers
How to get cpanel backup data in rescue mode?
Server OS 6.3 minimal with cPanel
/dev/sdb1 is main partition
root@rescue ~ # fdisk -l
Anyone can help
Thank you (0 Replies)
Discussion started by: jaydul
0 Replies
3. Shell Programming and Scripting
i want to delete the extra ftp accounts that are created in cpanel
e.g., when you go to cpanel->ftp accounts, any that are not there by default
how can i do this via commandline?
i am looping through the users on the server
where is this info stored?
also - how can the password of an... (0 Replies)
Discussion started by: vanessafan99
0 Replies
4. Shell Programming and Scripting
Hello,
I could use a little help with the command line part of this. I've got it to sorta work if I use this `gawk -F"/"'{ print $3 }'`
I've also tried `pwd|cut -d/ -f3` with no luck. Is this possible to do? I'm basically doing this to copy the users domain, then paste that into the... (5 Replies)
Discussion started by: biopulse
5 Replies
5. Shell Programming and Scripting
Hello,
I'm Have 1 Question abut
if i need to run another script in my bash script by example
/scripts/killacct this script for cpanel but when i try to execute this command
/scripts/killacct username he ask me yes or no any idea to answer on this question with yes in my bash script
I'm... (2 Replies)
Discussion started by: LinuxCommandos
2 Replies
6. UNIX for Advanced & Expert Users
Hello,
I'm facing a big problem with my hosting server (Dual Xeon 2.4GHz), I'm having a load in the CPU usage and the memory (maybe it's related) ALSO mySQL:
Server Load 5.34 (2 cpus) (to 22 sometime)
Memory Used 68.4 % (to 70% sometime)
When I go to 'CPU/Memory/MySQL Usage' I found:
... (3 Replies)
Discussion started by: Kh@lid
3 Replies
Apache::Qpsmtpd(3pm) User Contributed Perl Documentation Apache::Qpsmtpd(3pm)
NAME
Apache::Qpsmtpd - a mod_perl-2 connection handler for qpsmtpd
SYNOPSIS
Listen 0.0.0.0:25 smtp
AcceptFilter smtp none
## "smtp" and the AcceptFilter are required for Linux, FreeBSD
## with apache >= 2.1.5, for others it doesn't hurt. See also
## http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter
## and http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen
LoadModule perl_module modules/mod_perl.so
<Perl>
use lib qw( /path/to/qpsmtpd/lib );
use Apache::Qpsmtpd;
$ENV{QPSMTPD_CONFIG} = "/path/to/qpsmtpd/config";
</Perl>
<VirtualHost _default_:25>
PerlModule Apache::Qpsmtpd
PerlProcessConnectionHandler Apache::Qpsmtpd
# can specify this in config/plugin_dirs if you wish:
PerlSetVar qpsmtpd.plugin_dirs /path/to/qpsmtpd/plugins
PerlSetVar qpsmtpd.loglevel 4
</VirtualHost>
DESCRIPTION
This module implements a mod_perl/apache 2.0 connection handler that turns Apache into an SMTP server using Qpsmtpd.
It also allows you to set single-valued config options (such as loglevel, as seen above) using "PerlSetVar" in httpd.conf.
This module should be considered beta software as it is not yet widely tested. However it is currently the fastest way to run Qpsmtpd, so
if performance is important to you then consider this module.
BUGS
Probably a few. Make sure you test your plugins carefully.
The Apache scoreboard (/server-status/) mostly works and shows connections, but could do with some enhancements specific to SMTP.
AUTHOR
Matt Sergeant, <matt@sergeant.org>
Some credit goes to <mock@obscurity.org> for Apache::SMTP which gave me the inspiration to do this.
perl v5.14.2 2009-04-02 Apache::Qpsmtpd(3pm)