How can I easily setup a SMTP reverse proxy from EC2 to SES without revealing SES the original SMTP Client IP?
GeekTantra's questions
I have been trying to setup the DKIM CNAME Signing for one of my sub domains with Amazon SES and for some reason the CNAME is behaving oddly:
Eg.
The following:
dig @4.2.2.4 pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com
at times returns:
; <<>> DiG 9.8.3-P1 <<>> @4.2.2.4 pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10537
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com. IN A
;; ANSWER SECTION:
pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com. 170 IN CNAME support.formsdotstar.com.
support.formsdotstar.com. 170 IN A 23.239.84.67
;; Query time: 223 msec
;; SERVER: 4.2.2.4#53(4.2.2.4)
;; WHEN: Wed May 11 22:56:02 2016
;; MSG SIZE rcvd: 116
and at other times returns:
; <<>> DiG 9.8.3-P1 <<>> @4.2.2.4 pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31484
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com. IN A
;; ANSWER SECTION:
pznfjjljalcr5ocdaxrjia27nbf7cial._domainkey.support.formsdotstar.com. 174 IN CNAME pznfjjljalcr5ocdaxrjia27nbf7cial.dkim.amazonses.com.
;; AUTHORITY SECTION:
dkim.amazonses.com. 774 IN SOA ns-386.awsdns-48.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
;; Query time: 232 msec
;; SERVER: 4.2.2.4#53(4.2.2.4)
;; WHEN: Wed May 11 22:56:01 2016
;; MSG SIZE rcvd: 226
Initially I thought it was a propagation issue, but it appears with the same DNS server.
What could be wrong?
I recently upgraded the kernel one of my Debian 8 servers which has Webmin+Virtualmin installed on it. The server had usual Virtualmin backups setup which used to work fine before the upgrade, but post the upgrade the backups stopped working with no error on Webmin/Virtualmin logs. While trying to perform manual backups (which again failed without any error) I checked dmesg
on the server and found the following error showing up repeatedly:
[78773.181504] /usr/share/webm[18688]: segfault at f8e0070 ip 00007f45bcc895df sp 00007ffc2085dab0 error 6 in libc-2.19.so[7f45bcc0f000+1a2000]
[79188.007475] monitor.pl[19085]: segfault at 4ead470 ip 00007ff2935805df sp 00007ffc5c2d5aa0 error 6 in libc-2.19.so[7ff293506000+1a2000]
And this error popped up after every time I tried running the backup.
Can any one suggest how can I fix this issue?
Also, my current kernel string output from uname -a
is
Linux srv1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
I need to know a way by which I can get which process changed a particular file the last time. Any tools or shell commands for the same would be extremely helpful.
I am facing a memory overflow issue in one of my OpenVZ containers. While doing a vzctl enter 172
it gave an unable to allocate memory
error. The container is supposed to be configured for 3.5GB of memory.
The container configuration is as follows:
file: /etc/vz/conf/172.conf
ONBOOT="yes"
NAMESERVER="4.2.2.1"
CPUUNITS="1000"
CPUS="2"
CPULIMIT="80"
PRIVVMPAGES="914432:914432"
DISKSPACE="153600000:153600000"
QUOTATIME="0"
KMEMSIZE="86236200:88740984"
LOCKEDPAGES="256:256"
SHMPAGES="21504:21504"
NUMPROC="2000:2000"
PHYSPAGES="0:9223372036854775807"
VMGUARPAGES="524288:2147483647"
OOMGUARPAGES="26112:9223372036854775807"
NUMTCPSOCK="360:360"
NUMFLOCK="380:420"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="10321920:16220160"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="4504320:16777216"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="5000:5000"
DCACHESIZE="3409920:3624960"
NUMFILE="18624:18624"
AVNUMPROC="180:180"
NUMIPTENT="128:128"
DISKINODES="200000:220000"
VE_ROOT="/srv/vz/root/$VEID"
VE_PRIVATE="/srv/vz/private/$VEID"
OSTEMPLATE="ubuntu-10.04-minimal_10.04_amd64"
ORIGIN_SAMPLE="vps.2048"
HOSTNAME="host.xyz.com"
IP_ADDRESS="xx.xx.xx.xx"
Output for cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
172: kmemsize 27229970 38669893 86236200 88740984 0
lockedpages 0 0 256 256 0
privvmpages 342879 396207 914432 914432 0
shmpages 3987 11152 21504 21504 0
dummy 0 0 0 0 0
numproc 96 109 2000 2000 0
physpages 211758 242535 0 9223372036854775807 0
vmguarpages 0 0 524288 2147483647 0
oomguarpages 211758 242535 26112 9223372036854775807 0
numtcpsock 30 47 360 360 0
numflock 122 125 380 420 0
numpty 1 1 16 16 0
numsiginfo 0 3 256 256 0
tcpsndbuf 692360 3389144 10321920 16220160 0
tcprcvbuf 210744 283744 1720320 2703360 0
othersockbuf 240448 564608 4504320 16777216 0
dgramrcvbuf 0 8224 262144 262144 0
numothersock 167 180 5000 5000 0
dcachesize 1052759 1122245 3409920 3624960 0
numfile 3700 3939 18624 18624 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0
Any help in finding the issue in the configuration would be extremely helpful.
Thanks
I needed some idea on the max concurrent calls a standard Asterisk Telephony System can handle on a 64 bit Linux server of 4GB RAM, 4 CPU cores and 10K RPM RAID0 HDD? Most of my calls will be reads.
Any pointers in this regard will be very helpful.
I am trying to install Ubuntu Server as a domU (Guest) on Citrix XenServer. Everything works fine but I am not able to access the internet from the guest. Is there any specific thing that I need to do to configure the network for the Guest. I have two NICs, 1 has an external IP and the other has an internal IP.
I have a very annoying problem with fedora core 8. I am not able to install git it gives this error every time I do a yum install git-core
Error: Missing Dependency: libcurl.so.3 is needed by package git
There seems to be no way of resolving this dependency as FC8 has libcurl.so.4 by default and git doesn't seem to have any version that supports this version of libcurl.
Any help on how to get git installed in FC8 is appreciated.