Most of the spam getting in my system is stamped with localhost.localdomain.
I have tried to use the helo_access file from a few sources. The ones I
tried either didn't work or made more of the spam messages get through.
One of the fixes I tried I got from:
http://www.postfix.org/SMTPD_ACCESS_README.html#danger
Another of my attempts is described here:
http://www.unixwiz.net/techtips/postfix-HELO.html
This one makes a lot of sense and would work great if I could get it
working.
This is what I have:
main.cf:
–------------------------------------
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
check_helo_access hash:/etc/postfix/helo_access,
permit
helo_access file:
–------------------------------------
127.0.0.1 REJECT Please use http://bouncedemail.apollo3.com to resolve
this issue
localhost REJECT Please use http://bouncedemail.apollo3.com to resolve
this issue
apollo3.com REJECT Please use http://bouncedemail.apollo3.com to resolve
this issue
localhost.localdomain REJECT Please use http://bouncedemail.apollo3.com
to resolve this issue
It makes sense, but it doesn't work. I never get the rejection message.
I also have this repeated hundreds of times an hour:
–-----------------------------------
Feb 11 16:40:42 hera5 postfix/smtpd[28038]: 174F71553D7:
client=localhost.localdomain[127.0.0.1]
Feb 11 16:40:42 hera5 postfix/cleanup[32346]: 174F71553D7:
message-id=<[email protected]>
Feb 11 16:40:42 hera5 postfix/smtpd[28038]: disconnect from
localhost.localdomain[127.0.0.1]
Feb 11 16:40:42 hera5 amavis[32622]: (32622-04) Passed CLEAN
{RelayedOpenRelay}, [72.9.103.50]:5850 [72.9.103.50]
<bounce+a=ACCOUNT2-c=021114CHRISFAULKNERE-e=criterion=apollo3....@am0.net>
-> <[email protected]>, Queue-ID: 886561514D8, Message-ID:
<[email protected]>, mail_id:
mf2_uVscaH5z, Hits: -1.901, size: 7991, queued_as: 174F71553D7, 2445 ms
Feb 11 16:40:42 hera5 postfix/smtp[4726]: 886561514D8:
to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.5,
delays=1.1/0.01/0/2.4, 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 174F71553D7)
Feb 11 16:40:42 hera5 postfix/qmgr[28029]: 174F71553D7:
from=<bounce+a=ACCOUNT2-c=021114CHRISFAULKNERE-e=criterion=apollo3....@am0.net>,
size=8452, nrcpt=1 (queue active)
Feb 11 16:40:42 hera5 postfix/qmgr[28029]: 886561514D8: removed
Feb 11 16:40:42 hera5 postfix/local[4712]: 174F71553D7:
to=<[email protected]>, relay=local, delay=0.27,
delays=0.2/0.03/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
Feb 11 16:40:42 hera5 postfix/qmgr[28029]: 174F71553D7: removed
Hopefully someone can advise me of what I might be missing to make the
configuration work, or some other alternative.
Thanks!
-- L. James
--
L. D. James
[email protected]
www.apollo3.com/~ljames