I am a Qmail users all these while and i can control the email routing via smtproutes and rcpthosts.
How can I do this in Exim?
I have a website xyz.com hosted in this server but the email server is hosted seperately. By default, i think all the email submitted locally will be send within the server itself. I need Exim to think xyz.com is a remote domain.
Alright now this is the most intelligent way to send spam I have ever seen. Apparently a guy has made a PHP or Perl script that is acting as an MTA. That's right: He is neither using Sendmail nor Exim but he made a script that acts as an MTA. That means the script itself connects to third party mailservers via port 25 and communicates with the remote mailserver as if it was an MTA itself. This works even if Exim is entirely disbaled...
The spam still get's sent. The script is running only occasionally...not like a daemon.
So it is nearly impossible to locate it. You have no Exim logs to look at. And in the Apache logs any PHP script could be it... You are not able to find that out. Therefore I am unable to stop him unless I manage to block outgoing connections to another host's port 25 for any program but for exim.
How can I configure my firewall (APF) so that only Exim my connect to other servers via port 25? Is that even possible?
I didn't know where to post this question since VHCS has no official forum (that I know of), so I decided to post it on sitepoint. I'm sure some of you use VHCS and maybe someone can help me with my problem.
I am setting up a hosting server for the sites I develop for my customers. This server is intended to host only websites (no email). The MX records for the hosted domains will mostly be directed to Google Apps.
My problem is that VHCS automatically adds all hosted domains to postfix as local domains. This in turn means that I cannot send email to these domains from the server itself (e.g. from PHP scripts).
I believe that local domains are listed in the file /etc/postfix/vhcs2/domains. Now, I could just delete them from this file and it would probably work, but I would really rather see if there was a way to convince VHCS to not add them to the list in the first place. There are several reasons I am reluctant to do this manually: I have extra work every time I add a domain; there is a chance I'll forget to do this; it says in the file "Please do NOT edit it manually", which probably means that VHCS will overwrite my changes at some time,...
Does anyone know, how to configure VHCS to not serve as a mail server for any of the hosted domains, bearing in mind that I cannot simply shut down postfix, because I need a way of sending email through PHP?
We have the Windows version of Plesk 11.5 installed. I've removed the "Management of access to the server over Remote Desktop" but two of my sites (there's only 4 so far) still have the remote desktop button available if you log into the user account and switch to those two domains. Switching to the other two doesn't display the icon. I'm not sure if there's another place where it gets turned on/off as I've tested creating a new subscription with the "Management of access to the server over Remote Desktop" ticked and it's not giving me the desktop icon there.
I am having issues in receieving emails. For some reason, the rbl lists I had setup are causing the server to reject emails (retry - timeout). So, I need to take this rbl list completely. How can I do that? exim.conf is locked and using the advanced editor is no fun even though I tried it putting the dnslists without the rbl causing the problem.
I have 2 wordpress blogs, and I'd like a few different domains to be shared on each of them.
Using some exemples, suppose I have domains from domainA.com to domainE.com. domainA.com is my main domain and the others are addon domains.
Today Blog1 is using blog.domainA.com, and domainB.com and domainC.com use WebRedirect to blog.domainA.com. And Blog2 uses domainD.com with WebRedirect on domainE.com too.
To access a post like /2008/02/02/this-is-a-nice-post, it is available only at blog.domainA.com, and not by domains B and C. I'd like they 3 to be able to access all posts directly, without redirecting to domain A.
To do that, I suppose I'd need to do some config on cPanel. And also on wordpress, even if I replicate it over other domains it insists to redirect to its configured domain.
I was thinking on the possibility of using symbolic link (ln -s) on their folders to blog.domainA.com folder, but I don't have access to shell on SSH so I'd like to know if it would work before trying.
In a real exemple of what I want, these domains all share the same phpBB forum: forumpcs.com.br, extremepc.com.br, forumdohardware.com.br.
Do u know if symbolic link would work to share the same wordpress? And how to make wordpress stop redirecting to blog.domainA.com?
I have windows servers that I'll be co-locating very soon. I have purchased a Dell 2161ds-2 and an APC remote boot power strip. Could someone please tell me the best way to secure remote access to these products. Do I put them on public IP's and allow them through the firewall or do I put them behind the firewall and access them after I authenticate through the firewall.
i check my site on checkdns.com and its show me this Error Report
CheckDNS.NET is verifying if NS are alive[url] NS list mismatch: registration authority reports that domain is hosted on the following servers: 'ns.sitename.com; ns1.sitename.com', but DNS server ns.sitename.com reports domain to be hosted on 'ns.sitename.com'. Please make sure that you configure the same DNS servers in registrar database and on your DNS
A lot of domains are running more then one NameServer, but I could not find any tutorial on how to "clone" the NS from one to an other. Is it enough to just add some kind of "transfer to IP setting" in bind, or do I have to have scripts that download settings and files from one server to an other regularly?
On my server I'd like to keep sites as fast as possible and not drain too much on the server. I don't have many users, but I'd like to get it right the first time. What's the best DB engine to use? What about other settings? I'm not sure I should run caching yet, I'm not under much load.
how come I can't route all traffic through openvpn.
1. I was able to ping my client and server ip no problem. So the tunnel connection is fine.
The problem is i can't route internet traffic through openvpn.
I was able to ping from tun0 interface after i add below command iptables -t nat -A PREROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
root@host188 [/etc/openvpn/config]# ping -I tun0 4.2.2.2 PING 4.2.2.2 (4.2.2.2) from 10.8.0.1 tun0: 56(84) bytes of data. 64 bytes from 4.2.2.2: icmp_seq=1 ttl=55 time=8.94 ms 64 bytes from 4.2.2.2: icmp_seq=2 ttl=55 time=8.65 ms 64 bytes from 4.2.2.2: icmp_seq=3 ttl=55 time=8.90 ms
However, my client can't ping 4.2.2.2 from vpn tunnel and I use tcpdump I saw the traffic coming.
downloaded WAMP5_1.7.0. Prior to downloading I was freaking out wondering if I was going to screw up my computer with software conflicts, but I pressed on. I read the Apache information regarding IIS / Apache conflicts. The tutiorial told me to check the services installed on my computer. The tutorial told me to look for a service titled "World Wide Publishing" The service (WWP) did not exist so I proceeded to the WAMP installation wizard. I installed it. Apache does not display in the services window. As if it does not exist. Apache will not fire up. From what I got from the instructions at Apache, it seems there are alot of modifications I can perform to setup Apache correctly. The long and short of it is I connot see my see what my HTML/PHP code is spitting out because Apache never fires up. Can anyone give me some pointers on setting WAMP up in plain ENGISH? Just a note, when I float my mouse over the Apache icon, a little mouse over windows comes up saying "one of two servers running". Is ISS enabled on my computer? I'm frustrated. Any help regarding this matter is worth a beer (or 12).
I purshased a web hosting and I uploaded just one folder to it with my email contact form. The fact is that Google is already listing my site but it is showing the full content of my HTML public folder! Everyone could search my site like an FTP! I don't really want that. How can I avoid that? I just want web browsers to show my web pages, not the folders neither my HTML public folder with all my files: scripts, photos, etc.
Google is showing all this:
Index of /[DIR] Parent Directory 15-Jan-2007 07:58 - [DIR] cgi-bin/ 15-Jan-2007 02:37 -. Apache/1.3.37
Maybe the solution is too easy but for me it is a nightmare right now.
Between our Linux servers, I can get speed up to 80Mbps when transferring big files. However, between Linux and Windows, it's just around 800Kbps - 2Mbps. It shows in network connection properties that connected at 100Mbps, but not sure why it's so slow
Is there any setting I should pay attention? Running Windows 2003 on that box.
This is a instructional overview thread for those developers who are getting into setting up their own server with a LAMP (Linux Apache MySQL PHP) setup. The linux distro referred to in this thread is a centOS (fedora|redhat) setup.
Before Anything
- Make sure that your actual RAM is the same amount that is displayed by the server (there could be some BIOS restrictions on RAM so check for that).
Linux OS Installation
- Use a server system for the type of install. ------------------------------ - Setup you partitions with care: - Make sure that everything other than /swap is an ext3 partition type. - /swap (usually double the amount of space that your ram has but never larger than 4 gigs. - /tmp (700meg is ok). - /boot (100meg is ok). - / (leave rest of the available space in the harddrive for this). ------------------------------ - Use GRUB boot loader - Use DCHP only if your IP address changes due to the network. If not, then assign the IP address of the box. - Assign the netmask if DCHP is not in use. ------------------------------ - When setting up the packages, select only what you need. Most of the time it's better to just install no packages and then install everything you need by yum (yellowdog update manager). If you do not select any packages, only the 1st CD of the linux install will be needed.
Linux OS Customizing
- Create a new user and provide it a password (with # passwd). Do not create a user with a generic or commonly known names used in any daemon programs (ex. mysql, apache, admin, user, php, postgresql). - Disable the ROOT login in SSH (this means that when you login using the other user with SSH, you'll have to $ su to the root user). - Install "Development Tools" with yum using group install if you plan to compile your own apache. If not then install apache with yum install apache.
Apache Settings
- Disable the extensions that you're not using for your website. If the server is only hosting one website, then there is no use for Virtual Hosts. - Set the ServerLimit value to a suitable value so that users won't get locked out of the website. - Change the User and Group directives to the newly created user. - Set Options +Indexes to Options -Indexes so that the contents of directories w/o an index file will not be displayed. - Change the DocumentRoot setting to the newly created user's home (~) directory. Or if you plan to use the default (/var/www/htdocs or /var/www/html) then assign the permissions of the user to that directory. - Add apache as a start up program when the operating system boots up (this can be set in /etc/rc.d/local). - Setup logs accordingly. If you setup image logging and your server has 20+ images per page then your website performance can suffer. - Setup Error Logs to a suitable level. - If any web pages are not displaying and the web server appears to be on when accessing it from the localhost (wget http://localhost) then disable or flush the iptables (/usr/sbin/iptables --fliush). You should also set this as a start up option for the OS. - Use mod_rewrite to use modern URLs.
MySQL Settings
- Use --skip-name-resolve. - Use --skip-bdb (if you're not using it). - Use --skip-innodb (if you're not using it). - Set a log for slow queries. - Set the max_connections to a high value. - Do not set a user with a wildcard ip-address. Only setup users with a specific ip. - Use Query Caching for frequently used queries.
PHP Settings
- Disable Magic Quotes. - Disable Register Globals. - Disable Short Tags. - Disable ERROR REPORTING if the website is not in development mode. - Enable HTTP Only Session Cookies. - Set Session Cookies to only be cookies (and not URL's). - If sessions do not work, then set the session save path to a directory where the apache user has access to. - Use Gzip Compression.
Optimizing Concepts
- Use an optcode cache for PHP (Eaccelerator). - Consider using a static domain for CSS and JS files (this way the same cookies for the website won't be sent on each request). - If your website uses alot of CSS and JS files per page, bundle all of them together into one request using mod_rewrite and php [url] - For Apache, use the lingerD module (this reduces the amount of resources that are used when an apache connection is closed).
Here are some links for optimizing your server build:
I am running IIS 6 for testing & developing web sites offline before uploading the.But i am having little problem reagarding name server and how to configure sub-domain in name server,
I have 2 servers, 1 has its DNS sorted out, and I have a domain on it. The other is an unmanned dedicated server. I need to configure plesk, and I understand it needs a valid DNS to function.
What I want from the second server is simply for its pages, content etc to be accessed via the IP address, not a domain, as it is purely a media server. So how can I configure this? I created a virtual domain but the plesk server shows the default folder content and not the virtually created one, how can I get the server to point to my virtually created folder content?
when i set the Backup Destination to ( /home/cpbackup/daily/) this error appear to me
Quotas cannot be built! Your cpbackup destination is on a filesystem which has quotas enabled. Please move it to a filesystem which does not have quotas turned on or a separate partition/disk slice mounted at /backup.Backup has been disabled to prevent quota problems...