<?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: For Blocking Sendmail Users for sending mails in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817721#M24093</link>
    <description>Probably, you can use SMPT AUTH like in this example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jonfullmer.com/smtpauth/" target="_blank"&gt;http://www.jonfullmer.com/smtpauth/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To send a mail, users must authenticate using their accounts, so, if yo lock the account with "usermod -L", they won't be able to send mails.</description>
    <pubDate>Mon, 10 Jul 2006 09:23:25 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2006-07-10T09:23:25Z</dc:date>
    <item>
      <title>For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817717#M24089</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I want to block some users automatically and to unblock them also but without using the /etc/mail/access file .&lt;BR /&gt;&lt;BR /&gt;Can somebody tell me what should I do &lt;BR /&gt;Or what are the available options for blocking the users for mail access.&lt;BR /&gt;&lt;BR /&gt;Pls revert.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sachin Rajput&lt;BR /&gt;HCL&lt;BR /&gt;===============</description>
      <pubDate>Wed, 05 Jul 2006 09:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817717#M24089</guid>
      <dc:creator>Sachin_48</dc:creator>
      <dc:date>2006-07-05T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817718#M24090</link>
      <description>Maybe you want users to neither access their mailbox, isn't it? This doesn't concern sendmail, but, say, imap or pop3 daemon.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jul 2006 07:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817718#M24090</guid>
      <dc:creator>Andrea Rossi</dc:creator>
      <dc:date>2006-07-06T07:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817719#M24091</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TARGET=$1&lt;BR /&gt;&lt;BR /&gt;/sbin/iptables -I INPUT -s $TARGET -j DROP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Make target the IP address of the offending user.&lt;BR /&gt;&lt;BR /&gt;The way to block mail is to use the access file. &lt;BR /&gt;&lt;BR /&gt;I can provide you a script that will modify it with relative ease. Interested?&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 06 Jul 2006 08:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817719#M24091</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-06T08:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817720#M24092</link>
      <description>Dear Steven,&lt;BR /&gt;&lt;BR /&gt;You pls give me that script also .&lt;BR /&gt;&lt;BR /&gt;And pls tell me if there is any other way .&lt;BR /&gt;&lt;BR /&gt;I can block users using /etc/pam.d/smtp but unable to revert them back by removing the same entries.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sachin Rajput&lt;BR /&gt;====================</description>
      <pubDate>Sat, 08 Jul 2006 04:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817720#M24092</guid>
      <dc:creator>Sachin_48</dc:creator>
      <dc:date>2006-07-08T04:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817721#M24093</link>
      <description>Probably, you can use SMPT AUTH like in this example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jonfullmer.com/smtpauth/" target="_blank"&gt;http://www.jonfullmer.com/smtpauth/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;To send a mail, users must authenticate using their accounts, so, if yo lock the account with "usermod -L", they won't be able to send mails.</description>
      <pubDate>Mon, 10 Jul 2006 09:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817721#M24093</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-10T09:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: For Blocking Sendmail Users for sending mails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817722#M24094</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sorry I'm late with this, I had to take out my customizations:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;newaliases&lt;BR /&gt;cd /etc/mail&lt;BR /&gt;makemap -r -v hash access.db &amp;lt; access&lt;BR /&gt;makemap -r -v hash domaintable.db &amp;lt; domaintable&lt;BR /&gt;makemap -r -v hash genericstable.db &amp;lt; genericstable&lt;BR /&gt;makemap -r -v hash mailertable.db &amp;lt; mailertable&lt;BR /&gt;makemap -r -v hash virtusertable.db &amp;lt; virtusertable&lt;BR /&gt;cp /etc/mail/sendmail.cf /root&lt;BR /&gt;m4 /etc/mail/sendmail.mc &amp;gt; /etc/mail/sendmail.cf&lt;BR /&gt;&lt;BR /&gt;You place your entries in the access file&lt;BR /&gt;&lt;BR /&gt;192.168.0.10 554 Not permitted,&lt;BR /&gt;192.168.0.20 RELAY&lt;BR /&gt;192.168.0.30 OK&lt;BR /&gt;&lt;BR /&gt;Run the above script and you have blocked sendmail.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 10 Jul 2006 13:40:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-blocking-sendmail-users-for-sending-mails/m-p/3817722#M24094</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-10T13:40:07Z</dc:date>
    </item>
  </channel>
</rss>

