Create .htaccess restricted login
December 9th, 2009
No comments
Categories: .htaccess
Click on the header link in the mail server queue:
Received: (qmail 30501 invoked by uid 10077); 3 Dec 2009 21:47:42 -0500 Date: 3 Dec 2009 21:47:42 -0500 Message-ID: <20091204024742.30498.qmail@hostserver.com> To: email@domain.com Subject: This is a test. MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: <user@domain.com>
It says its invoked by uid 10077 which corresponds to the account on the /etc/password file:
-bash-3.2# more /etc/passwd | grep 10077 username:x:10077:2522::/var/www/vhosts/domain.com:/bin/false
That rule will accept Postini’s block. Then, to block the rest of the email:
It is important that you have the rules in this order, otherwise all email will be denied. Ensure that the ALLOW is above the DENY in the display list when you are done, then commit the changes.
Source: http://www.experts-exchange.com/OS/Linux/Q_24418022.html