From: Carlos Williams (no email)
Date: Wed Jul 02 2008 - 09:35:03 EDT
On Thu, Jun 19, 2008 at 4:14 PM, mouss <> wrote:
>>> BTW. you can put all your restrictions under smtpd_recipient_restrictions
>>> (it's about STAGE, not about parameter. at RCPT stage, postfix has all
>>> infos
>>> it needs, so you can check client, helo, sender or recipient). this may
>>> be
>>> easier to read and will avoid repeating the permit_mumble things. if you
>>> rewrite this and have a doubt, just post the new config here.
I noticed that since I removed the
"smtpd_helo|client|sender_restrictions" from my main.cf, I am getting
a bit more spam than I was before.
For example here is something that just popped in as I was composing
this message:
Jul 2 08:48:03 mail postfix/smtpd[7486]: warning: 189.6.53.164:
hostname bd0635a4.virtua.com.br verification failed: Name or service
not known
Jul 2 08:48:03 mail postfix/smtpd[7486]: connect from unknown[189.6.53.164]
Jul 2 08:48:19 mail postfix/smtpd[7486]: 1A08415C03B:
client=unknown[189.6.53.164]
Jul 2 08:48:20 mail amavis[7642]: (07642-08) Passed CLEAN,
[189.6.53.164] [189.6.53.164] <> ->
<cwilliams at example dot org>, Message-ID:
<>, mail_id:
DUh2SLzyrBVP, Hits: -, size: 1185, queued_as: E877915C065, 153 ms
Jul 2 08:48:20 mail postfix/smtpd[7486]: disconnect from unknown[189.6.53.164]
Jun 30 00:02:20 mail postfix/smtpd[17357]: warning: 67.132.245.146:
hostname dsl-146.api-digital.com verification failed: Name or service
not known
Jun 30 00:02:20 mail postfix/smtpd[17357]: connect from unknown[67.132.245.146]
Jun 30 00:02:20 mail postfix/smtpd[17357]: NOQUEUE: reject: RCPT from
unknown[67.132.245.146]: 550 <>: Recipient address
rejected: User unknown in local recipient table;
from=<> to=<>
proto=ESMTP helo=<dsl-146.api-digital.com>
Jun 30 00:02:20 mail postfix/smtpd[17357]: disconnect from
unknown[67.132.245.146]
Jul 1 16:49:12 mail postfix/smtpd[8505]: warning: 67.132.245.146:
hostname dsl-146.api-digital.com verification failed: Name or service
not known
Jul 1 16:49:12 mail postfix/smtpd[8505]: connect from unknown[67.132.245.146]
Jul 1 16:49:27 mail postfix/smtpd[8505]: 6A99A15C03B:
client=unknown[67.132.245.146]
Jul 1 16:49:27 mail postfix/smtpd[8505]: disconnect from
unknown[67.132.245.146]
Jul 1 16:49:27 mail amavis[14667]: (14667-05) Passed CLEAN,
[67.132.245.146] [67.132.245.146]
<> -> <>,
Message-ID: <001201c8dbbb$e936f740$92f58443 at brock0vmixh1b9>, mail_id:
fXaU8LKm2NlT, Hits: -, size: 1645, queued_as: B279215C040, 140 ms
Now I don't understand why this message was able to pass through my
main.cf checks since I have the following:
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination,
reject_non_fqdn_sender, reject_non_fqdn_recipient,
reject_unlisted_recipient,
reject_unlisted_sender, reject_invalid_hostname,
reject_non_fqdn_hostname, reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net, reject_rbl_client
safe.dnsbl.sorbs.net, reject_invalid_hostname,
reject_non_fqdn_hostname
Is there something I am over-looking in this case as to why these
messages (spam) are flowing through with more ease. If there is
anymore info I can provide to assist you in helping me tighten this
down without adding useless noise to my main.cf, please let me know.
|
|
|