Error trying to Postmap a Hash file

I'm following the instructions (at least I'm trying to) in "Frontline Spam_Defense_for_Mail_in_Mac_OSX.pdf" to restrict the
faking of my IP or domain names.

I added these lines to main.cf :

smtpd helorequired = yes
smtpd helorestrictions = permit saslauthenticated, permit_mynetworks,
check heloaccess hash:/etc/postfix/helo_access, reject non_fqdnhostname,
reject invalidhostname, permit

Then I created the file /etc/postfix/helo_access and added these contents
to the helo_access file:


xxx.yyy.zzz.xxx REJECT You are not me.
mydomain.com REJECT You are not me.
(with extra lines for my additional domains)

The problem is when I attempt to "postmap" the Hash file.

I type the commmand "sudo postmap /etc/postfix/helo_access" and I get:

myserver:~ root# sudo postmap /etc/postfix/helo_access
postmap: fatal: /etc/postfix/main.cf, line 659: missing '=' after attribute name: "check heloaccess hash:/etc/postfix/helo_access, reject non_fqdnhostname, "


Can anyone tell what I'm doing wrong?

Thanks!
Keith

G4 Dual 500 Power PC, Mac OS X (10.4.11), OSX Server

Posted on Jul 9, 2008 7:11 AM

Reply
5 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Error trying to Postmap a Hash file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.