On 02/11/2014 05:39 PM, Wietse Venema wrote:
permit_mynetworks,
>check_helo_access hash:/etc/postfix/helo_access,
>permit
Thanks, Wietse.
I had white spaces. I had tried to have it exactly like the example in
the link I posted. I see I made a mistake in my post. But the main.cf
has the spaces. This is the way it is in the main.cf:
I have this in the entry:
-----------------------------------------
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
check_helo_access hash:/etc/postfix/helo_access,
permit
I have this in the log:
-----------------------------------------
Feb 11 21:42:41 hera5 postfix/smtpd[4802]: connect from
localhost.localdomain[127.0.0.1]
Feb 11 21:42:41 hera5 postfix/smtpd[4802]: 05AAE155460:
client=localhost.localdomain[127.0.0.1]
Feb 11 21:42:41 hera5 postfix/cleanup[4796]: 05AAE155460:
message-id=<[email protected]>
Feb 11 21:42:41 hera5 postfix/smtpd[4802]: disconnect from
localhost.localdomain[127.0.0.1]
Feb 11 21:42:41 hera5 amavis[17791]: (17791-03) Passed CLEAN
{RelayedOpenRelay}, [216.244.76.231]:33338 [216.244.76.231]
<[email protected]> -> <[email protected]>, Queue-ID: D26D915544D,
Message-ID: <[email protected]>, mail_id:
Z-PG3reqDWKm, Hits: -1.714, size: 14271, queued_as: 05AAE155460, 3852 ms
Feb 11 21:42:41 hera5 postfix/smtp[4797]: D26D915544D:
to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.2,
delays=2.3/0/0/3.9, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 05AAE155460)
Feb 11 21:42:41 hera5 postfix/qmgr[4593]: 05AAE155460:
from=<[email protected]>, size=14750, nrcpt=1 (queue active)
Feb 11 21:42:41 hera5 postfix/qmgr[4593]: D26D915544D: removed
Feb 11 21:42:41 hera5 postfix/local[4803]: 05AAE155460:
to=<[email protected]>, relay=local, delay=0.31,
delays=0.23/0.04/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
I ran the postmap -q test and got the desired output. But I don't get
that output from the postfix server.
It might have something to do with the permit_mynetworks coming before
the check_helo_access function.
Your test parameter and feedback is helping me to believe I'm on the
right track.
-- L. James
--
L. D. James
[email protected]
www.apollo3.com/~ljames