Hey all,

I've currently got this wanker trying to deliver some spam to me
which my postfix is rejecting with code 450.  Problem is this
idiot's mail program doesn't seem to get the message and keeps
trying to deliver it.  How can I change the 450 into a
550 "bugger off" type message?

Oct  9 21:05:20 gw postfix/smtpd[9229]: connect from
unknown[203.202.153.53]
Oct  9 21:05:21 gw postfix/smtpd[9229]: EBFDB13731:
client=unknown[203.202.153.53]
Oct  9 21:05:21 gw postfix/smtpd[9229]: reject: RCPT from
unknown[203.202.153.53]: 450 Client host rejected: cannot find your
hostname, [203.202.153.53]; from=<[EMAIL PROTECTED]>
to=<[EMAIL PROTECTED]>
Oct  9 21:05:26 gw postfix/smtpd[9229]: disconnect from
unknown[203.202.153.53]

my main.cf has stuff like:

# Reject the request when the client IP address has no PTR record in the
DNS
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
# reject the request when the sender mail address has no DNS A or MX
record
smtpd_sender_restrictions = reject_unknown_sender_domain

Ta,
Dave.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to