NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where is "hash?"



On Sun, May 05, 2019 at 05:46:35PM -0400, Bob Bernstein wrote:
> Not too long ago a resident of this venue shared a 
> wonderful document describing how to set up sasl for 
> postfix. For today's purpose, here is the pertinent 
> snippet:
> 
> --chomp--
> 
>    /etc/postfix/sasl_passwd (for security set ownership to 
>   root:wheel, permissions to 600) [mx.sdf.org]:submission 
>   sdf_login.sdf.org:smtp_passwd
> 
>      hash /etc/postfix/{generic,sasl_passwd}, then check 
>    and reload configs:
> 
> --chomp--
> 
> You'll note that word, "hash." I don't have a "hash" on 
> mynew NetBSD install, and I cannot determine what I must 
> install to obtain one!
> 
> The document is here:
> https://sdf.org/?tutorials/smtpauth#postfix-netbsd6
> 
> 
> 
> Thank you,
> 
> -- 
> "In our age there is no such thing as ‘keeping out of 
> politics’. All issues are political issues, and politics 
> itself is a mass of lies, evasions, folly, hatred, and 
> schizophrenia."
> 
>  George Orwell "Politics and the English Language" (1946) 


The word "hash" is not a command, it's what happening next in the
tutorial.  Hashing is done by the postmap command.  This is shown on the
lines following that text:

% cd /etc/postfix/
% sudo postmap generic sasl_passwd  # creates generic.db & sasl_passwd.db


Regards,

-- 
Kusalananda
Sweden


Home | Main Index | Thread Index | Old Index