I have a new vps and I need to setup some cron jobs on it to notify me of what's happening on the server. I've tested with sendmail and emails are indeed leaving the server, but on my email they are arriving as spam. What are the steps I need to do to configure the box propperly? Its a fresh VPS with Scientific Linux installed. Can someone point me in the right direction? Thanks.  I might add that from other vps I have the mail goes to the inbox directly. Also This is from a subdomain I own that is pointing to another server on a A Record.  Edit: Here are the SPF Records already created:  Delivered-To: mypersonalEmail@gmail.com Received: by 10.114.184.100 with SMTP id et4csp1203226ldc;         Sun, 24 May 2015 14:44:42 -0700 (PDT) X-Received: by 10.180.101.3 with SMTP id fc3mr25461787wib.47.1432503882045;         Sun, 24 May 2015 14:44:42 -0700 (PDT) Return-Path: &lt;root@server.rjmarques.com&gt; Received: from server.rjmarques.com ([1.123.123.1])         by mx.google.com with ESMTP id dx2si9334561wib.2.2015.05.24.14.44.41         for &lt;mypersonalEmail@gmail.com&gt;;         Sun, 24 May 2015 14:44:41 -0700 (PDT) Received-SPF: pass (google.com: domain of root@server.rjmarques.com designates 1.123.123.1 as permitted sender) client-ip=1.123.123.1; Authentication-Results: mx.google.com;        spf=pass (google.com: domain of root@server.rjmarques.com designates 1.123.123.1 as permitted sender) smtp.mail=root@server.rjmarques.com Received: by server.rjmarques.com (Postfix, from userid 0)     id 2A498528D; Sun, 24 May 2015 21:44:41 +0000 (UTC) Date: Sun, 24 May 2015 21:44:41 +0000 To: mypersonalEmail@gmail.com, to@server.rjmarques.com Subject: Test User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: &lt;20150524214441.2A498528D@server.rjmarques.com&gt; From: root@server.rjmarques.com (root)  This is a test   And the spf record:  v=spf1 mx a ptr ip4:1.123.123.1 ~all
This is a  about how to handle email sent from your server being misclassified as spam.  For additional information you may find these similar questions helpful:                    Sometimes I want to send newsletters to my customers. The problem is, that some of the emails get caught as spam messages. Mostly by Outlook at the client (even in my own Outlook 2007).  Now I want to know what should be done to create "good" emails. I know about reverse lookup etc., but (for example), what about a unsubscribe link with an unique ID?  Does that increase a spam rating?
How can we rewrite this optimization problem in standard form? Consider the following problem $$ \begin{array}{crl} &amp;\underset{y}{\max} &amp; f(y)\\ s.t. &amp; y_{1}A_{1}+y_{2}A_{2}+S_{1}&amp;=C_{1},\\  &amp; y_{3}A_{3}+y_{2}A_{4}+y_{5}A_{5}+S_{2}&amp;=C_{2},\\  &amp; y_{3}A_{6}+y_{4}A_{7}+S_{3}&amp;=C_{3},\\  &amp; S_{1},S_{2},S_{3}\succeq0, \end{array} $$ where $y_{i}$ are scalar variables and the matrices $A_{i}$ are symmetric real. How can we rewrite this optimzation problem in the following form  $$ \begin{array}{crl} &amp;\underset{y}{\max} &amp; f(y)\\ s.t. &amp; \sum_{i=1}^{m}y_{i}A_{i}+S&amp;=C,\\   &amp;S&amp;\succeq0, \end{array} $$ where $x_{i}$ are scalar variables and the matrices $B_{i}$ are symmetric real. please? Thanks. How to run the Ubuntu ISO live image from Windows without USB or DVD?  This is a self answered question. How to extract the last two (or any number) directories from a path with sed? I'm really looking for a generic solution here, but for the sake of example, let's say I'm looking for the deepest 2 directories in a path. e.g.: Given a path /home/someone/foo/bar, how can I use sed (or awk) to get foo/bar  It would be simple if the first part of the path were always the same, but in my case, I'm looking for an expression that will work for any arbitrary path, and ideally, for any depth n.  If the path has fewer than n (in this case 2) levels, it's not important how the command behaves.  I went do this today and found it tricky. I started to write a loop to do it instead, but I can't shake the feeling that this must be possible in a single command. I could be wrong. Any ideas? If $A^2\succ B^2$, then necessarily $A\succ B$ I remember reading somewhere about the following properties of non-negative definite matrix. But I don't know how to prove it now.  Let $A$ and $B$ be two non-negative definite matrices. If $A^2\succ B^2$, then it necessarily follows that $A\succ B$, but $A\succ B$ doesn't necessarily leads to $A^2\succ B^2$.  How can you prove it? Thanks! With biblatex, alphabetic style, I have     &lt;author&gt;. &lt;title&gt;   But I want to have a colon ":" instead of the period "." after the author:     &lt;author&gt;: &lt;title&gt;   What do I have to change? Probably a novice question, but how do I correctly diagnose from a photo for what reason that camera wasn't able to focus properly?  It can be any 1 of the following   Unsteady hand Lens issue Metering Re-Calibration required in camera or ...   Is there a set of unsaid protocols that needs to be followed by a photographer?  Goal is to get a sharp and crisp image prior to editing.  [PS: I own a Nikon D5200.] Entering Unicode characters in LaTeX How do I enter Unicode characters in LaTeX?  What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file? Which of these sentences is correct?     Rupees are interchangeable with dollars   or      Rupees is interchangeable with dollars. What is the plural of the abbreviation of "multiplicity automaton", "MA" or "MAs"? The "multiplicity automaton (MA)" is a model in compute science and its plural is "multiplicity automata". Should the plural of the abbreviation be MA or MAs?      is not a duplicate as it is focused on cases like "ATMs" where the expanded form "automated teller machines" has a regular plural ending in "s." Unlike "machines," the word "automata" has an irregular plural that does not end in "s." It's unclear from the linked answers how abbreviations that end in words like this should be pluralized. A high-ranking  mentions "VIPs," but a high-ranking  says     VIPs' is a strange one. It could be argued that the expanded acronym,   when pluralized, should be 'Very Important People' rather than 'Very   Important Persons'. Using this argument, 'VIP' could be used as a   singular or plural noun. "The VIP has arrived." "The VIP have   arrived." I'm not sure anyone else would agree with my logic, though. How do I enable the "Universe" repository from the command line? Calculate $E(Y)$ and $Var(Y)$ given the random variable which is exponentially distributed The random variable $X$ is exponentially distributed with parameter $\lambda = \dfrac{1}{2}$. Also, define $Y = -2X + 1$. Calculate $E(Y)$ and $Var(Y)$.  So we have   $$f_X(x) = \dfrac{1}{2} e^{-\dfrac{1}{2}x} $$  if $x\ge0$ and $0$ otherwise.  But how to calculate $E(Y)$ and $Var(Y)$ ? Integrate JavaScript in JSF composite component, the clean way I found the question  Regarding the number of answers votes and also according to my personal taste I like to capitalize titles. But what exactly are titles? Only the single main book title? What about other smaller semantic parts? Chapter headings, sub-chapter, ... What are some ways to write object-oriented code in C? Especially with regard to polymorphism.    See also this Stack Overflow question . I have 2 1tb hard drives on my computer with Windows 8 on the first hard drive and nothing on the other.  I want to install Ubuntu 14 on the second hard drive. I've looked up some guides and they all say to install Ubuntu on the sdb partition when booting off a usb stick. I have also seen some say to unplug the Windows HDD and then install Ubuntu onto the second HDD, and Ubuntu will automatically detect Windows and ask what you want to boot into upon boot.   I am really concerned about this - Will it ask me to choose what OS I want to boot into? Is there something like rEFInd(Mac) for Windows? Can anyone please give me a guide on how to do it without ruining my computer?  Thanks How to securely delete files stored on a SSD? Virtual Box Won't Accept .ISO To Install OS I want to be able to lock my translation/scale operations to two axes at a time, say xy, xz or yz. It currently takes two operations (one for each axis).  Example, say for a cylinder, I would like to reduce the radius. I currently have to scale on the x axis first, then on the y axis, or I have to manually input the scale values in the object properties panel.  This option is easily accessible in 3dsmax via the axis constraints command bar. Or I can click the intersecting area between the 3d manipulator of the axes in question and move in that plane. Android Studio shortcuts are not working I use Android Studio in Ubuntu and everything was working fine. Since two weeks that shortcuts stopped working, Ctrl+C, Ctrl+V, Ctrl+Z. I tried to change Keymap in Settings but without success.  What could be the possible problem? Suppose there are several journals with the same impact factor. Is it better to submit my papers to one of them or each time I finished a manuscript it is better to submit to an equally good journal that I have not published in yet.  I am early in my career and I already published two papers in the same journal and I am going to finish my third paper, which potentially can be published in the same journal as my previous two papers.