<?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 configuration issue in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106938#M30841</link>
    <description>Considering this message:&lt;BR /&gt;&lt;BR /&gt;stat=Deferred: Connection refused by mydom.mu.&lt;BR /&gt;&lt;BR /&gt;It looks like your exhcange server is not allowing the relay for the Linux host.&lt;BR /&gt;&lt;BR /&gt;You can do a manual try to check if you can send mail via the linux host:&lt;BR /&gt;&lt;BR /&gt;telnet smtp.mydom.mu 25&lt;BR /&gt;&lt;BR /&gt;mail from: somebody@yourdomain&lt;BR /&gt;rcp to: someonelse@domain&lt;BR /&gt;data&lt;BR /&gt;&lt;BR /&gt;Just testing&lt;BR /&gt;.&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;Ask the exchange administrator to check the logs.</description>
    <pubDate>Fri, 23 Nov 2007 09:34:10 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-11-23T09:34:10Z</dc:date>
    <item>
      <title>sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106935#M30838</link>
      <description>&lt;!--!*#--&gt;Dear Experts!&lt;BR /&gt;&lt;BR /&gt;We just finished the installation of RHEL 4.5 our new server and we are currently having a problem configuring sendmail for delivery of emails to our MS Exchange server (VSW0706.mydom.mu).&lt;BR /&gt;&lt;BR /&gt;On our HP-UX server (hpuxsrv.mydom.mu), it working fine. But on the Linux server (linsrv.mydom.mu) the mail is not being 'relayed' to the MS Exchange server.&lt;BR /&gt;&lt;BR /&gt;Below the messages when running sendmail -v -d9.99 -d38.99 a&lt;BR /&gt;&lt;BR /&gt;Linux Server: (linsrv.mydom.mu) - [NOT OK]&lt;BR /&gt;=============&lt;BR /&gt;[root@linsrv mail]# sendmail -v -d9.99 -d38.99 abcx@mydom.mu &amp;lt; /dev/null&lt;BR /&gt;getauthinfo: root@localhost&lt;BR /&gt;openmap()       dequote:dequote NULL: valid&lt;BR /&gt;openmap()       host:host NULL: valid&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; getcanonname(mydom.mu), trying dns&lt;BR /&gt;getcanonname(mydom.mu), found&lt;BR /&gt;FOUND mydom.mu&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; CACHE mydom.mu&lt;BR /&gt;abcx@mydom.mu... Connecting to [127.0.0.1] via relay...&lt;BR /&gt;220 linsrv.mydom.mu ESMTP Sendmail 8.13.1/8.13.1; Fri, 23 Nov 2007 16:18:31 +0400&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO linsrv.mydom.mu&lt;BR /&gt;250-linsrv.mydom.mu Hello linsrv.mydom.mu [127.0.0.1], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-PIPELINING&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-SIZE&lt;BR /&gt;250-DSN&lt;BR /&gt;250-ETRN&lt;BR /&gt;250-AUTH DIGEST-MD5 CRAM-MD5&lt;BR /&gt;250-DELIVERBY&lt;BR /&gt;250 HELP&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;ROOT&gt; AUTH=root@linsrv.mydom.mu&lt;BR /&gt;250 2.1.0 &lt;ROOT&gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;ABCX&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;250 2.1.5 &lt;ABCX&gt;... Recipient ok&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;250 2.0.0 lANCIVbC020559 Message accepted for delivery&lt;BR /&gt;abcx@mydom.mu... Sent (lANCIVbC020559 Message accepted for delivery)&lt;BR /&gt;Closing connection to [127.0.0.1]&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; QUIT&lt;BR /&gt;221 2.0.0 linsrv.mydom.mu closing connection&lt;BR /&gt;closemaps: closing host (NULL)&lt;BR /&gt;closemaps: closing dequote (NULL)&lt;BR /&gt;[root@linsrv mail]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX server: (hpuxsrv.cmt.mu) - [OK]&lt;BR /&gt;=============&lt;BR /&gt;hpuxsrv:&amp;gt;sendmail -v -d9.99 -d38.99 abcx@mydom.mu &amp;lt; /dev/null&lt;BR /&gt;seq_map_parse(aliases.files, )&lt;BR /&gt;getauthinfo: root@localhost&lt;BR /&gt;map_init(sequence:aliases.files, NULL, 0)&lt;BR /&gt;        sequence:aliases.files NULL: valid&lt;BR /&gt;map_init(implicit:Alias0, /etc/mail/aliases, 0)&lt;BR /&gt;        wrong pass (pass = 0, rebuildable = 1)&lt;BR /&gt;map_init(host:host, NULL, 0)&lt;BR /&gt;        host:host NULL: valid&lt;BR /&gt;map_init(switch:aliases, aliases, 0)&lt;BR /&gt;switch_map_open(aliases, aliases, 0)&lt;BR /&gt;        switch_map_find =&amp;gt; 1&lt;BR /&gt;                files&lt;BR /&gt;        map_stack[0] = sequence:aliases.files&lt;BR /&gt;        switch:aliases aliases: valid&lt;BR /&gt;map_init(dequote:dequote, NULL, 0)&lt;BR /&gt;        dequote:dequote NULL: valid&lt;BR /&gt;map_init(host:resolve, NULL, 0)&lt;BR /&gt;        host:resolve NULL: valid&lt;BR /&gt;map_init(sequence:aliases.files, NULL, 1)&lt;BR /&gt;        wrong pass (pass = 1, rebuildable = 0)&lt;BR /&gt;map_init(implicit:Alias0, /etc/mail/aliases, 1)&lt;BR /&gt;impl_map_open(Alias0, /etc/mail/aliases, 0)&lt;BR /&gt;hash_map_open(Alias0, /etc/mail/aliases, 0)&lt;BR /&gt;impl_map_lookup(Alias0, @)&lt;BR /&gt;db_map_lookup(Alias0, @)&lt;BR /&gt;        implicit:Alias0 /etc/mail/aliases: valid&lt;BR /&gt;map_init(host:host, NULL, 1)&lt;BR /&gt;        wrong pass (pass = 1, rebuildable = 0)&lt;BR /&gt;map_init(switch:aliases, aliases, 1)&lt;BR /&gt;        wrong pass (pass = 1, rebuildable = 0)&lt;BR /&gt;map_init(dequote:dequote, NULL, 1)&lt;BR /&gt;        wrong pass (pass = 1, rebuildable = 0)&lt;BR /&gt;map_init(host:resolve, NULL, 1)&lt;BR /&gt;        wrong pass (pass = 1, rebuildable = 0)&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; getcanonname(mydom.mu), trying files&lt;BR /&gt;text_getcanonname(mydom.mu)&lt;BR /&gt;getcanonname(mydom.mu), found&lt;BR /&gt;mydom.mu&lt;BR /&gt;getcanonname(smtp.mydom.mu), trying files&lt;BR /&gt;text_getcanonname(smtp.mydom.mu)&lt;BR /&gt;getcanonname(smtp.mydom.mu), found&lt;BR /&gt;abcx@mydom.mu... Connecting to smtp.mydom.mu. via relay...&lt;BR /&gt;220 VSW0706.mydom.mu Microsoft ESMTP MAIL Service ready at Fri, 23 Nov 2007 16:22:39 +0400&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO hpuxsrv.mydom.mu&lt;BR /&gt;250-VSW0706.mydom.mu Hello [192.168.160.11]&lt;BR /&gt;250-SIZE 10485760&lt;BR /&gt;250-PIPELINING&lt;BR /&gt;250-DSN&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-STARTTLS&lt;BR /&gt;250-X-ANONYMOUSTLS&lt;BR /&gt;250-AUTH&lt;BR /&gt;250-X-EXPS NTLM&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-BINARYMIME&lt;BR /&gt;250-CHUNKING&lt;BR /&gt;250 XEXCH50&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;ROOT&gt;&lt;BR /&gt;250 2.1.0 Sender OK&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;ABCX&gt;&lt;BR /&gt;250 2.1.5 Recipient OK&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;250 2.6.0 &amp;lt;200711231226.QAA10854@hpuxsrv.mydom.mu&amp;gt; Queued mail for delivery&lt;BR /&gt;abcx@mydom.mu... Sent (2.6.0 &amp;lt;200711231226.QAA10854@hpuxsrv.mydom.mu&amp;gt; Queued mail for delivery)&lt;BR /&gt;Closing connection to smtp.mydom.mu.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; QUIT&lt;BR /&gt;221 2.0.0 Service closing transmission channel&lt;BR /&gt;closemaps: closing aliases.files (NULL)&lt;BR /&gt;closemaps: closing Alias0 (/etc/mail/aliases)&lt;BR /&gt;impl_map_close(Alias0, /etc/mail/aliases, 12a3)&lt;BR /&gt;db_map_close(Alias0, /etc/mail/aliases, 12a3)&lt;BR /&gt;closemaps: closing host (NULL)&lt;BR /&gt;closemaps: closing aliases (aliases)&lt;BR /&gt;closemaps: closing dequote (NULL)&lt;BR /&gt;closemaps: closing resolve (NULL)&lt;BR /&gt;hpuxsrv:&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what could be wrong in this configuration?&lt;BR /&gt;&lt;BR /&gt;Thanking you in advance for your replies.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;yogeeraj&lt;/CRLF&gt;&lt;/CRLF&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ROOT&gt;</description>
      <pubDate>Fri, 23 Nov 2007 07:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106935#M30838</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-11-23T07:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106936#M30839</link>
      <description>I don't know how did you set the smart host information.&lt;BR /&gt;&lt;BR /&gt;In /etc/mail, edit sendmail.cf and configure:&lt;BR /&gt;&lt;BR /&gt;define(`SMART_HOST',`exchange.server')dnl&lt;BR /&gt;&lt;BR /&gt;Then run:&lt;BR /&gt;&lt;BR /&gt;m4 sendmail.mc &amp;gt; sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Restart sendmail&lt;BR /&gt;&lt;BR /&gt;The resulting sendmail.cf file should have a like:&lt;BR /&gt;&lt;BR /&gt;# "Smart" relay host (may be null)&lt;BR /&gt;DSexchange.server&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What do you get in /var/log/maillog?&lt;BR /&gt;&lt;BR /&gt;What is the status of the message in mailq -v?&lt;BR /&gt;&lt;BR /&gt;Can your exchange hostname be resolved?&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Nov 2007 08:08:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106936#M30839</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-23T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106937#M30840</link>
      <description>hi Ivan,&lt;BR /&gt;&lt;BR /&gt;thank you for the reply.&lt;BR /&gt;&lt;BR /&gt;In the sendmail.cf, we already have the changes made as you mentioned:&lt;BR /&gt;DSsmtp.mydom.mu&lt;BR /&gt;&lt;BR /&gt;Below the answers to the other questions:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Messages in /var/log/maillog&lt;BR /&gt;[On linsrv]&lt;BR /&gt;Nov 23 17:26:38 linsrv sendmail[20792]: lANDQcMM020790: to=&lt;ABCX&gt;, ctladdr=&lt;ROOT&gt; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120273, relay=cmt.mu. [192.168.199.12], dsn=4.0.0, stat=Deferred: Connection refused by mydom.mu.&lt;BR /&gt;&lt;BR /&gt;[On hpuxsrv]&lt;BR /&gt;Nov 23 17:36:19 hpuxsrv sendmail[10947]: RAA10947: to=abcx@mydom.mu, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:01, mailer=relay, relay=smtp.mydom.mu. [192.168.199.16], stat=Sent (2.6.0 &amp;lt;200711231336.RAA10947@hpuxsrv.mydom.mu&amp;gt; Queued mail for delivery)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; mailq -v&lt;BR /&gt;[On linsrv]&lt;BR /&gt;[root@linsrv mail]# mailq -v&lt;BR /&gt;                /var/spool/mqueue (3 requests)&lt;BR /&gt;-----Q-ID----- --Size-- -Priority- ---Q-Time--- --------Sender/Recipient--------&lt;BR /&gt;lANDQcMM020790        0     120273 Nov 23 17:26 &lt;ROOT&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;                                                &lt;ABCX&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;lANDOJJN020774        0     120273 Nov 23 17:24 &lt;ROOT&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;                                                &lt;ABCX&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;lANCIVbC020559        0     210273 Nov 23 16:18 &lt;ROOT&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;                                                &lt;ABCX&gt;&lt;BR /&gt;                 (Deferred: Connection refused by mydom.mu.)&lt;BR /&gt;                Total requests: 3&lt;BR /&gt;[root@linsrv mail]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[On hpuxsrv]&lt;BR /&gt;hpuxsrv:var/adm/syslog&amp;gt;mailq -v&lt;BR /&gt;Mail queue is empty&lt;BR /&gt;hpuxsrv:var/adm/syslog&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Can Exchange hostname be resolved?&lt;BR /&gt;&lt;BR /&gt;[On hpuxsrv]&lt;BR /&gt;hpuxsrv:var/adm/syslog&amp;gt;nslookup&lt;BR /&gt;Using /etc/hosts on:  hpuxsrv.mydom.mu&lt;BR /&gt;&lt;BR /&gt;&amp;gt; smtp.mydom.mu&lt;BR /&gt;Using /etc/hosts on:  hpuxsrv.mydom.mu&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    smtp.cmt.mu&lt;BR /&gt;Address:  192.168.199.16&lt;BR /&gt;Aliases:  smtp&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;[On linsrv]&lt;BR /&gt;[root@linsrv mail]# nslookup&lt;BR /&gt;&amp;gt; smtp.mydom.mu&lt;BR /&gt;Server:         192.168.199.11&lt;BR /&gt;Address:        192.168.199.11#53&lt;BR /&gt;&lt;BR /&gt;Name:   smtp.mydom.mu&lt;BR /&gt;Address: 192.168.199.16&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;please advise further.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;</description>
      <pubDate>Fri, 23 Nov 2007 09:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106937#M30840</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-11-23T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106938#M30841</link>
      <description>Considering this message:&lt;BR /&gt;&lt;BR /&gt;stat=Deferred: Connection refused by mydom.mu.&lt;BR /&gt;&lt;BR /&gt;It looks like your exhcange server is not allowing the relay for the Linux host.&lt;BR /&gt;&lt;BR /&gt;You can do a manual try to check if you can send mail via the linux host:&lt;BR /&gt;&lt;BR /&gt;telnet smtp.mydom.mu 25&lt;BR /&gt;&lt;BR /&gt;mail from: somebody@yourdomain&lt;BR /&gt;rcp to: someonelse@domain&lt;BR /&gt;data&lt;BR /&gt;&lt;BR /&gt;Just testing&lt;BR /&gt;.&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;Ask the exchange administrator to check the logs.</description>
      <pubDate>Fri, 23 Nov 2007 09:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106938#M30841</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-23T09:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106939#M30842</link>
      <description>i had similar (not same) problem. Try out..&lt;BR /&gt;===&lt;BR /&gt;Problem solved&lt;BR /&gt;&lt;BR /&gt;sendmail.cf file coming with RH7.2 only listens on loopback interface. u can see that in netstat -an &lt;BR /&gt;&lt;BR /&gt;it looks like this&lt;BR /&gt;&lt;BR /&gt;tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN &lt;BR /&gt;&lt;BR /&gt;I Commented following option and restarted the sendmail daemon. &lt;BR /&gt;&lt;BR /&gt;O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then after restarting the daemon using netstat -an. &lt;BR /&gt;the output changed to&lt;BR /&gt;&lt;BR /&gt;tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN &lt;BR /&gt;&lt;BR /&gt;My mail now works&lt;BR /&gt;====</description>
      <pubDate>Fri, 23 Nov 2007 18:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106939#M30842</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-11-23T18:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106940#M30843</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;thank you for your replies.&lt;BR /&gt;&lt;BR /&gt;Santhosh Kumar:&lt;BR /&gt;===============&lt;BR /&gt;[root@linsrv ~]# netstat -an |grep "127.0.0.1:25"&lt;BR /&gt;[root@linsrv ~]# grep -i mta /etc/mail/linsrv.mc&lt;BR /&gt;dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl&lt;BR /&gt;dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl&lt;BR /&gt;dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl&lt;BR /&gt;dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6')&lt;BR /&gt;[root@linsrv ~]#&lt;BR /&gt;&lt;BR /&gt;The configuration seems OK.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IVAN:&lt;BR /&gt;======&lt;BR /&gt;[root@linsrv log]# telnet smtp.mydom.mu 25&lt;BR /&gt;Trying 192.168.199.16...&lt;BR /&gt;Connected to smtp.mydom.mu (192.168.199.16).&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;220 VSW0706.mydom.mu Microsoft ESMTP MAIL Service ready at Sat, 24 Nov 2007 12:23:29 +0400&lt;BR /&gt;helo&lt;BR /&gt;250 VSW0706.mydom.mu Hello [192.168.199.81]&lt;BR /&gt;mail from: abcx@mydom.mu&lt;BR /&gt;250 2.1.0 Sender OK&lt;BR /&gt;rcpt to: abcx@mydom.mu&lt;BR /&gt;250 2.1.5 Recipient OK&lt;BR /&gt;data&lt;BR /&gt;354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;&lt;BR /&gt;just testing smtp from sdlx2&lt;BR /&gt;.&lt;BR /&gt;250 2.6.0 &lt;C6558CC6-F972-40C4-B9C3-1B92A9714DBF&gt; Queued mail for delivery&lt;BR /&gt;quit&lt;BR /&gt;221 2.0.0 Service closing transmission channel&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;[root@linsrv log]#&lt;BR /&gt;&lt;BR /&gt;NB. No message is logged in the /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;When trying the equivalent using MUTT, we get the following message:&lt;BR /&gt;Error sending message, child exited 67 (User unknown.).&lt;BR /&gt;&lt;BR /&gt;And the /var/log/maillog has the following entry:&lt;BR /&gt;&lt;BR /&gt;Nov 24 12:29:44 linsrv sendmail[25182]: lAO8ThRE025182: from=root, size=299, class=0, nrcpts=1, msgid=&amp;lt;20071124082942.GA25176@linsrv.mydom.mu&amp;gt;, relay=root@localhost&lt;BR /&gt;Nov 24 12:29:45 linsrv sendmail[25183]: lAO8Tjtu025183: &lt;ABCX&gt;... User unknown&lt;BR /&gt;Nov 24 12:29:45 linsrv sendmail[25182]: lAO8ThRE025182: to=abcx@mydom.mu, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:00, mailer=relay, pri=30299, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown&lt;BR /&gt;Nov 24 12:29:45 linsrv sendmail[25183]: lAO8Tjtu025183: from=&lt;ROOT&gt;, size=299, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=linsrv.mydom.mu [127.0.0.1]&lt;BR /&gt;Nov 24 12:29:45 linsrv sendmail[25182]: lAO8ThRE025182: lAO8ThRF025182: DSN: User unknown&lt;BR /&gt;Nov 24 12:29:47 linsrv sendmail[25183]: lAO8Tjtw025183: from=&amp;lt;&amp;gt;, size=2064, class=0, nrcpts=1, msgid=&amp;lt;200711240829.lAO8ThRF025182@linsrv.mydom.mu&amp;gt;, proto=ESMTP, daemon=MTA, relay=linsrv.mydom.mu [127.0.0.1]&lt;BR /&gt;Nov 24 12:29:47 linsrv sendmail[25182]: lAO8ThRF025182: to=root, delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=31323, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (lAO8Tjtw025183 Message accepted for delivery)&lt;BR /&gt;Nov 24 12:29:48 linsrv sendmail[25184]: lAO8Tjtw025183: to=&lt;ROOT&gt;, delay=00:00:02, xdelay=00:00:01, mailer=local, pri=32250, dsn=2.0.0, stat=Sent&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I still need to verify the MS Exchange server log.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;&lt;/C6558CC6-F972-40C4-B9C3-1B92A9714DBF&gt;&lt;/CRLF&gt;&lt;/CRLF&gt;</description>
      <pubDate>Sat, 24 Nov 2007 03:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106940#M30843</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-11-24T03:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106941#M30844</link>
      <description>Dear Yogeeraj&lt;BR /&gt;&lt;BR /&gt;Do you allow the Linux host in MS exchange server?&lt;BR /&gt;If so then check your resolve.conf files and /etc/hosts file&lt;BR /&gt;&lt;BR /&gt;then check sendmail.cf files the following entries&lt;BR /&gt;DS entry&lt;BR /&gt;Dj$ entry&lt;BR /&gt;&lt;BR /&gt;if all ok then stop sendmail and start then try the following command&lt;BR /&gt;echo test | sendmail -v &lt;USER&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 26 Nov 2007 00:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106941#M30844</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2007-11-26T00:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106942#M30845</link>
      <description>Mmmmmm, this message:&lt;BR /&gt;&lt;BR /&gt;stat=Deferred: Connection refused by mydom.mu.&lt;BR /&gt;&lt;BR /&gt;Means that you have a problem connecting with the relay for mydom.mu&lt;BR /&gt;&lt;BR /&gt;This message in your direct SMTP test:&lt;BR /&gt;&lt;BR /&gt;250 2.6.0 &lt;C6558CC6-F972-40C4-B9C3-1B92A9714DBF&gt; Queued mail for delivery&lt;BR /&gt;quit&lt;BR /&gt;221 2.0.0 Service closing transmission channel&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Means that you was able to send a mail using SMTP commands, the test message should arrive to the user.&lt;BR /&gt;&lt;BR /&gt;And this message:&lt;BR /&gt;&lt;BR /&gt;Nov 24 12:29:45 linsrv sendmail[25183]: lAO8Tjtu025183: &lt;ABCX&gt;... User unknown&lt;BR /&gt;&lt;BR /&gt;Makes me think that maybe the linsrv thinks that he is the MTA for mydom.mu and the user is not local.&lt;BR /&gt;&lt;BR /&gt;What do you have in /etc/mail/local-host-names? You should not have listed mydom.mu or the server will think that messages send to that domain destination must be sent locally.&lt;BR /&gt;&lt;BR /&gt;Also, you may try changing your DS (smart host) from FQDN to IP, like this:&lt;BR /&gt;&lt;BR /&gt;DS[192.168.0.1]&lt;BR /&gt;&lt;BR /&gt;The [] will tell sendmail to ignore DNS for the connection to that host.&lt;/ABCX&gt;&lt;/C6558CC6-F972-40C4-B9C3-1B92A9714DBF&gt;</description>
      <pubDate>Mon, 26 Nov 2007 17:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106942#M30845</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-26T17:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106943#M30846</link>
      <description>Hello Yogeeraj!&lt;BR /&gt;&lt;BR /&gt;I has the same problem when i try to configure Bugzilla mail.&lt;BR /&gt;&lt;BR /&gt;Ms Exchange usually don't permit relay.&lt;BR /&gt;But you can set a stack of IPs who have relay permission.&lt;BR /&gt;&lt;BR /&gt;System-Manager -&amp;gt; Administrative Group -&amp;gt; Server -&amp;gt; yourservername -&amp;gt; Protocols -&amp;gt; SMTP -&amp;gt; Default SMTP Virtual Server -&amp;gt; Properties -&amp;gt; Access -&amp;gt; Relay&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check if the Linux Server's IP is configured on Exchange Server for permit relay.&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 27 Nov 2007 08:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106943#M30846</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-11-27T08:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106944#M30847</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Shalom,&lt;BR /&gt;&lt;BR /&gt;250 2.0.0 lANCIVbC020559 Message accepted for delivery&lt;BR /&gt;abcx@mydom.mu... Sent (lANCIVbC020559 Message accepted for deliver &lt;BR /&gt;&lt;BR /&gt;As you already know this means that the mail was accepted to the local mail queue and a delivery attempt will occur later and be logged in /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;I know you say the exchange server has authorized this host but all data presented so far seems to indicate the exchange host is rejecting all connections from this system.&lt;BR /&gt;&lt;BR /&gt;Very sorry for not getting to this sooner.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 27 Nov 2007 09:38:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106944#M30847</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-11-27T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106945#M30848</link>
      <description>hi All,&lt;BR /&gt;&lt;BR /&gt;Thank you for you replies.&lt;BR /&gt;&lt;BR /&gt;It indeed seem that the linsrv is thinking that he is the MTA for the domain.&lt;BR /&gt;&lt;BR /&gt;Ivan&lt;BR /&gt;====&lt;BR /&gt;&amp;gt;What do you have in /etc/mail/local-host-names? &lt;BR /&gt;Nothing. Just: "# local-host-names - include all aliases for your machine here."&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Also, you may try changing your DS (smart host) from FQDN to IP, like this:&lt;BR /&gt;&lt;BR /&gt;[root@linsrv mail]# grep -i "DS\[" sendmail.cf&lt;BR /&gt;DS[198.168.199.16]&lt;BR /&gt;[root@linsrv mail]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In spite of these changes, it again the local hosts that is replying to the sendmail request:&lt;BR /&gt;&lt;BR /&gt;[root@linsrv mail]# sendmail -v -d9.99 -d38.99 abcx@mydom.mu  &amp;lt; /dev/null&lt;BR /&gt;getauthinfo: root@localhost&lt;BR /&gt;openmap()       dequote:dequote NULL: valid&lt;BR /&gt;openmap()       host:host NULL: valid&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; getcanonname(mydom.mu), trying dns&lt;BR /&gt;getcanonname(mydom.mu), found&lt;BR /&gt;FOUND mydom.mu&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; CACHE mydom.mu&lt;BR /&gt;abcx@mydom.mu... Connecting to [127.0.0.1] via relay...&lt;BR /&gt;220 sdblx2.cmt.mu ESMTP Sendmail 8.13.1/8.13.1; Fri, 30 Nov 2007 12:35:31 +0400&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO linsrv.mydom.mu&lt;BR /&gt;250-linsrv.mydom.mu Hello linsrv.mydom.mu [127.0.0.1], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also found that our new MS Exchange Server has the "content filter" feature enabled. But still, the problem does not seem to be so far away!&lt;BR /&gt;&lt;BR /&gt;further ideas will be most welcomed.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2007 03:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106945#M30848</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-11-30T03:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106946#M30849</link>
      <description>Before cheking all your .cf or .mc file, try this:&lt;BR /&gt;&lt;BR /&gt;Add only your FQDN to /etc/mail/local-host-names.&lt;BR /&gt;Ensure that in /etc/mail/access, you have "RELAY" instead OK.&lt;BR /&gt;Restart sendmail.&lt;BR /&gt;&lt;BR /&gt;If that does not works, maybe you should upload a tar of your /etc/mail directory. Let's check all the configuration.</description>
      <pubDate>Fri, 30 Nov 2007 09:48:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106946#M30849</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-30T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106947#M30850</link>
      <description>&lt;!--!*#--&gt;hi Ivan,&lt;BR /&gt;&lt;BR /&gt;Thank you for the follow-up and sorry for this late update.&lt;BR /&gt;&lt;BR /&gt;Despite making the mentioned changes, it is still not OK!&lt;BR /&gt;&lt;BR /&gt;[root@linsrv mail]# sendmail -v -d9.99 -d38.99 abcx@mydom.mu &amp;lt; /dev/null&lt;BR /&gt;getauthinfo: root@localhost&lt;BR /&gt;openmap()       dequote:dequote NULL: valid&lt;BR /&gt;openmap()       host:host NULL: valid&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; getcanonname(mydom.mu), trying dns&lt;BR /&gt;closemaps: closing host (NULL)&lt;BR /&gt;closemaps: closing dequote (NULL)&lt;BR /&gt;[root@linsrv mail]# sendmail -v -d9.99 -d38.99 abcx@mydom.mu &amp;lt; /dev/null&lt;BR /&gt;getauthinfo: root@localhost&lt;BR /&gt;openmap()       dequote:dequote NULL: valid&lt;BR /&gt;openmap()       host:host NULL: valid&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; getcanonname(mydom.mu), trying dns&lt;BR /&gt;getcanonname(mydom.mu), found&lt;BR /&gt;FOUND mydom.mu&lt;BR /&gt;host_map_lookup(mydom.mu) =&amp;gt; CACHE mydom.mu&lt;BR /&gt;abcx@mydom.mu... Connecting to [127.0.0.1] via relay...&lt;BR /&gt;220 linsrv.mydom.mu ESMTP Sendmail 8.13.1/8.13.1; Thu, 6 Dec 2007 09:35:31 +0400&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; EHLO linsrv.mydom.mu&lt;BR /&gt;250-linsrv.mydom.mu Hello linsrv.mydom.mu [127.0.0.1], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-PIPELINING&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-SIZE&lt;BR /&gt;250-DSN&lt;BR /&gt;250-ETRN&lt;BR /&gt;250-AUTH DIGEST-MD5 CRAM-MD5&lt;BR /&gt;250-DELIVERBY&lt;BR /&gt;250 HELP&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&lt;ROOT&gt; AUTH=root@linsrv.mydom.mu&lt;BR /&gt;250 2.1.0 &lt;ROOT&gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;ABCX&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;550 5.1.1 &lt;ABCX&gt;... User unknown&lt;BR /&gt;503 5.0.0 Need RCPT (recipient)&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RSET&lt;BR /&gt;250 2.0.0 Reset state&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RSET&lt;BR /&gt;250 2.0.0 Reset state&lt;BR /&gt;root... Using cached ESMTP connection to [127.0.0.1] via relay...&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; MAIL From:&amp;lt;&amp;gt; SIZE=1024&lt;BR /&gt;250 2.1.0 &amp;lt;&amp;gt;... Sender ok&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; RCPT To:&lt;ROOT&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;250 2.1.5 &lt;ROOT&gt;... Recipient ok&lt;BR /&gt;354 Enter mail, end with "." on a line by itself&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; .&lt;BR /&gt;250 2.0.0 lB65ZV3E013410 Message accepted for delivery&lt;BR /&gt;root... Sent (lB65ZV3E013410 Message accepted for delivery)&lt;BR /&gt;Closing connection to [127.0.0.1]&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; QUIT&lt;BR /&gt;221 2.0.0 linsrv.mydom.mu closing connection&lt;BR /&gt;closemaps: closing host (NULL)&lt;BR /&gt;closemaps: closing dequote (NULL)&lt;BR /&gt;[root@linsrv mail]#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Uploading the requested tar &lt;BR /&gt;([root@linsrv etc]# tar -cvf LINSRV-MAIL.TAR ./mail&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/ABCX&gt;&lt;/ABCX&gt;&lt;/ROOT&gt;&lt;/ROOT&gt;</description>
      <pubDate>Thu, 06 Dec 2007 05:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106947#M30850</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-12-06T05:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail configuration issue</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106948#M30851</link>
      <description>Again, please try modifying your submit.cf file to add the SMART_HOST definition, you can do it. The submit.cf file is used when the mail is locally generated, so this could be the solution to the problem.</description>
      <pubDate>Thu, 06 Dec 2007 13:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sendmail-configuration-issue/m-p/4106948#M30851</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-12-06T13:11:06Z</dc:date>
    </item>
  </channel>
</rss>

