OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
HASH: in main.cf

From: Oliver Marshall (omskillsearch.co.uk)
Date: Tue May 03 2005 - 05:59:04 CDT


I am having a read of
http://www.freesoftwaremagazine.com/free_issues/issue_02/focus_spam_post
fix/ which is proving interesting reading. Im particularly interested in
creating a sender_access file listing all senders that are always
allowed access.

In that page it has

smtpd_recipient_restrictions =
... ,
check_sender_access hash:/usr/local/etc/postfix/sender_access,
... ,

Im assuming that sender_access would take the form

<email address> <tab> <action> <tab> <Message>

So for example

omhotmail.com REJECT Fake account

With valid actions being OK and REJECT.

If that's the case, then I really want to know what the HASH: entry
means before that line? Does it mean that postfix auto-hashes it or does
it mean that its expecting a hash and I have to hash it? If the latter,
what command can I use to hash the file after I edit it ?

Olly