I am using gmail as my email provider, and I only have gmail servers for my mx records. I don't like the 500 message per day cap. To address this issue I would like to run postfix on my Linux machine to only send email, port 25 blocked by my firewall. I can send email, however google marks all messages sent with postfix as SPAM. How do I make sure that people know email sent with postfix is valid?
I'm in the process of migrating to a new server, but some traffic that should be going to old server is now coming to the new server before I am ready to migrate. My provider used an IP used as the secondary nameserver on the old server as the primary IP on the new server, so now my secondary nameserver is directing traffic to the new server.
Is there a way to forward the traffic hitting the new IP back to the old IP while I wait for DNS to propagate?
Server is Linux CENTOS 6.5 x86_64 w/ cPanel
Thanks
I am running linux with postfix, dovcot, postgrey and spamassasin/spamd.
This is my main.cf
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_invalid_hostname,
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
check_policy_service inet:127.0.0.1:10030
I got spamassasin to add spam header to other emails that postfix didn't catch, but how to make it reject?
I am using Centos5 running on a VMWare but whenever I choose to open the User Manager menu from System-Administration, an error message always displays
The user database cannot be read. This problem is most likely caused
by a mismatch between etc/passwd and /etc/shadow or /etc/group and
/etc/gshadow/. The program will now exit.
I am a Linux novice and have no idea how to fix this tiny issue. ANy help is thankful. Thank you.
debian4 linux
i have the following cmd line which works fine
rsync -avr -e ssh /home/dir [email protected]:/home/
but i need to setup it up now to rsync to a remote server that only has ftp on it
how do i go about that ?
i looked at the rsync help but quickly got lost (i don't do this stuff very often)
thanks
alex
I need to forward any http request from my old server IP to my new IP.
I migrated servers and there are a few domains that have a high TTL and I could not update.
Is it possible to take all HTTP requests from one server running centos/whm/php/apache 2+ and forward them to the new ip?
Since I have hundreds of domains I'd prefer a solution that involves running an app on the linux box that will push requests automatically to the new box.
Thoughts?
Cheers
I want to update the Python build on my Linux box, but the only way I know how to do it is uninstalling the current version and installing the new one. My system is already up to date (I updated yesterday). I wanted to know if there is a way to update a specific program from the command line, like sudo apt-get update <program-name>. I know this command doesn't exist, but I'm hoping something equivalent does.
Can anyone tell me how to access the Java Applet Console in Chromium for Linux?
I assumed there would be a Java application packaged with the JRE that would give me access through the command line, but I can't find reference to anything.
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.2) (ArchLinux-6.b24_1.11.2-1-i686)
OpenJDK Client VM (build 20.0-b12, mixed mode)
I am trying to scp files from a windows server to a linux server with the original time and dates intact. When running the command:
pscp.exe -p C:\temp\somefile.txt user@server:/temp/
The file on the server always has the date/time of the transfer, not the original file. Putty SCP seems to be completely ignoring the preserve attributes flag. Anyone experienced this before and/or have a solution?
Is there a way to get DVD region code from command line (linux/ubuntu 9.10)?
I want to script this action and store the region code (and other data about DVD) in a log.
Is it possible to setup a mail server on a Linux machine without root permissions? I want to be able to create two aliases for a given mail ID. But if I remember correctly, it is no possible to do this without root privileges because I need to edit the configuration file and then restart the mail server. Does anyone have a suggestion to get around this problem?
I want to close an open port which is in listening mode between my client and server application.
Is there any manual command line option in Linux to close a port ??
NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."
I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??
I have an existing raid5 device which I created using mdadm on Linux.
When I created the device I set the chunk size to 64 but I would like to test the performance of various sizes but I don't want to have to rebuild my entire system to do so.
If it is not possible to do it live then is it possible to do this by booting with a rescue disk?
Any advice on the steps how to do this, either live or with a rescue disk, will be greatly appreciated.
Hello,
My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD? Thank you in advance.
I'm running Ubuntu in a virtual machine (host machine is Windows 7). Is it possible to use Fiddler in the host machine to capture the traffic from the virtual machine? Seeing as the virtual machine's network must be passing through the host computers NIC, can Fiddler capture the packets? (I don't know of any free alternative to Fiddler for Linux, except Tamper Data, but I need a bit more control). Thanks.
Hi
In my Linux server i have three network cards. The eth0 card is connected to ISP1, the eth1 card is connected to LAN and the eth3 card is connected to ISP2.
What i want to do is to automatically use eth3 as Internet connection if the eth0 connection fails. How can this be done?
Another problem is that my firewall is referring to eth0 as the server is doing NAT for clients this would be broken if eth3 is taken in use, how can this be solved?
I want to build a linux machine to use as a test server (LAMP) and use SVN on it.
I am thinking maybe Ubantu as the OS but what hardware specs would I need. I think the entire site is less than a gig but if SVN is going to keep multiple versions than wouldnt I need a huge hard drive?
Any tips would be nice.
Thanks!!
I want to run a guest operating system under a Linux host with VirtualBox, but I don't want to run from within X. I don't want a headless configuration, I don't want to run VirtualBox in the background, I don't want any remote protocols. I just want the guest OS to take control of my console (keyboard, mouse and monitor) and render to the framebuffer directly, not from within an X window.
Is this possible?
Hello I am new to ubuntu linux and am currently trying to configure my netbeans to work with PHP. I have found several tutorials to install all the applications I need and have installed a virtual directory for netbeans to run in. Unfortunately, whenever netbeans or I myself go to my local host I get an error 403. I tried modifying my settings to allow from localhost (instead of allow from all) but this did not work and am completely out of ideas.
I'm trying to setup a network architecture where one network is a low-latency low-bandwidth tcp control system (GBit), the other is a high-bandwidth udp (maybe tcp) network that could get saturated (GBit).
If I have two NICs inside a server running Linux. What happens to the low-bandwidth/low-latency network when the high-bandwidth gets saturated. Does each Ethernet card get the same amount of priority inside the kernel or would the low-latency network suffer from the high-bandwidth being saturated?
I am pondering on what would be any implications in logging in via SSH as root?
Surely SSH is safe or am I kidding myself and falling for the unwary ethic of logging into a remote Linux box as root?
Thanks.
Hy,
a friend and me want to share a Linux-Machine. We both need to get root-rights via sudo for administering that machine. Is it somehow possible to deny the access to the home-folder for the other one, although he can become root?
Thanks!