<?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 mail relay from another domain? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445192#M15414</link>
    <description>2 domains: zouben.org &amp;amp; dm02.org, zouben.org has SMTP Server: mail.zouben.org(postfix). now I want mail.zouben.org can relay mails for the hosts of dm02.org, what to do.&lt;BR /&gt;&lt;BR /&gt;For example, when I use mutt + estmp, I can use  a remote SMTP Server to deliver mail for me(Outlook Expree &amp;amp; Mozilla have this function). I have a mailbox on 163(USER@163.com), and I know its smtp.163.com, pop3.163.com, so I set my estmp like this:&lt;BR /&gt;~/.esmtprc&lt;BR /&gt;hostname=smtp.163.com:25&lt;BR /&gt;username="USERNAME"&lt;BR /&gt;password="PASSWORD"&lt;BR /&gt;~/.mutttc&lt;BR /&gt;set sendmail="/usr/bin/smtp -v -X ~/esmtp.log"&lt;BR /&gt;set envelope_from=yes&lt;BR /&gt;Now I can use smtp.163.com to deliver mail for me, it's very useful for PC. Does not smtp.163.com relay my mail?&lt;BR /&gt;&lt;BR /&gt;But if I set hostname="mail.zouben.org:25" on HOST.dm02.org, it fails(if set on HOST.zouben.org, it's right) and report "relay access denied". I know I can set the 'relayhost' parameter of Postfix to make it to be a nullclient and to what esmtp do, but when I set  the postfix on L02.dm02.org:&lt;BR /&gt;relayhost=[mail.zouben.org]&lt;BR /&gt;it still "relay access denied".&lt;BR /&gt;&lt;BR /&gt;Later I built an sasl authentication, use saslauthd method with system account and have start 'saslauthd', it still can't relay.&lt;BR /&gt;&lt;BR /&gt;I want to get the effect of the smtp.163.com, what must I do?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
    <pubDate>Thu, 16 Dec 2004 11:49:33 GMT</pubDate>
    <dc:creator>Chowroc</dc:creator>
    <dc:date>2004-12-16T11:49:33Z</dc:date>
    <item>
      <title>mail relay from another domain?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445192#M15414</link>
      <description>2 domains: zouben.org &amp;amp; dm02.org, zouben.org has SMTP Server: mail.zouben.org(postfix). now I want mail.zouben.org can relay mails for the hosts of dm02.org, what to do.&lt;BR /&gt;&lt;BR /&gt;For example, when I use mutt + estmp, I can use  a remote SMTP Server to deliver mail for me(Outlook Expree &amp;amp; Mozilla have this function). I have a mailbox on 163(USER@163.com), and I know its smtp.163.com, pop3.163.com, so I set my estmp like this:&lt;BR /&gt;~/.esmtprc&lt;BR /&gt;hostname=smtp.163.com:25&lt;BR /&gt;username="USERNAME"&lt;BR /&gt;password="PASSWORD"&lt;BR /&gt;~/.mutttc&lt;BR /&gt;set sendmail="/usr/bin/smtp -v -X ~/esmtp.log"&lt;BR /&gt;set envelope_from=yes&lt;BR /&gt;Now I can use smtp.163.com to deliver mail for me, it's very useful for PC. Does not smtp.163.com relay my mail?&lt;BR /&gt;&lt;BR /&gt;But if I set hostname="mail.zouben.org:25" on HOST.dm02.org, it fails(if set on HOST.zouben.org, it's right) and report "relay access denied". I know I can set the 'relayhost' parameter of Postfix to make it to be a nullclient and to what esmtp do, but when I set  the postfix on L02.dm02.org:&lt;BR /&gt;relayhost=[mail.zouben.org]&lt;BR /&gt;it still "relay access denied".&lt;BR /&gt;&lt;BR /&gt;Later I built an sasl authentication, use saslauthd method with system account and have start 'saslauthd', it still can't relay.&lt;BR /&gt;&lt;BR /&gt;I want to get the effect of the smtp.163.com, what must I do?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 16 Dec 2004 11:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445192#M15414</guid>
      <dc:creator>Chowroc</dc:creator>
      <dc:date>2004-12-16T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: mail relay from another domain?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445193#M15415</link>
      <description>I use Exim not postfix.  However,&lt;BR /&gt;are you sure you don't want to add a second&lt;BR /&gt;local domain. &lt;BR /&gt;&lt;BR /&gt;It appears you want local delivery for &lt;BR /&gt;two domains.  This is not a relay situation.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Dec 2004 09:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445193#M15415</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2004-12-17T09:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: mail relay from another domain?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445194#M15416</link>
      <description>I have achieve this by setting:&lt;BR /&gt;&lt;BR /&gt;/etc/postfix/main.cf&lt;BR /&gt;smtpd_sasl_auth_enable = yes&lt;BR /&gt;smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject&lt;BR /&gt;&lt;BR /&gt;and:&lt;BR /&gt;/usr/lib/sasl2/smtpd.conf&lt;BR /&gt;pwcheck_method: saslauthd&lt;BR /&gt;&lt;BR /&gt;and start saslauthd:&lt;BR /&gt;/etc/init.d/saslauthd start&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Dec 2004 05:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mail-relay-from-another-domain/m-p/3445194#M15416</guid>
      <dc:creator>Chowroc</dc:creator>
      <dc:date>2004-12-18T05:52:21Z</dc:date>
    </item>
  </channel>
</rss>

