<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sendmail Problem :-( please help! in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917279#M26432</link>
    <description>Thanks for the help, I fixed it so far now, but the next problem occured :(&lt;BR /&gt;&lt;BR /&gt;when I send out mail via php to my gmail account, it always goes into spam, because of some header problems I think, I included SPF also, which is recognized, but doesn't change the situation to the better (exactly same email delivered via smtp from the same server works out to "land" in the inbox, it's freakin....):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[CODE]&lt;BR /&gt;Delivered-To: my-address-at@gmail.com&lt;BR /&gt;Received: by 10.82.153.10 with SMTP id a10cs185450bue;&lt;BR /&gt;        Sat, 6 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Received: by 10.67.29.12 with SMTP id g12mr14006613ugj.1168135547091;&lt;BR /&gt;        Sat, 06 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Return-Path: &lt;SENDER&gt;&lt;BR /&gt;Received: from mydomain.com (mydomain.com [MY-SERVERs-IP-HERE])&lt;BR /&gt;        by mx.google.com with ESMTP id u6si37493585uge.2007.01.06.18.05.46;&lt;BR /&gt;        Sat, 06 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Received-SPF: pass (google.com: domain of sender@mydomain.com designates MY-SERVERs-IP-HERE as permitted sender)&lt;BR /&gt;Received: from mydomain.com (localhost [127.0.0.1])&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id l07261DL004032&lt;BR /&gt; for &lt;MY-ADDRESS-AT&gt;; Sun, 7 Jan 2007 03:06:02 +0100&lt;BR /&gt;Received: (from root@localhost)&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Submit) id l072613x004030;&lt;BR /&gt; Sun, 7 Jan 2007 03:06:01 +0100&lt;BR /&gt;Date: Sun, 7 Jan 2007 03:06:01 +0100&lt;BR /&gt;Message-Id: &amp;lt;200701070206.l072613x004030@mydomain.com&amp;gt;&lt;BR /&gt;To: my-address-at@gmail.com&lt;BR /&gt;Subject: I got news for you&lt;BR /&gt;Reply-To: sender@mydomain.com&lt;BR /&gt;From: David &lt;SENDER&gt;&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;the email via smtp (the one landing in the inbox at gmail has the following headers instead:&lt;BR /&gt;&lt;BR /&gt;[CODE]&lt;BR /&gt;Delivered-To: my-address-at@gmail.com&lt;BR /&gt;Received: by 10.82.153.10 with SMTP id a10cs180353bue;&lt;BR /&gt;        Sat, 6 Jan 2007 15:02:32 -0800 (PST)&lt;BR /&gt;Received: by 10.67.121.15 with SMTP id y15mr31671422ugm.1168124551891;&lt;BR /&gt;        Sat, 06 Jan 2007 15:02:31 -0800 (PST)&lt;BR /&gt;Return-Path: &lt;SENDER&gt;&lt;BR /&gt;Received: from mydomain.com (mydomain.com [MY-SERVERs-IP-HERE])&lt;BR /&gt;        by mx.google.com with ESMTP id 54si37319882ugp.2007.01.06.15.02.31;&lt;BR /&gt;        Sat, 06 Jan 2007 15:02:31 -0800 (PST)&lt;BR /&gt;Received-SPF: pass (google.com: domain of sender@mydomain.com designates MY-SERVERs-IP-HERE as permitted sender)&lt;BR /&gt;Received: from mylaptop ([MY-ADSL-IP-HERE])&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Debian-3sarge1) with SMTP id l06N2iSv029170&lt;BR /&gt; for &lt;MY-ADDRESS-AT&gt;; Sun, 7 Jan 2007 00:02:46 +0100&lt;BR /&gt;Message-ID: &amp;lt;000301c731e6$be0b28f0$0973a8c0@mylaptop&amp;gt;&lt;BR /&gt;From: "my name" &lt;SENDER&gt;&lt;BR /&gt;To: &lt;MY-ADDRESS-AT&gt;&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;like said, the subject + content of the mails is the same, just the headers coming from root@localhost (for the script?) seems the problem maybe, or what do you experienced users think? How can I change this problem to the better? A change in the php.ini or sendmail config? The way it is "working" at present is, that confirmation emails for comments etc. are going into spam of the commenting party and that's not good :(&lt;BR /&gt;&lt;BR /&gt;Thanks again and in advance as well for your appreciated help!&lt;BR /&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;&lt;/SENDER&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;</description>
    <pubDate>Sun, 07 Jan 2007 04:39:26 GMT</pubDate>
    <dc:creator>juniorher</dc:creator>
    <dc:date>2007-01-07T04:39:26Z</dc:date>
    <item>
      <title>Sendmail Problem :-( please help!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917275#M26428</link>
      <description>&lt;!--!*#--&gt;Hey my friends,&lt;BR /&gt;I've got a sendmail problem on a dedicated server, shall I post the configs or what do you suggest?&lt;BR /&gt;&lt;BR /&gt;Problem is, that all coming in via smtp is sent through fine, but messages I try to send via PHP mail() are not going through, error in root is "deferred: connection refused by [127.0.0.1]"&lt;BR /&gt;&lt;BR /&gt;I guess I just have a block of wood in front of my head, can somebody help to remove it PLEASE!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;update:&lt;BR /&gt;&lt;BR /&gt;[CODE]file "access"&lt;BR /&gt;&lt;BR /&gt;localhost.localdomain RELAY&lt;BR /&gt;localhost RELAY&lt;BR /&gt;127.0.0.1 RELAY&lt;BR /&gt;myPOPIP RELAY (changed when accessing via POP you know - POP is working as well as SMTP like said...)&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;telnet works too on Port 25:&lt;BR /&gt;&lt;BR /&gt;[CODE]telnet 127.0.0.1 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;Connected to 127.0.0.1.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;220 rummels.de ESMTP Sendmail 8.13.4/8.13.4/Debian-3sarge1; Fri, 22 Dec 2006 21:53:12 +0100; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;and status of sendmail seems to be fine too:&lt;BR /&gt;&lt;BR /&gt;[CODE]# /etc/init.d/sendmail status&lt;BR /&gt;MSP: is run via cron (20m)&lt;BR /&gt;MTA: 8640 /usr/sbin/sendmail-mta -Am -L sm-mta -bd -q10m&lt;BR /&gt;UID        PID  PPID  C STIME TTY          TIME CMD&lt;BR /&gt;root      8640     1  0 22:32 ?        00:00:00 sendmail: MTA: accepting connections&lt;BR /&gt;QUE: Same as MTA&lt;BR /&gt;[/CODE] &lt;BR /&gt;&lt;BR /&gt;one thing I found (I just used several test commands and this is one result - there is no 127.0.0.1 there, :&lt;BR /&gt;&lt;BR /&gt;[CODE]# netstat -an|grep 25&lt;BR /&gt;tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN&lt;BR /&gt;....tcp        0      0 serverip:25        220.174.224.223:2246    VERBUNDEN&lt;BR /&gt;&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;like said, SMTP &amp;amp; POP are wonderful working, just this PHP mail() isn't, always the same error :(&lt;BR /&gt;&lt;BR /&gt;update2:&lt;BR /&gt;&lt;BR /&gt;I did some more tests now as suggested by other people, maybe this helps:&lt;BR /&gt;&lt;BR /&gt;[code]# sendmail -v -d8 -d38(E-Mail address blocked: See forum rules)&lt;BR /&gt;dsfsdfs&lt;BR /&gt;.&lt;BR /&gt;(E-Mail address blocked: See forum rules)... Connecting to [127.0.0.1] port 587 via relay...&lt;BR /&gt;(E-Mail address blocked: See forum rules)... Deferred: Connection refused by [127.0.0.1]&lt;BR /&gt;[/code]&lt;BR /&gt;&lt;BR /&gt;so there is the error again, on the other side:&lt;BR /&gt;&lt;BR /&gt;[code]# telnet 127.0.0.1 25&lt;BR /&gt;Trying 127.0.0.1...&lt;BR /&gt;Connected to 127.0.0.1.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;220 "myserver" ESMTP Sendmail 8.13.4/8.13.4/Debian-3sarge1; Sat, 23 Dec 2006 23:24:50 +0100; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]&lt;BR /&gt;helo test&lt;BR /&gt;250 "myserver" Hello localhost [127.0.0.1], pleased to meet you&lt;BR /&gt;mail from:(E-Mail address blocked: See forum rules)&lt;BR /&gt;250 2.1.0(E-Mail address blocked: See forum rules)... Sender ok&lt;BR /&gt;rcpt to:(E-Mail address blocked: See forum rules)&lt;BR /&gt;250 2.1.5(E-Mail address blocked: See forum rules)... Recipient ok&lt;BR /&gt;data&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;test message&lt;BR /&gt;.&lt;BR /&gt;250 2.0.0 kBNMOoZu004585 Message accepted for delivery&lt;BR /&gt;quit&lt;BR /&gt;221 2.0.0 myserver closing connection&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;[/code]&lt;BR /&gt;&lt;BR /&gt;this last one reached the email address fine, so via telnet it's working, via smtp it's working, just via sendmail directly &amp;amp; php not, this is very strange to me :(&lt;BR /&gt;&lt;BR /&gt;maybe this helps you locating the problem :( thanks my friends!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 23 Dec 2006 20:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917275#M26428</guid>
      <dc:creator>juniorher</dc:creator>
      <dc:date>2006-12-23T20:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Problem :-( please help!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917276#M26429</link>
      <description>Tell-tail line:&lt;BR /&gt;&lt;BR /&gt;Connecting to [127.0.0.1] port 587 via relay...&lt;BR /&gt;&lt;BR /&gt;You've got your sendmail submission set up to connecto localhost port 587.  Is your sendmail listening to port 587 as well as port 25?</description>
      <pubDate>Sun, 24 Dec 2006 03:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917276#M26429</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2006-12-24T03:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Problem :-( please help!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917277#M26430</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep ":587"&lt;BR /&gt;&lt;BR /&gt;You will see no listen line.&lt;BR /&gt;&lt;BR /&gt;netstat -an | grep ":25"&lt;BR /&gt;&lt;BR /&gt;You will see a listen line.&lt;BR /&gt;&lt;BR /&gt;Sendmail is not listening on port 587.&lt;BR /&gt;&lt;BR /&gt;Its not a terribly good idea to configure it to listen on that port either.&lt;BR /&gt;&lt;BR /&gt;When you say php mail, are you talking about a php based web client like squirrelmail? If so check the configuration file there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 26 Dec 2006 03:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917277#M26430</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-12-26T03:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Problem :-( please help!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917278#M26431</link>
      <description>What's you rphpmail thing function? It does use  smtp or other protocol, like pop, imap?</description>
      <pubDate>Tue, 26 Dec 2006 15:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917278#M26431</guid>
      <dc:creator>George Liu_4</dc:creator>
      <dc:date>2006-12-26T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail Problem :-( please help!</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917279#M26432</link>
      <description>Thanks for the help, I fixed it so far now, but the next problem occured :(&lt;BR /&gt;&lt;BR /&gt;when I send out mail via php to my gmail account, it always goes into spam, because of some header problems I think, I included SPF also, which is recognized, but doesn't change the situation to the better (exactly same email delivered via smtp from the same server works out to "land" in the inbox, it's freakin....):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[CODE]&lt;BR /&gt;Delivered-To: my-address-at@gmail.com&lt;BR /&gt;Received: by 10.82.153.10 with SMTP id a10cs185450bue;&lt;BR /&gt;        Sat, 6 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Received: by 10.67.29.12 with SMTP id g12mr14006613ugj.1168135547091;&lt;BR /&gt;        Sat, 06 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Return-Path: &lt;SENDER&gt;&lt;BR /&gt;Received: from mydomain.com (mydomain.com [MY-SERVERs-IP-HERE])&lt;BR /&gt;        by mx.google.com with ESMTP id u6si37493585uge.2007.01.06.18.05.46;&lt;BR /&gt;        Sat, 06 Jan 2007 18:05:47 -0800 (PST)&lt;BR /&gt;Received-SPF: pass (google.com: domain of sender@mydomain.com designates MY-SERVERs-IP-HERE as permitted sender)&lt;BR /&gt;Received: from mydomain.com (localhost [127.0.0.1])&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id l07261DL004032&lt;BR /&gt; for &lt;MY-ADDRESS-AT&gt;; Sun, 7 Jan 2007 03:06:02 +0100&lt;BR /&gt;Received: (from root@localhost)&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Submit) id l072613x004030;&lt;BR /&gt; Sun, 7 Jan 2007 03:06:01 +0100&lt;BR /&gt;Date: Sun, 7 Jan 2007 03:06:01 +0100&lt;BR /&gt;Message-Id: &amp;lt;200701070206.l072613x004030@mydomain.com&amp;gt;&lt;BR /&gt;To: my-address-at@gmail.com&lt;BR /&gt;Subject: I got news for you&lt;BR /&gt;Reply-To: sender@mydomain.com&lt;BR /&gt;From: David &lt;SENDER&gt;&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;the email via smtp (the one landing in the inbox at gmail has the following headers instead:&lt;BR /&gt;&lt;BR /&gt;[CODE]&lt;BR /&gt;Delivered-To: my-address-at@gmail.com&lt;BR /&gt;Received: by 10.82.153.10 with SMTP id a10cs180353bue;&lt;BR /&gt;        Sat, 6 Jan 2007 15:02:32 -0800 (PST)&lt;BR /&gt;Received: by 10.67.121.15 with SMTP id y15mr31671422ugm.1168124551891;&lt;BR /&gt;        Sat, 06 Jan 2007 15:02:31 -0800 (PST)&lt;BR /&gt;Return-Path: &lt;SENDER&gt;&lt;BR /&gt;Received: from mydomain.com (mydomain.com [MY-SERVERs-IP-HERE])&lt;BR /&gt;        by mx.google.com with ESMTP id 54si37319882ugp.2007.01.06.15.02.31;&lt;BR /&gt;        Sat, 06 Jan 2007 15:02:31 -0800 (PST)&lt;BR /&gt;Received-SPF: pass (google.com: domain of sender@mydomain.com designates MY-SERVERs-IP-HERE as permitted sender)&lt;BR /&gt;Received: from mylaptop ([MY-ADSL-IP-HERE])&lt;BR /&gt; by mydomain.com (8.13.4/8.13.4/Debian-3sarge1) with SMTP id l06N2iSv029170&lt;BR /&gt; for &lt;MY-ADDRESS-AT&gt;; Sun, 7 Jan 2007 00:02:46 +0100&lt;BR /&gt;Message-ID: &amp;lt;000301c731e6$be0b28f0$0973a8c0@mylaptop&amp;gt;&lt;BR /&gt;From: "my name" &lt;SENDER&gt;&lt;BR /&gt;To: &lt;MY-ADDRESS-AT&gt;&lt;BR /&gt;[/CODE]&lt;BR /&gt;&lt;BR /&gt;like said, the subject + content of the mails is the same, just the headers coming from root@localhost (for the script?) seems the problem maybe, or what do you experienced users think? How can I change this problem to the better? A change in the php.ini or sendmail config? The way it is "working" at present is, that confirmation emails for comments etc. are going into spam of the commenting party and that's not good :(&lt;BR /&gt;&lt;BR /&gt;Thanks again and in advance as well for your appreciated help!&lt;BR /&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;&lt;/SENDER&gt;&lt;/MY-ADDRESS-AT&gt;&lt;/SENDER&gt;</description>
      <pubDate>Sun, 07 Jan 2007 04:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-problem-please-help/m-p/3917279#M26432</guid>
      <dc:creator>juniorher</dc:creator>
      <dc:date>2007-01-07T04:39:26Z</dc:date>
    </item>
  </channel>
</rss>

