<?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 auth file permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559379#M649822</link>
    <description>Now the file is world redable. Remove the world read setting from the file. &lt;BR /&gt;Make it only rw-------</description>
    <pubDate>Wed, 06 Jan 2010 13:23:41 GMT</pubDate>
    <dc:creator>TTr</dc:creator>
    <dc:date>2010-01-06T13:23:41Z</dc:date>
    <item>
      <title>sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559376#M649819</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I actually set-up sendmail on a 11iv1 server to relay mail to my ISP SMTP server. Their server runs on port 587 and needs authentication.&lt;BR /&gt;&lt;BR /&gt;I managed to get the whole thing, but I have a problem with the auth file. I have configured sendmail.cf to use the file /etc/mail/authinfo. I have those rights :&lt;BR /&gt;&lt;BR /&gt;root@rp3410:/etc/mail#ll authinfo&lt;BR /&gt;-rw-------   1 root       bin            151 Jan  5 17:44 authinfo&lt;BR /&gt;&lt;BR /&gt;when sending mail I have this line in mail.log :&lt;BR /&gt;Jan  6 12:17:14 rp3410 sm-mta[19087]: AUTH=client, error: can't open /etc/mail/authinfo: Permission denied&lt;BR /&gt;&lt;BR /&gt;I tried to chmod g+r the file and then had :&lt;BR /&gt;Jan  6 12:06:09 rp3410 sm-mta[16715]: AUTH=client, error: can't open /etc/mail/authinfo: Group readable file&lt;BR /&gt;&lt;BR /&gt;sendmail is running as root.&lt;BR /&gt;&lt;BR /&gt;What permissions must I set to have this file used ?&lt;BR /&gt;&lt;BR /&gt;Any help appreciated. Thanks,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 11:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559376#M649819</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559377#M649820</link>
      <description>The sendmail daemon has these builtin security checks for the files that it uses. Try changing the ownership of the authinfo file to bin:bin and take out the group write permission. All these security options are listed in the sendmail.cf file right below all those text blocks and where the config section starts.</description>
      <pubDate>Wed, 06 Jan 2010 12:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559377#M649820</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559378#M649821</link>
      <description>Thanks TTr,&lt;BR /&gt;&lt;BR /&gt;I have already set these permissions whithout success :&lt;BR /&gt;root@rp3410:/etc/mail#ll authinfo&lt;BR /&gt;-rw-------   1 bin        bin            151 Jan  5 17:44 authinfo&lt;BR /&gt;root@rp3410:/etc/mail#ll -d .&lt;BR /&gt;dr-xr-xr-x   2 bin        bin           8192 Jan  6 14:05 .&lt;BR /&gt;&lt;BR /&gt;I always have these messages in mail.log :&lt;BR /&gt;Jan  6 14:05:56 rp3410 sm-mta[15657]: AUTH=client, error: can't open /etc/mail/authinfo: World readable file&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559378#M649821</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T13:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559379#M649822</link>
      <description>Now the file is world redable. Remove the world read setting from the file. &lt;BR /&gt;Make it only rw-------</description>
      <pubDate>Wed, 06 Jan 2010 13:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559379#M649822</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559380#M649823</link>
      <description>Actually, check the whole path leading to this file. Do you also have a hash filefor the authinfo file or a directory structure as described here? Check the paths of the files and directories and ensure they are not group or world readable (or writable).&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-3190/ar01s08.html" target="_blank"&gt;http://docs.hp.com/en/5992-3190/ar01s08.html&lt;/A&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:26:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559380#M649823</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T13:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559381#M649824</link>
      <description>sorry for the error. Message about world readable file was from another test I made. Message with the permission I told was :&lt;BR /&gt;&lt;BR /&gt;Jan  6 14:20:41 rp3410 sm-mta[20494]: AUTH=client, error: can't open /etc/mail/authinfo: Permission denied&lt;BR /&gt;&lt;BR /&gt;I'm looking forward the link you gave me.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559381#M649824</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559382#M649825</link>
      <description>Back...&lt;BR /&gt;&lt;BR /&gt;I got it to pass this problem. Mostly by adding this line to sendmail.cf :&lt;BR /&gt;Kauthinfo hash -o /etc/mail/authinfo.db&lt;BR /&gt;&lt;BR /&gt;Problem is now that I have following line in mail.log :&lt;BR /&gt;Jan  6 16:28:15 rp3410 sm-mta[25881]: o06FS1gO025878: AUTH=client, available mechanisms do not fulfill requirements&lt;BR /&gt;&lt;BR /&gt;According to what I found on the web, I should not have AUTH=client, but my login instead of client.&lt;BR /&gt;&lt;BR /&gt;Digging the docs... any help appreciated...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 16:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559382#M649825</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T16:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559383#M649826</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You may find it easier to use sendmail.mc, or the HP-UX equivalent.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.ws/buildmail.hpux.text" target="_blank"&gt;http://hpux.ws/buildmail.hpux.text&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note, looks like HP may have changed the name of the .mc file. You will have to alter the script to use that.&lt;BR /&gt;&lt;BR /&gt;The .mc file is human readable and there is a lot of support for changes on it at &lt;A href="http://www.sendmail.org" target="_blank"&gt;http://www.sendmail.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 06 Jan 2010 16:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559383#M649826</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-01-06T16:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559384#M649827</link>
      <description>What is in the authinfo (and authinfo.db) file? Is it in the correct syntax?&lt;BR /&gt;&lt;BR /&gt;What version of sendmail are you using?</description>
      <pubDate>Wed, 06 Jan 2010 16:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559384#M649827</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T16:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559385#M649828</link>
      <description>Did you configure TLS and is sendmail starting it up?</description>
      <pubDate>Wed, 06 Jan 2010 16:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559385#M649828</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T16:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559386#M649829</link>
      <description>Shalom SEP,&lt;BR /&gt;&lt;BR /&gt;I have not looked at .mc files as long as it seems strange in HP-UX. But it should be possible to manage all this with .cf file.&lt;BR /&gt;&lt;BR /&gt;TTr,&lt;BR /&gt;&lt;BR /&gt;I have tried authinfo with almost all possible arrangements :&lt;BR /&gt;AuthInfo:server.name "I:ident" "P:passwd" "M:PLAIN LOGIN"&lt;BR /&gt;AuthInfo:server.name "U:root" "I:ident" "P:passwd" "M:LOGIN"&lt;BR /&gt;AuthInfo:server.name "U:root" "I:ident" "P:passwd" "M:PLAIN LOGIN"&lt;BR /&gt;AuthInfo:server.name:587 "U:root" "I=base64ident" "P=base64passwd" "M:PLAIN LOGIN"&lt;BR /&gt;...&lt;BR /&gt;and so on&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 17:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559386#M649829</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559387#M649830</link>
      <description>TTr,&lt;BR /&gt;&lt;BR /&gt;no, I didn't configure TLS.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 17:36:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559387#M649830</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-06T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559388#M649831</link>
      <description>I am thinking TLS might be a prerequisite for auth because without encryption, auth is pointles, hence the error message that you get.  I don't have access to my external sendmail servers right now but see if these links can offer some help.&lt;BR /&gt;&lt;A href="http://www.linuxquestions.org/questions/linux-software-2/sendmail-authentication-for-smarthost-relay-354488/" target="_blank"&gt;http://www.linuxquestions.org/questions/linux-software-2/sendmail-authentication-for-smarthost-relay-354488/&lt;/A&gt; (note the sendmail version differences here)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxquestions.org/questions/linux-software-2/sendmail-seems-not-to-use-default-auth-info-367231/" target="_blank"&gt;http://www.linuxquestions.org/questions/linux-software-2/sendmail-seems-not-to-use-default-auth-info-367231/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/5992-3190/ar01s06.html" target="_blank"&gt;http://www.docs.hp.com/en/5992-3190/ar01s06.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Search for TLS here and elsewhere as well.&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jan 2010 18:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559388#M649831</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-01-06T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559389#M649832</link>
      <description>Assuming Sendmail version is 8.13.3&lt;BR /&gt;&lt;BR /&gt;Sendmail support of SMTP authentication is based on SASL. The systems also needs to have OpenSSL. If LOGIN auth is needed, it needs to be added in the sendmail.cf file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-6611/5991-6611.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-6611/5991-6611.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 06 Jan 2010 18:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559389#M649832</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2010-01-06T18:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559390#M649833</link>
      <description>TTr,&lt;BR /&gt;&lt;BR /&gt;I don't think TLS nor any encryption is needed. As a proof, have a look at this test I made on the same server (names have been changed to protect the innocents) :&lt;BR /&gt;root@rp3410:/#telnet smtp.auth.myisp.com 587&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to smtp.auth.myisp.com.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;220 smtp03.myisp.net ESMTP ISP; Wed, 6 Jan 2010 11:11:47 +0100&lt;BR /&gt;ehlo mydomain.com&lt;BR /&gt;250-smtp03.myisp.net Hello mail.mydomain.com [xxx.xxx.xxx.xxx], pleased to meet you&lt;BR /&gt;250-ENHANCEDSTATUSCODES&lt;BR /&gt;250-PIPELINING&lt;BR /&gt;250-8BITMIME&lt;BR /&gt;250-SIZE 21000000&lt;BR /&gt;250-DSN&lt;BR /&gt;250-AUTH PLAIN LOGIN&lt;BR /&gt;250-DELIVERBY&lt;BR /&gt;250 HELP&lt;BR /&gt;auth login&lt;BR /&gt;334 VXNlcm5hbWU6&lt;BR /&gt;myloginconvertedtobase64&lt;BR /&gt;334 UGFzc3dvcmQ6&lt;BR /&gt;mypassinbase64&lt;BR /&gt;235 2.0.0 OK Authenticated&lt;BR /&gt;MAIL FROM: root@mydomain.com&lt;BR /&gt;250 2.1.0 root@mydomain.com... Sender ok&lt;BR /&gt;RCPT TO: testaddress@elsewhere.fr&lt;BR /&gt;250 2.1.5 testaddress@elsewhere.fr... 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 o06ABl82003471 Message accepted for delivery&lt;BR /&gt;quit&lt;BR /&gt;221 2.0.0 smtp03.myisp.net closing connection&lt;BR /&gt;Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;AUTH whith LOGIN only consists of a kind of chat and conversion in base64 of authentication. I agree to tell it's not secured at all, and it's not the point. This kind of connection protects them from spammers, I think.&lt;BR /&gt;&lt;BR /&gt;It reminds me of the times of 56k modems and dial-up connections...&lt;BR /&gt;&lt;BR /&gt;My map file is used as long as this command gives me a good answer :&lt;BR /&gt;echo '/map authinfo AuthInfo:smtp.myisp.com' | /usr/sbin/sendmail -bt&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 08:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559390#M649833</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-07T08:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: sendmail auth file permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559391#M649834</link>
      <description>Sameer,&lt;BR /&gt;&lt;BR /&gt;Yes I have upgraded sendmail to 8.13.3 in order to implement AUTH. sendmail.cf has been modified this way, but I may miss a point in configuration... And even looking at docs, I don't know what point.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jan 2010 09:20:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail-auth-file-permissions/m-p/4559391#M649834</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2010-01-07T09:20:51Z</dc:date>
    </item>
  </channel>
</rss>

